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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x134]
jge 0x101155cc
cmp byte [esi + 0x235], 0
je 0x101155b4
mov dword [esi + 0xc], 0x86
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x134], 1
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
cmp word [esi + 0x15c], 0
je 0x101155ee
cmp word [esi + 0x15e], 0
je 0x101155ee
cmp word [esi + 0x160], 0
je 0x101155ee
xor edx, edx
jmp 0x101155f3
mov edx, 1
movzx eax, word [esi + 0x122]
mov dword [esp + 0x18], edx
cmp ax, word [esi + 0x2c]
jae 0x101155a4
mov edi, eax
shl edi, 3
mov dword [esp + 0x34], edi
test edx, edx
je 0x10115616
mov ebx, dword [esi + 0x30]
jmp 0x10115619
mov ebx, dword [esi + 0x38]
mov ebp, dword [esi + 0x34]
movzx eax, word [esi + 0x124]
add ebp, edi
mov ecx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebp
cmp ax, word [esi + 0x50]
jae 0x1011573a
test edx, edx
je 0x10115656
mov eax, dword [esi + 0x54]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [edi + ebx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edi + ebx]
push eax
jmp 0x101156fe
mov eax, dword [esi + 0x5c]
mov edx, dword [esi + 0xe0]
lea ecx, [eax + ecx*8]
cmp edx, dword [esi + 0xe4]
jne 0x1011567d
mov eax, dword [ecx + 4]
sub eax, dword [edi + ebx + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [edi + ebx]
push eax
jmp 0x101156fe
mov eax, dword [ecx]
sub eax, dword [edi + ebx]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xe4]
movzx ecx, word [esi + 0x124]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*8 + 4]
sub eax, dword [edi + ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x20], eax
push dword [esp + 0x20]
push dword [esp + 0x28]
mov eax, dword [esi + 0x244]
push esi
call eax
movzx ecx, word [esi + 0x124]
add esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x58]
lea ecx, [eax + ecx*8]
mov eax, dword [ecx + 4]
sub eax, dword [ebp + 4]
push eax
mov eax, dword [ecx]
sub eax, dword [ebp]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x10115740
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esi + 0x134], 0
mov dword [esp + 0x1c], eax
jle 0x101155b4
dec dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [eax + ecx*4]
movzx eax, word [esi + 0x74]
cmp ebp, eax
jb 0x10115781
cmp byte [esi + 0x235], 0
je 0x101158ac
pop edi
mov dword [esi + 0xc], 0x86
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea ebx, [ebp*8]
test edx, edx
je 0x101157a8
mov ecx, dword [esi + 0x78]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + ebx + 4]
sub eax, dword [edi + edx + 4]
push eax
mov eax, dword [ecx + ebx]
sub eax, dword [edi + edx]
push eax
jmp 0x10115842
mov eax, dword [esi + 0xe0]
mov ecx, dword [esi + 0x80]
cmp eax, dword [esi + 0xe4]
je 0x1011578f
mov dword [esp + 0x20], eax
mov eax, dword [ecx + ebx]
mov ecx, dword [esp + 0x10]
sub eax, dword [edi + ecx]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0xe4]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x80]
mov eax, dword [ebx + eax + 4]
sub eax, dword [edi + ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [esp + 0x28], eax
push dword [esp + 0x28]
push dword [esp + 0x30]
mov eax, dword [esi + 0x244]
push esi
call eax
mov ecx, dword [esi + 0x7c]
mov edi, eax
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [ecx + ebx + 4]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ecx + ebx]
sub eax, dword [edx]
push eax
mov eax, dword [esi + 0x240]
push esi
call eax
add esp, 0xc
mov ebx, eax
test edi, edi
je 0x10115892
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10115894
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.100d5e90
add esp, 4
mov edi, eax
jmp 0x10115894
xor edi, edi
sub edi, ebx
lea eax, [esi + 0x6c]
push edi
push ebp
push eax
mov eax, dword [esi + 0x24c]
push esi
call eax
mov edi, dword [esp + 0x44]
add esp, 0x10
dec dword [esi + 0x134]
cmp dword [esi + 0x134], 0
jle 0x101155b4
mov edx, dword [esp + 0x18]
jmp 0x10115751