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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x100d6110]
mov edx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov dword [ebp], 0
call fcn.1006f7c0
add esp, 0xc
test eax, eax
je 0x100879e6
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
mov eax, dword [esp + 0x38]
test eax, eax
push ebx
push esi
push edi
je 0x10087dd8
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.10032050
add esp, 0x10
test eax, eax
je 0x10087a2b
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
mov ebx, 1
jle 0x10087b54
mov edi, edi
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x24]
push ecx
lea eax, [edx + edi*4]
push eax
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10087a6e
cmp eax, 3
jne 0x10087b47
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
push edi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x10087deb
cmp dword [esp + 0x2c], ebx
jne 0x10087b47
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x10087b47
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push esi
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10087b3e
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10087dfe
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x10087ad6
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10087a40
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.10032120
add esp, 0x10
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x10087c9e
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x24]
push eax
lea edx, [ecx + edi*4]
push edx
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10087bb4
cmp eax, 3
jne 0x10087c91
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push edi
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x10087deb
cmp dword [esp + 0x2c], ebx
jne 0x10087c91
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x10087c91
lea esp, [esp]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10087c88
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x44]
push eax
push ecx
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10087e69
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x10087c20
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10087b86
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
call fcn.10032220
add esp, 0x10
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x10087dd8
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + edi*4]
push ecx
call fcn.10081ae0
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x10087cfe
cmp eax, 3
jne 0x10087dcb
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push edi
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.100227f0
add esp, 8
test eax, eax
jne 0x10087deb
cmp dword [esp + 0x2c], ebx
jne 0x10087dcb
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.100226f0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x10087dcb
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push esi
push ecx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.100c3f70
add esp, 8
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x34]
test eax, eax
je 0x10087dc2
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call fcn.10051e20
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10087ec1
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x10087d66
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x10087cd0
pop edi
pop esi
pop ebx
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
mov ecx, dword [esp + 0x58]
call fcn.100d08b1
add esp, 0x5c
ret
lea eax, [esp + 0x28]
push eax
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x10087deb
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push ecx
push 0x2331
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x10087deb
lea ecx, [esp + 0x48]
push ecx
push ebx
push esi
call fcn.100809e0
mov ecx, dword [esp + 0x74]
add esp, 0xc
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop ebp
call fcn.100d08b1
add esp, 0x5c
ret
lea edx, [esp + 0x28]
push edx
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x10087deb
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push eax
push 0x2331
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x10087deb
lea eax, [esp + 0x48]
push eax
jmp 0x10087e48
lea ecx, [esp + 0x28]
push ecx
mov dword [ebp], ebx
call fcn.100206a0
add esp, 4
test eax, eax
jne 0x10087deb
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x74]
push edx
push 0x2331
push esi
call fcn.100809a0
add esp, 0xc
test eax, eax
jne 0x10087deb
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.100227b0
add esp, 8
test eax, eax
jne 0x10087deb
lea edx, [esp + 0x48]
push edx
jmp 0x10087e48