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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xa27c]
test eax, eax
jle 0x10010028
cmp eax, 0x20
jg 0x10010028
push edi
mov edi, dword [ebp + 8]
push eax
call fcn.10002de0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xffffffff
cmp dword [esi + 0x51bc], 0
jne 0x1000fbce
push 1
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x1c], eax
test eax, eax
je 0x1000fbce
push 1
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x20], eax
cmp dword [edi], 5
jne 0x1000fbdd
mov ecx, esi
call fcn.10002ee0
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], 0
mov eax, dword [esi + 0xa290]
test eax, eax
jne 0x1000fc12
mov eax, dword [esi + 0xa280]
test eax, eax
jle 0x1000fce9
cmp eax, 0x20
jg 0x1000fce9
push eax
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x28], eax
jmp 0x1000fc2a
cmp eax, 1
jne 0x1000fc2a
cmp dword [esi + 0xa294], 0
jne 0x1000fc2a
mov ecx, esi
call fcn.10002e40
mov dword [edi + 0x2c], eax
cmp dword [esi + 0xa228], 0
je 0x1000fc4e
cmp dword [esi + 0xa290], 2
jge 0x1000fc4e
cmp dword [edi + 0x1c], 0
jne 0x1000fc4e
mov ecx, esi
call fcn.10002e40
mov dword [edi + 0x30], eax
jmp 0x1000fc55
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
cmp dword [esi + 0xa230], 0
je 0x1000fc6c
mov ecx, esi
call fcn.10002ee0
cmp dword [edi + 0x10], 1
jne 0x1000fc7e
push 1
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x34], eax
mov eax, dword [esi + 0xa248]
mov dword [edi + 0x38], eax
mov eax, dword [esi + 0xa24c]
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x10]
cmp eax, 1
je 0x1000fc9c
test eax, eax
jne 0x1000fcc5
push 1
mov ecx, esi
call fcn.10002de0
test eax, eax
je 0x1000fcc5
mov ecx, esi
call fcn.10002ee0
inc eax
cmp dword [edi + 0x10], 1
mov dword [edi + 0x38], eax
jne 0x1000fcc5
mov ecx, esi
call fcn.10002ee0
inc eax
mov dword [edi + 0x3c], eax
mov ecx, dword [esi + 0x5d68]
sub ecx, dword [esi + 0x5d64]
mov eax, dword [esi + 0x9e8c]
sar ecx, 2
shl ecx, 5
sub eax, ecx
sub eax, dword [esi + 0x5d6c]
test eax, eax
jg 0x1000fcf3
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
cmp dword [edi + 0x10], 2
push ebx
mov dword [edi + 0x44], 0
mov dword [edi + 0x40], 0
je 0x1000fdab
push 1
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x40], eax
test eax, eax
je 0x1000fdab
lea eax, [edi + 0x78]
mov dword [ebp - 4], 0
mov dword [ebp + 8], eax
lea ecx, [ecx]
mov ecx, esi
call fcn.10002ee0
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 8], ebx
test ebx, ebx
je 0x1000fd5b
cmp ebx, 1
je 0x1000fd5b
cmp ebx, 2
jne 0x1000fd6c
mov ecx, esi
call fcn.10002ee0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x1000fd69
mov ecx, esi
call fcn.10002ee0
mov ecx, dword [ebp + 8]
inc eax
mov dword [ecx - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
inc ecx
add eax, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [edi + 0x38]
jg 0x1000fdab
mov ecx, dword [esi + 0x5d68]
sub ecx, dword [esi + 0x5d64]
mov eax, dword [esi + 0x9e8c]
sar ecx, 2
shl ecx, 5
sub eax, ecx
sub eax, dword [esi + 0x5d6c]
test eax, eax
jle 0x1000ff64
cmp ebx, 3
jne 0x1000fd30
cmp dword [edi + 0x10], 1
jne 0x1000fe5b
push 1
mov ecx, esi
call fcn.10002de0
mov dword [edi + 0x44], eax
test eax, eax
je 0x1000fe5b
lea eax, [edi + 0x138]
mov dword [ebp - 4], 0
mov dword [ebp + 8], eax
lea esp, [esp]
mov ecx, esi
call fcn.10002ee0
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax - 8], ebx
test ebx, ebx
je 0x1000fe0b
cmp ebx, 1
je 0x1000fe0b
cmp ebx, 2
jne 0x1000fe1c
mov ecx, esi
call fcn.10002ee0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x1000fe19
mov ecx, esi
call fcn.10002ee0
mov ecx, dword [ebp + 8]
inc eax
mov dword [ecx - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
inc ecx
add eax, 0xc
mov dword [ebp - 4], ecx
mov dword [ebp + 8], eax
cmp ecx, dword [edi + 0x3c]
jg 0x1000fe5b
mov ecx, dword [esi + 0x5d68]
sub ecx, dword [esi + 0x5d64]
mov eax, dword [esi + 0x9e8c]
sar ecx, 2
shl ecx, 5
sub eax, ecx
sub eax, dword [esi + 0x5d6c]
test eax, eax
jle 0x1000ff64
cmp ebx, 3
jne 0x1000fde0
cmp dword [esi + 0xa234], 0
je 0x1000fe6a
cmp dword [edi + 0x10], 0
je 0x1000fe79
cmp dword [esi + 0xa238], 1
jne 0x1000fe8a
cmp dword [edi + 0x10], 1
jne 0x1000fe8a
cmp dword [edi + 0x1f0], 0
je 0x1000fe8a
push edi
mov ecx, esi
call fcn.1000bc60
mov ecx, dword [esi + 0x5d68]
sub ecx, dword [esi + 0x5d64]
mov eax, dword [esi + 0x9e8c]
sar ecx, 2
shl ecx, 5
sub eax, ecx
sub eax, dword [esi + 0x5d6c]
test eax, eax
jle 0x1000ff64
cmp dword [edi + 4], 0
mov dword [edi + 0x54], 0
je 0x1000ff3b
cmp dword [edi], 5
push 1
mov ecx, esi
jne 0x1000fede
call fcn.10002de0
push 1
mov ecx, esi
mov dword [edi + 0x50], eax
call fcn.10002de0
mov dword [edi + 0x4c], eax
jmp 0x1000ff3b
call fcn.10002de0
test eax, eax
je 0x1000ff3b
mov dword [edi + 0x54], 1
mov edi, edi
mov ecx, esi
call fcn.10002ee0
mov ebx, eax
cmp ebx, 1
je 0x1000ff03
cmp ebx, 3
jne 0x1000ff0a
mov ecx, esi
call fcn.10002ee0
cmp ebx, 2
jne 0x1000ff18
mov ecx, esi
call fcn.10002ee0
jmp 0x1000fef0
cmp ebx, 3
je 0x1000ff22
cmp ebx, 6
jne 0x1000ff29
mov ecx, esi
call fcn.10002ee0
cmp ebx, 4
jne 0x1000ff37
mov ecx, esi
call fcn.10002ee0
jmp 0x1000fef0
test ebx, ebx
jne 0x1000fef0
mov ecx, esi
call fcn.10002db0
test eax, eax
jle 0x1000ff64
cmp dword [esi + 0xa220], 0
je 0x1000ff6f
cmp dword [edi + 0x10], 2
je 0x1000ff6f
mov ecx, esi
call fcn.10002ee0
mov dword [edi + 0x58], eax
cmp eax, 2
jbe 0x1000ff76
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x58], 0
mov ecx, esi
call fcn.10002e40
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
cmp dword [esi + 0xa23c], 0
je 0x1000ffc5
mov ecx, esi
call fcn.10002ee0
mov dword [edi + 0x60], eax
cmp eax, 1
je 0x1000ffc5
mov ecx, esi
call fcn.10002e40
add eax, eax
mov ecx, esi
mov dword [edi + 0x64], eax
call fcn.10002e40
add eax, eax
mov dword [edi + 0x68], eax
mov ecx, dword [esi + 0x5d68]
sub ecx, dword [esi + 0x5d64]
mov eax, dword [esi + 0x5d6c]
sar ecx, 2
shl ecx, 5
add eax, ecx
mov dword [edi + 0x6c], eax
cmp dword [esi + 0xa220], 0
je 0x1000fff4
add eax, 7
and eax, 0xfffffff8
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x51e0], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x51e4], eax
mov eax, dword [edi + 0x18]
mov ecx, esi
mov dword [esi + 0x51e8], eax
call fcn.10002db0
xor ecx, ecx
test eax, eax
setg cl
pop ebx
pop edi
pop esi
mov eax, ecx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4