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

Disassembly:
sub esp, 0xac
mov eax, dword [0x100ca040]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, edx
cmp dword [ebp + 0x28], 0
je 0x1007f910
push 0xffffffffffffffff
push dword [ebp + 0x30]
xor ebx, ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1007f7bd
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x18]
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x1007f7a7
mov dword [esp + 0x18], ebx
jmp 0x1007f7ad
cmp dword [esp + 0x18], ebx
jne 0x1007f7db
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1007f7bd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp + 0x2c], ebx
mov eax, 1
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1008c1b5
add esp, 0xac
ret
mov ecx, dword [esi + 0x2c]
xor eax, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp eax, 0xc
jne 0x1007f959
test byte [esi + 0x6c], 1
jne 0x1007f8e3
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x14]
push esi
mov dword [esp + 0x18], eax
call fcn.10011540
test eax, eax
js 0x1007f8e3
mov ebx, dword [esi + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [esi + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebx]
push ecx
push ebx
call dword [eax + 0xc]
test eax, eax
js 0x1007f8c5
mov eax, dword [esp + 0x10]
push 0
push 0
push ebx
mov ecx, dword [eax]
push 0
push dword [esp + 0x24]
push eax
call dword [ecx + 0x88]
mov dword [esp + 0x1c], eax
test eax, eax
js 0x1007f8a8
or dword [esi + 0x6c], 0x11
mov ecx, dword [ebx]
push ebx
mov dword [esp + 0x18], 0
call dword [ecx + 8]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1007f8be
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x10], 0
cmp dword [esp + 0x1c], 0
jge 0x1007f8e3
mov ecx, dword [esp + 0x28]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov eax, dword [esp + 0x20]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x14], eax
mov ebx, dword [esi + 0x14]
lea ecx, [esp + 0x54]
push ecx
push ebx
mov dword [esp + 0x24], ebx
mov eax, dword [ebx]
call dword [eax + 0x30]
mov eax, dword [ebx]
lea ecx, [esp + 0x30]
push 0
push 0
push ecx
push ebx
call dword [eax + 0x34]
test eax, eax
jns 0x1007f91a
lea ecx, [ebp + 0x2c]
call fcn.100800f0
mov eax, 0x80004005
jmp 0x1007f7c2
mov edx, dword [esp + 0x30]
mov eax, edx
imul eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], edx
add eax, ecx
mov dword [esp + 0x14], 6
mov dword [esp + 0xa8], eax
mov dword [esp + 0x10], 8
jmp 0x1007f9b6
test byte [esi + 0x6c], 1
jne 0x1007f966
mov ecx, esi
call fcn.1000a670
mov eax, dword [esi + 8]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xb0], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x94], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0xa0], eax
push dword [esi + 4]
lea eax, [esp + 0x88]
push dword [esi]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x2c]
lea edx, [esp + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x1007fab4
mov ebx, dword [esp + 0x14]
jmp 0x1007f9f0
mov eax, dword [ebp + 0x2c]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x30]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x58]
push edx
push esi
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x1007fab0
push dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
mov edx, ebx
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], eax
mov eax, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xac]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0xc], eax
mov ecx, esp
mov eax, dword [esp + 0xb4]
push dword [esp + 0x54]
push dword [esp + 0x60]
mov dword [ecx], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xe0]
mov ecx, ebp
push eax
push dword [esp + 0x50]
call fcn.1007fbc0
inc esi
cmp esi, dword [esp + 0x18]
jl 0x1007f9f0
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x1007fabe
mov eax, dword [ebx]
push ebx
call dword [eax + 0x38]
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x1007fad2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp + 0x2c], 0
xor eax, eax
jmp 0x1007f7c2