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

Disassembly:
sub esp, 0x138
mov eax, dword [0x100812a0]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x140]
push ebp
mov ebp, dword [esp + 0x140]
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + ebp + 0x80]
add ecx, ebp
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], ecx
test eax, eax
je 0x1000f7ef
push ebx
push esi
push edi
jmp 0x1000f5c4
mov ecx, dword [esp + 0x1c]
mov edi, dword [ecx + 0x10]
lea esi, [eax + ebp]
mov eax, dword [ecx]
add edi, ebp
test eax, eax
je 0x1000f5da
add eax, ebp
mov dword [esp + 0x10], eax
jmp 0x1000f5de
mov dword [esp + 0x10], edi
push esi
call dword [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x1000f5f8
push esi
call dword [esp + 0x38]
mov ebx, eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x1000f7d6
sub edi, esi
mov dword [esp + 0x30], edi
lea esp, [esp]
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x1000f7b2
lea ecx, [eax + ebp + 2]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x1000f752
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edi, ebx
xor ebp, ebp
mov dword [esp + 0x28], eax
test eax, eax
je 0x1000f752
cmp edi, ebx
jbe 0x1000f752
cmp ecx, 0x10000
jae 0x1000f687
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
add esi, edx
cmp ecx, esi
jae 0x1000f752
cmp ecx, edx
jb 0x1000f752
sub ecx, edx
mov edx, dword [edi + 0x1c]
lea ecx, [edx + ecx*4]
mov ebp, dword [ecx + ebx]
jmp 0x1000f72d
mov eax, dword [edi + 0x20]
add eax, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebp
cmp dword [edi + 0x18], ebp
jbe 0x1000f7a2
movzx edx, byte [ecx]
mov dword [esp + 0x3c], edx
jmp 0x1000f6b4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
mov al, byte [edx + ebx]
mov ecx, dword [esp + 0x3c]
add edx, ebx
movzx esi, al
sub ecx, esi
jne 0x1000f6e9
mov esi, dword [esp + 0x24]
sub esi, edx
test al, al
je 0x1000f6e9
mov al, byte [edx + 1]
movzx ecx, byte [esi + edx + 1]
inc edx
movzx ebx, al
sub ecx, ebx
mov ebx, dword [esp + 0x18]
je 0x1000f6d1
test ecx, ecx
js 0x1000f6f1
jg 0x1000f6f1
je 0x1000f712
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x18]
jb 0x1000f6b0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov eax, ebp
mov ebp, dword [esp + 0x38]
jmp 0x1000f7c1
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx*2]
movzx eax, word [edx + ebx]
mov ecx, dword [edi + 0x1c]
lea edx, [ecx + eax*4]
mov ebp, dword [edx + ebx]
mov eax, dword [esp + 0x28]
add ebp, ebx
test ebp, ebp
je 0x1000f7a2
cmp ebp, edi
jb 0x1000f7a2
add eax, edi
cmp ebp, eax
jae 0x1000f7a2
mov al, byte [ebp]
mov esi, ebp
test al, al
je 0x1000f752
cmp al, 0x2e
je 0x1000f762
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1000f746
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x38]
xor eax, eax
jmp 0x1000f7c1
mov ecx, esi
sub ecx, ebp
test ecx, ecx
jle 0x1000f752
lea eax, [ecx - 1]
test eax, eax
js 0x1000f785
lea edx, [esp + 0x40]
sub ebp, edx
lea edx, [eax + ebp]
dec eax
mov dl, byte [esp + edx + 0x40]
mov byte [esp + eax + 0x41], dl
jns 0x1000f777
lea eax, [esp + 0x40]
push eax
mov byte [esp + ecx + 0x44], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
inc esi
push esi
push eax
call fcn.1000e840
add esp, 8
mov ebp, eax
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov eax, ebp
mov ebp, dword [esp + 0x38]
jmp 0x1000f7c1
and eax, 0x7fffffff
push eax
push ebx
call fcn.1000e840
add esp, 8
mov dword [edi + esi], eax
mov eax, dword [esi + 4]
add esi, 4
mov dword [esp + 0x10], esi
test eax, eax
jne 0x1000f610
mov eax, dword [esp + 0x1c]
add eax, 0x14
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x1000f5c0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
pop ebp
xor ecx, esp
call fcn.100201e8
add esp, 0x138
ret