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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1017bcf2
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
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], 0x101975f4
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 0x10017733
mov ecx, dword [ebx + 0x25c]
sub ecx, eax
sar ecx, 2
je 0x10017733
push 2
mov ecx, ebx
call fcn.10006c60
mov esi, dword [ebx + 0x268]
cmp esi, dword [ebx + 0x26c]
lea edi, [ebx + 0x264]
mov dword [esp + 0x2c], eax
jbe 0x10016cee
call fcn.1015828d
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 0x10016d13
call fcn.1015828d
cmp edi, edi
je 0x10016d1c
call fcn.1015828d
cmp esi, dword [esp + 0x30]
je 0x1001720e
cmp dword [esp + 0x2c], 0
je 0x100171ef
mov edi, dword [esp + 0x10]
cmp esi, dword [edi + 0x26c]
jb 0x10016d42
call fcn.1015828d
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x100171ef
jg 0x10016d64
mov edx, edi
cmp ecx, dword [edx + 0xe8]
jb 0x100171ef
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp eax, dword [ecx + 0x208]
jae 0x100171ef
add edi, 0x264
cmp esi, dword [edi + 8]
jb 0x10016d9a
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10016d9a
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10016d9a
call fcn.1015828d
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.10006da0
cmp dword [esp + 0x20], ebx
mov edx, dword [edi + 4]
mov dword [esp + 0x90], edx
je 0x10016e3c
cmp dword [esp + 0x20], edi
je 0x10016e41
call fcn.1015828d
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x90]
je 0x10016ff7
cmp dword [esp + 0x20], ebx
jne 0x10016e5d
call fcn.1015828d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 4]
jne 0x10016e6f
call fcn.1015828d
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 0x10016e87
call fcn.1015828d
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 4]
jne 0x10016e95
call fcn.1015828d
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x10016ea2
call fcn.1015828d
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.10003d50
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 0x10016ee4
call fcn.1015828d
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10016ef5
call fcn.1015828d
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10016f01
cmp eax, ebx
je 0x10016f06
call fcn.1015828d
cmp edi, dword [esp + 0x30]
jne 0x10016f32
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 4]
jne 0x10016f1e
call fcn.1015828d
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.1000e010
jmp 0x1001715e
cmp dword [esp + 0x14], 0
jne 0x10016f3e
call fcn.1015828d
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 8]
jb 0x10016f4c
call fcn.1015828d
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10016f5f
call fcn.1015828d
mov cl, byte [edi + 0x20]
cmp cl, byte [esi + 0x1c]
jne 0x10016f92
lea ecx, [esp + 0x94]
call fcn.100341f0
lea ecx, [esp + 0x38]
lea ebx, [eax + 0x28]
call fcn.100341f0
mov edx, dword [ebx]
cmp edx, dword [eax + 0x20]
jne 0x10016f92
mov ecx, dword [ebx + 4]
cmp ecx, dword [eax + 0x24]
je 0x1001715e
mov ebx, dword [esp + 0x10]
add ebx, 0x264
cmp esi, dword [ebx + 8]
jb 0x10016fa6
call fcn.1015828d
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 8]
jb 0x10016fb4
call fcn.1015828d
mov al, byte [esi + 0x1c]
mov byte [edi + 0x20], al
cmp esi, dword [ebx + 8]
jb 0x10016fc4
call fcn.1015828d
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 8]
jb 0x10016fd2
call fcn.1015828d
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 0x10016fec
call fcn.1015828d
mov dword [edi], 0
jmp 0x1001715e
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.1000d660
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.1000e0b0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.1000e4b0
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.1000d9a0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 4
call fcn.10016540
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x1001709b
push eax
call fcn.10157f3b
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 0x100170be
push eax
call fcn.10157f3b
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 0x100170de
push eax
call fcn.10157f3b
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 0x10017107
push eax
call fcn.10157f3b
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 0x1001712d
push eax
call fcn.10157f3b
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 0x10017152
push eax
call fcn.10157f3b
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 0x10017190
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10017190
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10017190
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10017190
call fcn.1015828d
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.10014320
cmp dword [esp + 0xe4], 0x10
jb 0x100171ef
mov edx, dword [esp + 0xd0]
push edx
call fcn.10157f3b
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10017202
call fcn.1015828d
mov ebx, dword [esp + 0x10]
add esi, 0x28
jmp 0x10016cf2
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x1001721f
call fcn.1015828d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x1001722c
call fcn.1015828d
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x10017245
mov ecx, dword [edi + 8]
push esi
push ecx
push eax
call fcn.100061c0
add esp, 0xc
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x278]
cmp esi, dword [ebx + 0x27c]
jbe 0x10017258
call fcn.1015828d
mov eax, dword [ebx + 0x27c]
cmp dword [ebx + 0x278], eax
mov dword [esp + 0x30], eax
jbe 0x10017270
call fcn.1015828d
nop
lea edi, [ebx + 0x274]
test edi, edi
je 0x1001727e
cmp edi, edi
je 0x10017283
call fcn.1015828d
cmp esi, dword [esp + 0x30]
je 0x100176e8
cmp dword [esp + 0x2c], 0
je 0x100176bf
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.10006da0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x100172c9
cmp ebx, edi
je 0x100172ce
call fcn.1015828d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add eax, 0x274
cmp edx, dword [esp + 0x90]
je 0x100174dd
test eax, eax
jne 0x100172f1
call fcn.1015828d
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x10017304
call fcn.1015828d
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 0x10017376
call fcn.1015828d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10017384
call fcn.1015828d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x1001739c
call fcn.1015828d
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x100173aa
call fcn.1015828d
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x100173bb
call fcn.1015828d
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.10003d50
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ebx + 4]
jne 0x100173eb
call fcn.1015828d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x100173fc
call fcn.1015828d
mov eax, edi
test eax, eax
je 0x10017406
cmp eax, edi
je 0x1001740b
call fcn.1015828d
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], ecx
je 0x1001743a
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10017423
call fcn.1015828d
mov eax, dword [esp + 0x3c]
push eax
mov eax, edi
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
call fcn.100079b0
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x1001744d
call fcn.1015828d
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 0x100174c4
call fcn.1015828d
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
call fcn.1000e010
jmp 0x100176bf
test eax, eax
jne 0x100174e6
call fcn.1015828d
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x100174f9
call fcn.1015828d
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.1000d660
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.1000e0b0
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0xf0]
push edx
call fcn.1000e4b0
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.1000d9a0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 8
call fcn.10016540
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x100175fc
push eax
call fcn.10157f3b
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 0x1001761f
push eax
call fcn.10157f3b
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 0x1001763f
push eax
call fcn.10157f3b
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 0x10017668
push eax
call fcn.10157f3b
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 0x1001768e
push eax
call fcn.10157f3b
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 0x100176b3
push eax
call fcn.10157f3b
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 0x100176d2
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x100176dc
call fcn.1015828d
mov ebx, dword [esp + 0x10]
add esi, 0x1c
jmp 0x10017270
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x100176f9
call fcn.1015828d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10017706
call fcn.1015828d
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
je 0x10017733
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.100051c0
add esp, 0x18
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x1c4]
cmp esi, dword [ebx + 0x1c8]
lea edi, [ebx + 0x1c0]
jbe 0x1001774c
call fcn.1015828d
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
jbe 0x10017767
call fcn.1015828d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1001776f
cmp eax, edi
je 0x10017778
call fcn.1015828d
mov eax, dword [esp + 0x30]
cmp esi, dword [esp + 0x1c]
je 0x10017cab
test eax, eax
jne 0x1001778f
call fcn.1015828d
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x10017799
call fcn.1015828d
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.10006ae0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10017c89
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x100177f3
call fcn.1015828d
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x10017c89
jg 0x10017813
cmp ecx, dword [ebx + 0xe8]
jb 0x10017c89
mov ecx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x208]
jae 0x10017c89
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.10006da0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x10017855
cmp ebx, edi
je 0x1001785a
call fcn.1015828d
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x90]
je 0x10017a29
mov edi, dword [esp + 0x30]
cmp esi, dword [edi + 8]
jb 0x10017883
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10017883
call fcn.1015828d
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 0x100178f7
call fcn.1015828d
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10017905
call fcn.1015828d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001791d
call fcn.1015828d
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x1001792b
call fcn.1015828d
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x10017938
call fcn.1015828d
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.10003d50
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ecx + 4]
jne 0x1001796a
call fcn.1015828d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001797b
call fcn.1015828d
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10017987
cmp eax, edi
je 0x1001798c
call fcn.1015828d
cmp ebx, dword [esp + 0x20]
jne 0x100179b8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x100179a4
call fcn.1015828d
lea ecx, [esp + 0x11c]
push ecx
mov ecx, edi
call fcn.1000e010
jmp 0x10017c15
cmp dword [esp + 0x38], 0
jne 0x100179c4
call fcn.1015828d
mov edx, dword [esp + 0x38]
cmp ebx, dword [edx + 8]
jb 0x100179d2
call fcn.1015828d
mov edi, dword [esp + 0x10]
add edi, 0x1c0
cmp esi, dword [edi + 8]
jb 0x100179e6
call fcn.1015828d
mov al, byte [ebx + 0x20]
cmp al, byte [esi + 0x1c]
je 0x10017c15
cmp esi, dword [edi + 8]
jb 0x100179fc
call fcn.1015828d
mov ecx, dword [esp + 0x38]
cmp ebx, dword [ecx + 8]
jb 0x10017a0a
call fcn.1015828d
mov dl, byte [esi + 0x1c]
mov eax, dword [esp + 0x38]
mov byte [ebx + 0x20], dl
cmp ebx, dword [eax + 8]
jb 0x10017a1e
call fcn.1015828d
mov dword [ebx], 0
jmp 0x10017c15
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 0x10017a4d
call fcn.1015828d
mov edx, dword [esp + 0x30]
cmp esi, dword [edx + 8]
jb 0x10017a5b
call fcn.1015828d
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.1000d660
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.1000e0b0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.1000e4b0
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.1000d9a0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 0xc
call fcn.10016540
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10017b52
push eax
call fcn.10157f3b
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 0x10017b75
push eax
call fcn.10157f3b
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 0x10017b95
push eax
call fcn.10157f3b
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 0x10017bbe
push eax
call fcn.10157f3b
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 0x10017be4
push eax
call fcn.10157f3b
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 0x10017c09
push eax
call fcn.10157f3b
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 0x10017c33
call fcn.1015828d
cmp esi, dword [edi + 8]
jb 0x10017c33
call fcn.1015828d
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.10014320
cmp dword [esp + 0x7c], 0x10
jb 0x10017c89
mov edx, dword [esp + 0x68]
push edx
call fcn.10157f3b
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 0x10017ca3
call fcn.1015828d
add esi, 0x28
jmp 0x10017763
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x28], eax
jbe 0x10017cbc
call fcn.1015828d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
mov dword [esp + 0x1c], esi
jbe 0x10017ccd
call fcn.1015828d
cmp esi, dword [esp + 0x28]
je 0x10017d2a
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.10003f10
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 0x10017d43
call fcn.1015828d
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
jbe 0x10017d60
call fcn.1015828d
mov eax, dword [esp + 0x38]
mov edi, edi
test eax, eax
je 0x10017d68
cmp eax, edi
je 0x10017d71
call fcn.1015828d
mov eax, dword [esp + 0x38]
cmp esi, dword [esp + 0x1c]
je 0x10018258
test eax, eax
jne 0x10017d88
call fcn.1015828d
mov eax, dword [esp + 0x38]
cmp esi, dword [eax + 8]
jb 0x10017d92
call fcn.1015828d
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.10006ae0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10018236
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.10006da0
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x90], eax
je 0x10017e0f
cmp ebx, edi
je 0x10017e14
call fcn.1015828d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x1d0
cmp ecx, dword [esp + 0x90]
je 0x10018033
cmp esi, dword [eax + 8]
jb 0x10017e38
call fcn.1015828d
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 0x10017eaa
call fcn.1015828d
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x10017eb8
call fcn.1015828d
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10017ed0
call fcn.1015828d
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10017ede
call fcn.1015828d
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x10017eef
call fcn.1015828d
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.10003d50
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, dword [ebx + 4]
mov dword [esp + 0x98], eax
jne 0x10017f25
call fcn.1015828d
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x10017f36
call fcn.1015828d
mov eax, edi
test eax, eax
je 0x10017f40
cmp eax, edi
je 0x10017f45
call fcn.1015828d
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x98], eax
je 0x10017f90
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10017f60
call fcn.1015828d
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.10005160
add esp, 0x18
add dword [edi + 8], 0xffffffd0
mov eax, dword [esp + 0x10]
add eax, 0x1d0
cmp esi, dword [eax + 8]
jb 0x10017fa3
call fcn.1015828d
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 0x1001801a
call fcn.1015828d
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x9c]
push edx
add ecx, 0x20
call fcn.1000e010
jmp 0x10018203
cmp esi, dword [eax + 8]
jb 0x1001803d
call fcn.1015828d
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.1000d660
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.1000e0b0
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.1000e4b0
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.1000d9a0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 0x10
call fcn.10016540
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10018140
push eax
call fcn.10157f3b
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 0x10018163
push eax
call fcn.10157f3b
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 0x10018183
push eax
call fcn.10157f3b
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 0x100181ac
push eax
call fcn.10157f3b
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 0x100181d2
push eax
call fcn.10157f3b
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 0x100181f7
push eax
call fcn.10157f3b
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 0x10018216
call fcn.1015828d
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.10014320
cmp dword [esp + 0x7c], 0x10
jb 0x10018236
mov edx, dword [esp + 0x68]
push edx
call fcn.10157f3b
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 0x10018250
call fcn.1015828d
add esi, 0x1c
jmp 0x10017d5a
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x10018265
call fcn.1015828d
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10018272
call fcn.1015828d
push ebx
push edi
push esi
push edi
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.10007a30
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.101586e7
mov esp, ebp
pop ebp
ret