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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x101ce084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
xor edi, edi
cmp byte [esi + 0x84], 0
je 0x10158dd8
test byte [esi + 0x84], 1
je 0x10158da5
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, 0x80
jae 0x10158d94
mov ecx, 1
jmp 0x10158d9f
push eax
call fcn.10133510
add esp, 4
mov ecx, eax
mov edi, dword [edi + 0x10]
inc edi
add edi, ecx
mov eax, dword [esi + 0x84]
shr eax, 1
test al, 1
je 0x10158dd8
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
cmp eax, 0x80
jae 0x10158dc5
mov ecx, 1
jmp 0x10158dd0
push eax
call fcn.10133510
add esp, 4
mov ecx, eax
mov eax, dword [ebx + 0x10]
inc edi
add eax, ecx
add edi, eax
mov eax, dword [esi + 0x84]
test eax, 0x1fe00
je 0x10158e5f
shr eax, 9
test al, 1
je 0x10158e1f
mov ecx, dword [esi + 0x78]
test ecx, ecx
jne 0x10158dfb
mov eax, dword [0x10221c9c]
mov ecx, dword [eax + 0x78]
call fcn.10159110
mov ebx, eax
cmp ebx, 0x80
jae 0x10158e11
mov eax, 1
jmp 0x10158e1a
push ebx
call fcn.10133510
add esp, 4
add eax, ebx
inc edi
add edi, eax
mov eax, dword [esi + 0x84]
shr eax, 0xa
test al, 1
je 0x10158e5f
mov ecx, dword [esi + 0x7c]
test ecx, ecx
jne 0x10158e3b
mov eax, dword [0x10221c9c]
mov ecx, dword [eax + 0x7c]
call fcn.10159630
mov ebx, eax
cmp ebx, 0x80
jae 0x10158e51
mov eax, 1
jmp 0x10158e5a
push ebx
call fcn.10133510
add esp, 4
add eax, ebx
inc edi
add edi, eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x10158ea5
nop word [eax + eax]
mov eax, dword [esi + 0x10]
mov eax, dword [eax + ebx*4]
mov dword [ebp - 8], eax
mov eax, dword [eax + 0x10]
cmp eax, 0x80
jae 0x10158e8a
mov ecx, 1
jmp 0x10158e95
push eax
call fcn.10133510
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 8]
inc ebx
mov eax, dword [eax + 0x10]
add eax, ecx
add edi, eax
cmp ebx, dword [esi + 0x14]
jl 0x10158e70
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 8], ecx
cmp dword [esi + 0x24], ecx
jle 0x10158ee7
mov eax, dword [esi + 0x20]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x10158ec2
mov eax, 0xa
jmp 0x10158edc
cmp eax, 0x80
jae 0x10158ed0
mov eax, 1
jmp 0x10158edc
push eax
call fcn.10133510
mov ecx, dword [ebp - 8]
add esp, 4
add ecx, eax
inc ebx
mov dword [ebp - 8], ecx
cmp ebx, dword [esi + 0x24]
jl 0x10158eb1
mov eax, dword [esi + 0x24]
xor edx, edx
add eax, ecx
mov dword [ebp - 8], edx
add edi, eax
xor ebx, ebx
cmp dword [esi + 0x30], edx
jle 0x10158f36
nop word [eax + eax]
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + ebx*4]
test eax, eax
jns 0x10158f11
mov eax, 0xa
jmp 0x10158f2b
cmp eax, 0x80
jae 0x10158f1f
mov eax, 1
jmp 0x10158f2b
push eax
call fcn.10133510
mov edx, dword [ebp - 8]
add esp, 4
add edx, eax
inc ebx
mov dword [ebp - 8], edx
cmp ebx, dword [esi + 0x30]
jl 0x10158f00
mov ecx, dword [esi + 0x3c]
xor ebx, ebx
mov eax, dword [esi + 0x30]
add eax, ecx
add eax, edx
add edi, eax
test ecx, ecx
jle 0x10158f84
nop dword [eax + eax]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + ebx*4]
call fcn.101585a0
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x10158f6c
mov ecx, 1
jmp 0x10158f7a
push eax
call fcn.10133510
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x3c]
jl 0x10158f50
mov eax, dword [esi + 0x4c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x10158fc4
nop
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebx*4]
call fcn.101587b0
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x10158fac
mov ecx, 1
jmp 0x10158fba
push eax
call fcn.10133510
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x4c]
jl 0x10158f90
mov eax, dword [esi + 0x5c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x10159004
nop
mov eax, dword [esi + 0x58]
mov ecx, dword [eax + ebx*4]
call fcn.10159520
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x10158fec
mov ecx, 1
jmp 0x10158ffa
push eax
call fcn.10133510
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x5c]
jl 0x10158fd0
mov eax, dword [esi + 0x6c]
xor ebx, ebx
add edi, eax
test eax, eax
jle 0x10159044
nop
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + ebx*4]
call fcn.10158a40
mov dword [ebp - 8], eax
cmp eax, 0x80
jae 0x1015902c
mov ecx, 1
jmp 0x1015903a
push eax
call fcn.10133510
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 8]
add eax, ecx
inc ebx
add edi, eax
cmp ebx, dword [esi + 0x6c]
jl 0x10159010
mov edx, dword [esi + 4]
lea eax, [esi + 4]
test edx, edx
je 0x10159060
mov ecx, dword [edx]
cmp ecx, dword [edx + 4]
je 0x10159060
push eax
call fcn.10134830
add esp, 4
add edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [esi + 0x80], edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1017b14e
mov esp, ebp
pop ebp
ret