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

Disassembly:
sub esp, 0x158
push ebp
push 0x140
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x20], 0
call sub.MSVCR80.dll_memset
mov ebp, dword [esp + 0x180]
mov ecx, dword [ebp]
add esp, 0xc
test byte [ecx], 1
jne 0x1000f5fc
xor eax, eax
pop ebp
add esp, 0x158
ret
push ebx
push esi
push edi
mov edi, dword [esp + 0x184]
mov eax, dword [edi]
lea edx, [eax + eax*4 + 5]
add eax, 2
mov dword [edi], eax
mov eax, dword [esp + 0x174]
lea ebx, [edi + edx*4 + 4]
push eax
mov dword [esp + 0x1c], ebx
call fcn.100073d0
mov ecx, dword [esp + 0x180]
push ecx
mov esi, eax
call fcn.100073d0
add esp, 8
test esi, esi
jne 0x1000f65b
test eax, eax
jne 0x1000f65b
push 1
push ebx
call fcn.10007760
add esp, 8
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x158
ret
cmp esi, eax
mov dword [esp + 0x24], esi
jg 0x1000f667
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x188]
test eax, eax
je 0x1000f678
mov dword [esp + 0x10], eax
jmp 0x1000f69c
call fcn.1000f570
test eax, eax
mov dword [esp + 0x10], eax
je 0x1000fa00
push edi
push ebp
push eax
call fcn.10011460
add esp, 0xc
test eax, eax
je 0x1000f9ef
lea edx, [esp + 0x28]
push edx
call fcn.10007480
lea eax, [esp + 0x90]
push eax
call fcn.10007480
lea ecx, [esp + 0x44]
push ecx
call fcn.10007480
lea edx, [esp + 0x84]
push edx
call fcn.10007480
mov esi, dword [esp + 0x180]
push ebp
push esi
call fcn.10007920
add esp, 0x18
test eax, eax
jl 0x1000f6f8
push edi
push ebp
lea eax, [esp + 0x80]
push esi
push eax
call fcn.100073a0
add esp, 0x10
lea ebp, [esp + 0x78]
jmp 0x1000f6fa
mov ebp, esi
mov esi, dword [esp + 0x180]
mov ebx, dword [esp + 0x178]
push esi
push ebx
call fcn.10007920
add esp, 8
test eax, eax
jl 0x1000f72a
push edi
push esi
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.100073a0
add esp, 0x10
lea ebx, [esp + 0x3c]
mov eax, dword [esp + 0x10]
push edi
push eax
lea esi, [eax + 0xc]
push esi
lea edx, [esp + 0x84]
push ebp
push edx
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
mov ebp, dword [esp + 0x10]
push edi
push ebp
push esi
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
push edi
push ebp
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
mov dword [esp + 0x14], 0
lea ebp, [esp + 0x28]
lea ecx, [ecx]
cmp dword [esp + 0x14], 2
jl 0x1000f7fc
push ebp
call fcn.10007480
lea esi, [ebp + 0x14]
push esi
call fcn.10007480
mov ecx, dword [esp + 0x18]
push edi
push ecx
lea ebx, [ebp - 0x3c]
lea edx, [ebx - 0x14]
push edx
lea eax, [esp + 0x8c]
push eax
push ebp
call fcn.1000f1a0
add esp, 0x1c
test eax, eax
je 0x1000f9e5
mov ecx, dword [esp + 0x10]
push edi
push ecx
push ebx
lea edx, [esp + 0x84]
push edx
push esi
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
mov ebx, 2
lea esi, [ebp + 0x28]
push esi
call fcn.10007480
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esi - 0x14]
push edx
push esi
call fcn.1000f1a0
add esp, 0x18
test eax, eax
je 0x1000f9e5
add ebx, 1
add esi, 0x14
cmp ebx, 4
jl 0x1000f804
mov eax, dword [esp + 0x14]
add eax, 1
add ebp, 0x50
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x1000f7a0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
push edi
push eax
add eax, 0xc
add esi, 0xffffffff
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x20], esi
call fcn.100073c0
push eax
mov eax, dword [esp + 0x28]
push eax
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
jmp 0x1000f894
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x174]
push esi
push ecx
call fcn.10007b00
mov edx, dword [esp + 0x184]
push esi
push edx
mov ebx, eax
call fcn.10007b00
add esp, 0x10
test ebx, ebx
mov ebp, eax
jne 0x1000f8f0
test ebp, ebp
jne 0x1000f8f0
cmp dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x18]
jne 0x1000f8e2
mov eax, dword [esp + 0x10]
push edi
push eax
push ebx
push ebx
push ebx
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9e5
sub esi, 1
mov dword [esp + 0x14], esi
jns 0x1000f894
jmp 0x1000f9bd
mov edi, 1
add esi, 0xffffffff
test esi, esi
jl 0x1000f935
mov ecx, dword [esp + 0x174]
push esi
push ecx
call fcn.10007b00
lea edx, [ebx + ebx]
or eax, edx
mov ebx, eax
mov eax, dword [esp + 0x184]
push esi
push eax
call fcn.10007b00
lea ecx, [ebp + ebp]
or eax, ecx
add edi, 1
add esp, 0x10
sub esi, 1
cmp edi, 2
mov ebp, eax
jl 0x1000f8f8
cmp dword [esp + 0x1c], 0
jne 0x1000f96d
xor esi, esi
test edi, edi
jle 0x1000f96d
mov edx, dword [esp + 0x184]
mov eax, dword [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
push eax
push eax
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9de
add esi, 1
cmp esi, edi
jl 0x1000f942
test ebx, ebx
jne 0x1000f975
test ebp, ebp
je 0x1000f9a0
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x10]
push ecx
lea ebx, [ebp + ebx*4]
push edx
lea eax, [ebx + ebx*4]
lea ecx, [esp + eax*4 + 0x30]
mov eax, dword [esp + 0x20]
push ecx
push eax
push eax
call fcn.1000f1a0
add esp, 0x14
test eax, eax
je 0x1000f9de
sub dword [esp + 0x14], edi
mov edi, dword [esp + 0x184]
mov dword [esp + 0x1c], 0
jns 0x1000f890
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x16c]
push edi
push edx
push ebx
push eax
call fcn.1000f350
add esp, 0x10
mov dword [esp + 0x20], 1
jmp 0x1000f9e5
mov edi, dword [esp + 0x184]
cmp dword [esp + 0x188], 0
jne 0x1000fa00
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000fa00
push eax
call fcn.1000f530
add esp, 4
add dword [edi], 0xfffffffe
lea esi, [esp + 0x28]
mov ebx, 4
lea esp, [esp]
mov edi, 4
push esi
call fcn.10007bc0
add esp, 4
add esi, 0x14
sub edi, 1
jne 0x1000fa15
sub ebx, 1
jne 0x1000fa10
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x158
ret