Function at 0x10014800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1017e122
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x198]
mov dword [esp + 0x118], eax
add eax, 4
xor esi, esi
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x118], 0x10199614
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x258]
cmp eax, esi
mov dword [esp + 0x160], esi
je 0x10015303
mov ecx, dword [ebx + 0x25c]
sub ecx, eax
sar ecx, 2
je 0x10015303
push 2
mov ecx, ebx
call fcn.10005170
mov esi, dword [ebx + 0x268]
cmp esi, dword [ebx + 0x26c]
lea edi, [ebx + 0x264]
mov dword [esp + 0x2c], eax
jbe 0x100148be
call fcn.1015988d
mov dword [esp + 0x38], edi
mov eax, dword [ebx + 0x26c]
cmp dword [ebx + 0x268], eax
lea edi, [ebx + 0x264]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], eax
jbe 0x100148e3
call fcn.1015988d
cmp edi, edi
je 0x100148ec
call fcn.1015988d
cmp esi, dword [esp + 0x30]
je 0x10014dde
cmp dword [esp + 0x2c], 0
je 0x10014dbf
mov edi, dword [esp + 0x10]
cmp esi, dword [edi + 0x26c]
jb 0x10014912
call fcn.1015988d
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x10014dbf
jg 0x10014934
mov edx, edi
cmp ecx, dword [edx + 0xe8]
jb 0x10014dbf
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp eax, dword [ecx + 0x208]
jae 0x10014dbf
add edi, 0x264
cmp esi, dword [edi + 8]
jb 0x1001496a
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x1001496a
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x1001496a
call fcn.1015988d
mov edx, dword [esi]
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov cl, byte [esi + 0x1c]
add dword [esp + 0x28], 1
mov dword [esp + 0x120], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x124], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x130], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x144], eax
mov byte [esp + 0x13c], cl
mov dword [esp + 0x148], edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x138], edx
mov edx, dword [esi + 0x18]
add edi, 0x178
push ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x124], ebx
mov dword [esp + 0x140], edx
call fcn.100052b0
cmp dword [esp + 0x20], ebx
mov edx, dword [edi + 4]
mov dword [esp + 0x90], edx
je 0x10014a0c
cmp dword [esp + 0x20], edi
je 0x10014a11
call fcn.1015988d
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x90]
je 0x10014bc7
cmp dword [esp + 0x20], ebx
jne 0x10014a2d
call fcn.1015988d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 4]
jne 0x10014a3f
call fcn.1015988d
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x18]
cmp dword [edi + 0x14], eax
lea ebx, [edi + 0x10]
mov dword [esp + 0x30], eax
jbe 0x10014a57
call fcn.1015988d
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 4]
jne 0x10014a65
call fcn.1015988d
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x10014a72
call fcn.1015988d
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x11c]
push ecx
push edx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call fcn.10001ef0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, eax
add esp, 0xc
cmp ecx, dword [edx + 4]
mov eax, ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
jne 0x10014ab4
call fcn.1015988d
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10014ac5
call fcn.1015988d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10014ad1
cmp eax, ebx
je 0x10014ad6
call fcn.1015988d
cmp edi, dword [esp + 0x30]
jne 0x10014b02
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 4]
jne 0x10014aee
call fcn.1015988d
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.1000be90
jmp 0x10014d2e
cmp dword [esp + 0x14], 0
jne 0x10014b0e
call fcn.1015988d
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 8]
jb 0x10014b1c
call fcn.1015988d
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10014b2f
call fcn.1015988d
mov cl, byte [edi + 0x20]
cmp cl, byte [esi + 0x1c]
jne 0x10014b62
lea ecx, [esp + 0x94]
call fcn.10021ff0
lea ecx, [esp + 0x38]
lea ebx, [eax + 0x28]
call fcn.10021ff0
mov edx, dword [ebx]
cmp edx, dword [eax + 0x20]
jne 0x10014b62
mov ecx, dword [ebx + 4]
cmp ecx, dword [eax + 0x24]
je 0x10014d2e
mov ebx, dword [esp + 0x10]
add ebx, 0x264
cmp esi, dword [ebx + 8]
jb 0x10014b76
call fcn.1015988d
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 8]
jb 0x10014b84
call fcn.1015988d
mov al, byte [esi + 0x1c]
mov byte [edi + 0x20], al
cmp esi, dword [ebx + 8]
jb 0x10014b94
call fcn.1015988d
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 8]
jb 0x10014ba2
call fcn.1015988d
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x2c], eax
cmp edi, dword [ecx + 8]
jb 0x10014bbc
call fcn.1015988d
mov dword [edi], 0
jmp 0x10014d2e
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea edx, [esp + 0x11c]
push edx
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x168], 1
call fcn.1000b4b0
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x188], 2
call fcn.1000bf30
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.1000c2a0
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 3
mov dword [esp + 0x68], edx
call fcn.1000b7f0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 4
call fcn.100141c0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10014c6b
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10014c8e
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x10014cae
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0xd4]
cmp eax, ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
je 0x10014cd7
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x10014cfd
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x160], 0
je 0x10014d22
push eax
call fcn.10159534
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x10]
add edi, 0x264
cmp esi, dword [edi + 8]
jb 0x10014d60
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10014d60
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10014d60
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10014d60
call fcn.1015988d
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xf4], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], eax
call fcn.10012070
cmp dword [esp + 0xe4], 0x10
jb 0x10014dbf
mov edx, dword [esp + 0xd0]
push edx
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10014dd2
call fcn.1015988d
mov ebx, dword [esp + 0x10]
add esi, 0x28
jmp 0x100148c2
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10014def
call fcn.1015988d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10014dfc
call fcn.1015988d
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x10014e15
mov ecx, dword [edi + 8]
push esi
push ecx
push eax
call fcn.100045c0
add esp, 0xc
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x278]
cmp esi, dword [ebx + 0x27c]
jbe 0x10014e28
call fcn.1015988d
mov eax, dword [ebx + 0x27c]
cmp dword [ebx + 0x278], eax
mov dword [esp + 0x30], eax
jbe 0x10014e40
call fcn.1015988d
nop
lea edi, [ebx + 0x274]
test edi, edi
je 0x10014e4e
cmp edi, edi
je 0x10014e53
call fcn.1015988d
cmp esi, dword [esp + 0x30]
je 0x100152b8
cmp dword [esp + 0x2c], 0
je 0x1001528f
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
add edi, 0x178
push eax
mov ecx, edi
call fcn.100052b0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x10014e99
cmp ebx, edi
je 0x10014e9e
call fcn.1015988d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add eax, 0x274
cmp edx, dword [esp + 0x90]
je 0x100150ad
test eax, eax
jne 0x10014ec1
call fcn.1015988d
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x10014ed4
call fcn.1015988d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x124], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x138], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], edx
mov byte [esp + 0x13c], 0x64
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
jne 0x10014f46
call fcn.1015988d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10014f54
call fcn.1015988d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x10014f6c
call fcn.1015988d
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10014f7a
call fcn.1015988d
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x10014f8b
call fcn.1015988d
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x11c]
push ecx
push edx
push eax
mov dword [esp + 0x48], eax
call fcn.10001ef0
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ebx + 4]
jne 0x10014fbb
call fcn.1015988d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x10014fcc
call fcn.1015988d
mov eax, edi
test eax, eax
je 0x10014fd6
cmp eax, edi
je 0x10014fdb
call fcn.1015988d
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], ecx
je 0x1001500a
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10014ff3
call fcn.1015988d
mov eax, dword [esp + 0x3c]
push eax
mov eax, edi
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
call fcn.10006020
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x1001501d
call fcn.1015988d
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x130], eax
or eax, 0xffffffff
mov dword [esp + 0x120], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
mov dword [esp + 0x128], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
mov byte [esp + 0x13c], 0x64
jne 0x10015094
call fcn.1015988d
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
call fcn.1000be90
jmp 0x1001528f
test eax, eax
jne 0x100150b6
call fcn.1015988d
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x100150c9
call fcn.1015988d
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x130], eax
or eax, 0xffffffff
mov dword [esp + 0x120], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x128], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x18]
push eax
mov dword [esp + 0x138], ecx
xor ebx, ebx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x140], edx
mov byte [esp + 0x144], 0x64
call fcn.1000b4b0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x188], 6
call fcn.1000bf30
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0xf0]
push edx
call fcn.1000c2a0
add esp, 0x28
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 7
call fcn.1000b7f0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 8
call fcn.100141c0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x100151cc
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x100151ef
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x1001520f
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0xd4]
cmp eax, ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
je 0x10015238
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x1001525e
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x160], 0
je 0x10015283
push eax
call fcn.10159534
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x10]
add edi, 0x274
test edi, edi
jne 0x100152a2
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x100152ac
call fcn.1015988d
mov ebx, dword [esp + 0x10]
add esi, 0x1c
jmp 0x10014e40
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x100152c9
call fcn.1015988d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x100152d6
call fcn.1015988d
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
je 0x10015303
mov eax, dword [edi + 8]
mov byte [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x58]
push edx
push esi
push eax
push ecx
call fcn.10003450
add esp, 0x18
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x1c4]
cmp esi, dword [ebx + 0x1c8]
lea edi, [ebx + 0x1c0]
jbe 0x1001531c
call fcn.1015988d
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
jbe 0x10015337
call fcn.1015988d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1001533f
cmp eax, edi
je 0x10015348
call fcn.1015988d
mov eax, dword [esp + 0x30]
cmp esi, dword [esp + 0x1c]
je 0x1001587b
test eax, eax
jne 0x1001535f
call fcn.1015988d
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x10015369
call fcn.1015988d
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0xf4]
mov dword [esp + 0x104], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x104], eax
call fcn.10004ff0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10015859
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x100153c3
call fcn.1015988d
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x10015859
jg 0x100153e3
cmp ecx, dword [ebx + 0xe8]
jb 0x10015859
mov ecx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x208]
jae 0x10015859
add dword [esp + 0x28], 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
lea edi, [ebx + 0x178]
push eax
mov ecx, edi
call fcn.100052b0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x10015425
cmp ebx, edi
je 0x1001542a
call fcn.1015988d
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x90]
je 0x100155f9
mov edi, dword [esp + 0x30]
cmp esi, dword [edi + 8]
jb 0x10015453
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10015453
call fcn.1015988d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x124], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x130], ecx
mov cl, byte [esi + 0x1c]
mov dword [esp + 0x138], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x134], edx
mov byte [esp + 0x13c], cl
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
jne 0x100154c7
call fcn.1015988d
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x100154d5
call fcn.1015988d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x100154ed
call fcn.1015988d
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x100154fb
call fcn.1015988d
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x10015508
call fcn.1015988d
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x11c]
push ecx
push edx
push ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
call fcn.10001ef0
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ecx + 4]
jne 0x1001553a
call fcn.1015988d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001554b
call fcn.1015988d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10015557
cmp eax, edi
je 0x1001555c
call fcn.1015988d
cmp ebx, dword [esp + 0x20]
jne 0x10015588
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x10015574
call fcn.1015988d
lea ecx, [esp + 0x11c]
push ecx
mov ecx, edi
call fcn.1000be90
jmp 0x100157e5
cmp dword [esp + 0x38], 0
jne 0x10015594
call fcn.1015988d
mov edx, dword [esp + 0x38]
cmp ebx, dword [edx + 8]
jb 0x100155a2
call fcn.1015988d
mov edi, dword [esp + 0x10]
add edi, 0x1c0
cmp esi, dword [edi + 8]
jb 0x100155b6
call fcn.1015988d
mov al, byte [ebx + 0x20]
cmp al, byte [esi + 0x1c]
je 0x100157e5
cmp esi, dword [edi + 8]
jb 0x100155cc
call fcn.1015988d
mov ecx, dword [esp + 0x38]
cmp ebx, dword [ecx + 8]
jb 0x100155da
call fcn.1015988d
mov dl, byte [esi + 0x1c]
mov eax, dword [esp + 0x38]
mov byte [ebx + 0x20], dl
cmp ebx, dword [eax + 8]
jb 0x100155ee
call fcn.1015988d
mov dword [ebx], 0
jmp 0x100157e5
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x30]
cmp esi, dword [ecx + 8]
mov byte [esp + 0x160], 9
jb 0x1001561d
call fcn.1015988d
mov edx, dword [esp + 0x30]
cmp esi, dword [edx + 8]
jb 0x1001562b
call fcn.1015988d
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov al, byte [esi + 0x1c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xb4], edx
lea edx, [esp + 0x9c]
mov byte [esp + 0xbc], al
or eax, 0xffffffff
push edx
mov dword [esp + 0xbc], ecx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.1000b4b0
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x188], 0xa
call fcn.1000bf30
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.1000c2a0
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 0xb
mov dword [esp + 0x68], edx
call fcn.1000b7f0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 0xc
call fcn.100141c0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10015722
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10015745
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x134]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x10015765
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x124]
cmp eax, ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
je 0x1001578e
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
je 0x100157b4
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x160], 0
je 0x100157d9
push eax
call fcn.10159534
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x10]
add edi, 0x1c0
cmp esi, dword [edi + 8]
jb 0x10015803
call fcn.1015988d
cmp esi, dword [edi + 8]
jb 0x10015803
call fcn.1015988d
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0xcc], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
call fcn.10012070
cmp dword [esp + 0x7c], 0x10
jb 0x10015859
mov edx, dword [esp + 0x68]
push edx
call fcn.10159534
add esp, 4
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x1c0]
mov eax, edi
cmp esi, dword [eax + 8]
mov dword [esp + 0x30], eax
jb 0x10015873
call fcn.1015988d
add esi, 0x28
jmp 0x10015333
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x28], eax
jbe 0x1001588c
call fcn.1015988d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
mov dword [esp + 0x1c], esi
jbe 0x1001589d
call fcn.1015988d
cmp esi, dword [esp + 0x28]
je 0x100158fa
mov esi, dword [edi + 8]
mov ecx, esi
sub ecx, dword [esp + 0x28]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx*8]
mov dword [esp + 0x30], edx
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
push esi
push edx
call fcn.100020b0
mov eax, dword [esp + 0x48]
add esp, 0x18
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x1d4]
cmp esi, dword [ebx + 0x1d8]
lea edi, [ebx + 0x1d0]
jbe 0x10015913
call fcn.1015988d
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
jbe 0x10015930
call fcn.1015988d
mov eax, dword [esp + 0x38]
mov edi, edi
test eax, eax
je 0x10015938
cmp eax, edi
je 0x10015941
call fcn.1015988d
mov eax, dword [esp + 0x38]
cmp esi, dword [esp + 0x1c]
je 0x10015e28
test eax, eax
jne 0x10015958
call fcn.1015988d
mov eax, dword [esp + 0x38]
cmp esi, dword [eax + 8]
jb 0x10015962
call fcn.1015988d
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], edx
mov edx, dword [esi + 0x10]
lea eax, [esp + 0xcc]
mov dword [esp + 0xd8], ecx
push eax
mov ecx, ebx
mov dword [esp + 0xe0], edx
call fcn.10004ff0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10015e06
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
add edi, 0x178
push edx
mov ecx, edi
call fcn.100052b0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x90], eax
je 0x100159df
cmp ebx, edi
je 0x100159e4
call fcn.1015988d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x1d0
cmp ecx, dword [esp + 0x90]
je 0x10015c03
cmp esi, dword [eax + 8]
jb 0x10015a08
call fcn.1015988d
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0xb0], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0x64
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
jne 0x10015a7a
call fcn.1015988d
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x10015a88
call fcn.1015988d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10015aa0
call fcn.1015988d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10015aae
call fcn.1015988d
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x10015abf
call fcn.1015988d
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x9c]
push edx
push ecx
push eax
mov dword [esp + 0xa4], eax
call fcn.10001ef0
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, dword [ebx + 4]
mov dword [esp + 0x98], eax
jne 0x10015af5
call fcn.1015988d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x10015b06
call fcn.1015988d
mov eax, edi
test eax, eax
je 0x10015b10
cmp eax, edi
je 0x10015b15
call fcn.1015988d
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x98], eax
je 0x10015b60
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10015b30
call fcn.1015988d
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push eax
push edx
add eax, 0x30
push eax
call fcn.100033f0
add esp, 0x18
add dword [edi + 8], 0xffffffd0
mov eax, dword [esp + 0x10]
add eax, 0x1d0
cmp esi, dword [eax + 8]
jb 0x10015b73
call fcn.1015988d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xb8], eax
or eax, 0xffffffff
cmp ecx, dword [ebx + 4]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb4], edx
mov byte [esp + 0xbc], 0x64
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
jne 0x10015bea
call fcn.1015988d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x9c]
push edx
add ecx, 0x20
call fcn.1000be90
jmp 0x10015dd3
cmp esi, dword [eax + 8]
jb 0x10015c0d
call fcn.1015988d
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xbc], eax
or eax, 0xffffffff
xor ebx, ebx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xbc], edx
mov byte [esp + 0xc4], 0x64
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.1000b4b0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x188], 0xe
call fcn.1000bf30
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.1000c2a0
add esp, 0x28
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 0xf
call fcn.1000b7f0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 0x10
call fcn.100141c0
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10015d10
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10015d33
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x134]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x10015d53
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x124]
cmp eax, ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
je 0x10015d7c
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
je 0x10015da2
push eax
call fcn.10159534
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x160], 0
je 0x10015dc7
push eax
call fcn.10159534
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x10]
add eax, 0x1d0
cmp esi, dword [eax + 8]
jb 0x10015de6
call fcn.1015988d
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.10012070
cmp dword [esp + 0x7c], 0x10
jb 0x10015e06
mov edx, dword [esp + 0x68]
push edx
call fcn.10159534
add esp, 4
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x1d0]
mov eax, edi
cmp esi, dword [eax + 8]
mov dword [esp + 0x38], eax
jb 0x10015e20
call fcn.1015988d
add esi, 0x1c
jmp 0x1001592a
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x10015e35
call fcn.1015988d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10015e42
call fcn.1015988d
push ebx
push edi
push esi
push edi
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.100060d0
mov ecx, dword [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.10159cce
mov esp, ebp
pop ebp
ret