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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100985c4
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 0x5c]
push eax
mov dword [esp + 0x74], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x88], 0
jne 0x100708fc
push dword [esi + 0x7c]
lea eax, [esp + 0x5c]
push eax
call fcn.10024cb2
push 0x10016db0
lea eax, [esp + 0x60]
xor ebx, ebx
push eax
mov dword [esp + 0x200], ebx
call fcn.1005833e
push 0x10016de8
lea eax, [esp + 0x58]
push eax
lea edi, [esp + 0x60]
mov byte [esp + 0x200], 1
call fcn.10058cd5
lea eax, [esp + 0x5c]
push eax
push 0x10016e10
mov byte [esp + 0x200], 2
push dword [esp + 0x5c]
mov edi, dword [esi + 0x84]
lea eax, [esp + 0x84]
push eax
call fcn.1002391d
mov byte [esp + 0x1f8], 3
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x28], ebx
jbe 0x1007009e
lea eax, [esi + 0x50]
mov dword [esp + 0x4c], eax
push 0x28
call fcn.1007c0aa
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f8], 4
cmp eax, ebx
je 0x1007006f
push dword [esp + 0x28]
lea edi, [esi + 4]
call fcn.100424cd
push dword [esi + 0x84]
mov ebx, dword [esi + 0x80]
push dword [esi + 0x7c]
mov edi, eax
push dword [esp + 0x1c]
call fcn.10072306
jmp 0x10070071
xor eax, eax
mov byte [esp + 0x1f8], 3
mov esi, dword [esp + 0x4c]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.1005bc6d
inc dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x28]
xor ebx, ebx
mov esi, eax
cmp ecx, dword [eax + 0x28]
jb 0x1007002f
push 0x18
call fcn.1007c0aa
pop ecx
cmp eax, ebx
je 0x100700ca
mov ecx, dword [esi + 0x80]
mov dword [eax], 0x1001a8e8
lea edx, [esi + 0x30]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
jmp 0x100700cc
xor eax, eax
push 0x2c
mov dword [esi + 0x74], eax
call fcn.1007c0aa
pop ecx
cmp eax, ebx
je 0x10070114
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
mov dword [eax], 0x1001a914
mov dword [eax + 8], ecx
lea edi, [esi + 0x30]
mov dword [eax + 4], edi
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], 1
jmp 0x10070116
xor eax, eax
mov ebx, dword [esi + 0x74]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x7c]
lea esi, [ebx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
call fcn.10072480
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov byte [esp + 0x1f8], 5
mov ecx, dword [ebx + 4]
mov dword [esp + 0x28], eax
cmp dword [ecx + 0x24], eax
jbe 0x100708a0
mov ecx, 0x100aee70
lea esi, [esp + 0x38]
call fcn.10078e54
push dword [esp + 0x28]
mov byte [esp + 0x1fc], 6
mov edi, dword [ebx + 4]
mov dword [esp + 0x40], 3
call fcn.100424cd
push 0
push 0x100b6368
mov edi, 0x100b5fa8
push edi
push 0
push eax
call fcn.100868b5
add esp, 0x14
mov esi, eax
mov eax, dword [esi + 0x20]
push 3
pop ecx
mov dword [esp + 0x3c], eax
cmp eax, ecx
je 0x100701b8
cmp eax, 2
jne 0x10070878
mov eax, dword [esp + 0x28]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
dec eax
mov dword [esp + 0x2c], ecx
mov word [esp + 0x40], 0x100
je 0x10070747
sub eax, ecx
mov edi, dword [esi + 0x1c]
je 0x100704c6
dec eax
dec eax
je 0x100703b2
call fcn.10023834
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x104]
push eax
call fcn.10074c0c
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xfc]
mov dword [esp + 0x3c], eax
call fcn.1005bc09
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
mov ebx, dword [esp + 0x24]
mov esi, dword [esi + 0x1c]
xor edi, edi
push edi
push 0x100b60d0
push 0x100b5fa8
push edi
push esi
call fcn.100868b5
mov esi, eax
add esp, 0x14
mov dword [esp + 0x50], esi
cmp esi, edi
je 0x10070878
mov eax, dword [esi + 0x10]
or dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x14], edi
test eax, eax
jle 0x10070878
mov byte [esp + 0x41], 0
test edi, edi
js 0x10070924
cmp edi, dword [esi + 0x10]
jge 0x10070924
mov eax, dword [esi + 0xc]
push 0
push 0x100b5fe8
mov ecx, edi
shl ecx, 2
mov eax, dword [eax + ecx]
push 0x100b5fa8
push 0
push eax
mov dword [esp + 0x5c], ecx
call fcn.100868b5
add esp, 0x14
test eax, eax
je 0x10070869
lea ecx, [esp + 0x4c]
push ecx
call fcn.10036cb7
mov byte [esp + 0x1f8], 7
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10078eab
add eax, 0x10
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov byte [esp + 0x1f8], 8
call fcn.10058f9e
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x60], eax
call fcn.10078eab
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1f8], 9
cmp edi, dword [esi + 0x10]
jge 0x10070924
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x48]
mov edi, dword [eax]
call fcn.10023834
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x8c]
push eax
call fcn.10074c0c
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.1005bc09
cmp edi, 3
je 0x1007035e
cmp edi, 2
jne 0x10070838
lea eax, [esp + 0x18]
push eax
lea esi, [esp + 0x68]
call fcn.1005902f
cmp eax, 0xffffffff
lea eax, [esp + 0x18]
jne 0x10070805
mov dword [esp + 0x3c], edi
lea edi, [esp + 0x38]
call fcn.100584b9
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
lea ebx, [esp + 0x18]
call fcn.10059067
jmp 0x10070834
call fcn.10023834
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1cc]
push eax
call fcn.10074c0c
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x1c4]
mov dword [esp + 0x3c], eax
call fcn.1005bc09
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
mov dword [esp + 0x30], 1
call fcn.10074ee6
mov eax, dword [esi + 0x1c]
push 1
push 0x100b60f4
push 0x100b5fa8
xor edi, edi
push edi
push eax
call fcn.100868b5
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edi
cmp dword [eax + 0x114], edi
jbe 0x10070238
mov byte [esp + 0x41], 0
call fcn.10023834
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.1003f454
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x30]
mov ebx, dword [ecx + 8]
mov edi, eax
call fcn.10072306
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0xac]
call fcn.1005bc09
cmp edi, 3
je 0x1007047f
cmp edi, 2
jne 0x100704a9
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x114]
jb 0x10070434
jmp 0x10070238
mov dword [esp + 0x2c], 2
call fcn.10023834
mov ebx, dword [ebx + 8]
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x1a4]
push eax
call fcn.10074c0c
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x19c]
mov dword [esp + 0x3c], edi
call fcn.1005bc09
mov eax, dword [esi + 0x1c]
push 1
push 0x100b6114
push 0x100b5fa8
push 0
push eax
call fcn.100868b5
add esp, 0x14
cmp dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
je 0x1007052b
cmp dword [esp + 0x20], 4
jne 0x1007066b
cmp edi, 3
je 0x10070535
cmp edi, 2
jne 0x10070553
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x118]
test edi, edi
je 0x100705c4
call fcn.10023834
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x154]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074c0c
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x14c]
call fcn.1005bc09
cmp edi, 3
je 0x10070598
cmp edi, 2
jne 0x100705c4
mov eax, dword [esp + 0x10]
and dword [esp + 0x34], 0
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
mov byte [esp + 0x45], 0
call fcn.10074ee6
cmp dword [esp + 0x20], 4
jne 0x1007066b
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x114]
test edi, edi
je 0x10070238
call fcn.10023834
push eax
push 4
lea eax, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074c0c
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x3c], eax
call fcn.1005bc09
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
mov dword [esp + 0x38], 1
mov byte [esp + 0x45], 0
call fcn.10074ee6
cmp dword [esp + 0x3c], 3
je 0x1007064d
cmp dword [esp + 0x3c], 2
jne 0x10070238
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
cmp dword [esp + 0x20], 3
jne 0x100706ec
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x114]
test edi, edi
je 0x100706bc
call fcn.10023834
push eax
push 3
lea eax, [esp + 0x12c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074c0c
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x124]
mov dword [esp + 0x3c], eax
call fcn.1005bc09
mov dword [esp + 0x34], 1
mov byte [esp + 0x41], 0
cmp dword [esp + 0x3c], 3
je 0x100706ce
cmp dword [esp + 0x3c], 2
jne 0x10070238
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
cmp dword [esp + 0x20], 2
jne 0x10070238
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x118]
test edi, edi
je 0x1007021a
call fcn.10023834
push eax
push 2
lea eax, [esp + 0x17c]
push eax
mov eax, dword [esp + 0x30]
mov ebx, dword [eax + 8]
call fcn.10074c0c
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x174]
mov dword [esp + 0x3c], eax
call fcn.1005bc09
and dword [esp + 0x34], 0
mov byte [esp + 0x41], 0
jmp 0x1007021a
mov eax, dword [esi + 0x1c]
and dword [esp + 0x2c], 0
push 1
push 0x100b6214
push edi
push 0
push eax
call fcn.100868b5
and dword [esp + 0x2c], 0
add esp, 0x14
cmp dword [eax + 0x9c], 0
mov dword [esp + 0x44], eax
jbe 0x1007023c
call fcn.10023834
mov edi, dword [esp + 0x44]
push eax
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.1003d25c
mov ebx, dword [ebx + 8]
lea ecx, [esp + 0x8c]
push ecx
mov edi, eax
call fcn.10072306
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x84]
call fcn.1005bc09
cmp edi, 3
je 0x100707ba
cmp edi, 2
jne 0x100707e4
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x3c], edi
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
inc dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x9c]
jb 0x10070778
jmp 0x1007023c
lea edi, [esp + 0x38]
mov dword [esp + 0x3c], 1
call fcn.100584b9
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
inc dword [esp + 0x10]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push eax
lea edi, [esp + 0x30]
call fcn.10074ee6
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x60]
call fcn.10078f0e
mov byte [esp + 0x1f8], 6
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10078f0e
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x74]
jl 0x1007027c
mov byte [esp + 0x1f8], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
call fcn.10078f0e
inc dword [esp + 0x28]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x28]
cmp ecx, dword [eax + 0x24]
jb 0x1007015d
lea esi, [esp + 0x64]
mov byte [esp + 0x1f8], 3
call fcn.1006657a
mov esi, dword [ebp + 8]
push dword [esi + 0x7c]
push dword [esi + 0x78]
call fcn.100724d1
lea eax, [esp + 0x78]
push eax
mov byte [esi + 0x88], 1
mov byte [esp + 0x1fc], 2
call fcn.1002395e
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
call fcn.10078f0e
push dword [esp + 0x70]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esi + 0x88]
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100778c8
int3