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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov dword [esp + 0x18], edx
mov esi, ecx
mov edx, dword [esp + 0x28]
push edi
mov dword [ebp], 0
cmp dword [esi + 0x78], 8
mov edi, dword [edx]
mov dword [esp + 0x10], edi
mov dword [edx], 0
je 0x10115f04
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x78]
mov ebp, dword [esi + 0x24]
mov dword [esp + 0x20], ebp
cmp eax, 9
je 0x10115f29
cmp eax, 6
je 0x10115cfa
cmp eax, 7
je 0x10115cfa
mov eax, dword [edx]
cmp eax, edi
je 0x10115f15
inc eax
mov ecx, esi
mov dword [edx], eax
mov dl, byte [ebx]
call fcn.10115b50
mov edx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x78], eax
jmp 0x10115efa
mov ecx, dword [esp + 0x1c]
sub ecx, ebp
mov dword [esp + 0x14], 0
mov ebp, dword [edx]
sub edi, ebp
mov edx, dword [esi + 0x74]
cmp edx, ecx
ja 0x10115d1d
mov ecx, edx
mov dword [esp + 0x14], 1
mov dl, byte [esi + 0x7c]
test dl, dl
js 0x10115df5
cmp ebp, dword [esp + 0x10]
je 0x10115f15
cmp eax, 6
jne 0x10115d98
cmp dl, 1
jne 0x10115d52
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 1
jmp 0x10115d5f
cmp dword [esi + 0x80], 0
jne 0x10115f29
mov dword [esi + 0x80], 0
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
cmp dl, 1
jne 0x10115d98
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x50], 1
cmp edi, ecx
cmova edi, ecx
test edi, edi
je 0x10115f29
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x24]
push edi
push ebx
push eax
call fcn.1011aad0
add dword [esi + 0x24], edi
add esp, 0xc
cmp dword [esi + 0x30], 0
jne 0x10115dce
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 0x2c]
cmp eax, edi
ja 0x10115dce
mov dword [esi + 0x30], ecx
add dword [esi + 0x2c], edi
lea eax, [edi + ebp]
mov edx, dword [esp + 0x2c]
add ebx, edi
sub dword [esi + 0x74], edi
mov ebp, dword [esp + 0x34]
mov dword [edx], eax
mov eax, dword [esi + 0x74]
neg eax
sbb eax, eax
and eax, 7
mov dword [esi + 0x78], eax
jmp 0x10115ef6
cmp eax, 6
jne 0x10115e7e
movzx eax, dl
shr eax, 5
and eax, 3
cmp eax, 3
je 0x10115e19
cmp dword [esi + 0x80], 0
jne 0x10115f29
test eax, eax
jne 0x10115e29
cmp dword [esi + 0x84], eax
jne 0x10115f29
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
cmp eax, 3
jne 0x10115e58
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x50], 1
test eax, eax
je 0x10115e63
mov dword [esi + 0x50], 1
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x78], 7
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x20]
cmp edi, dword [esi + 0x70]
push eax
push dword [esp + 0x18]
cmova edi, dword [esi + 0x70]
lea eax, [esp + 0x20]
push eax
lea edx, [ecx + ebp]
mov dword [esp + 0x24], edi
push ebx
mov ecx, esi
call fcn.10115790
mov edx, dword [esp + 0x3c]
add esp, 0x10
mov edi, dword [esi + 0x24]
mov ecx, dword [esp + 0x18]
sub edi, ebp
sub dword [esi + 0x70], ecx
add ebx, ecx
add dword [edx], ecx
sub dword [esi + 0x74], edi
test eax, eax
jne 0x10115f0d
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp]
cmp eax, 3
je 0x10115f0b
test ecx, ecx
jne 0x10115eea
test edi, edi
jne 0x10115eea
cmp eax, 4
jne 0x10115f29
cmp dword [esi + 0x74], edi
jne 0x10115f29
cmp dword [esi + 0x70], edi
jne 0x10115f29
mov dword [esi + 0x78], edi
cmp eax, 4
jne 0x10115ef6
mov dword [ebp], 2
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], 8
jne 0x10115cb6
mov dword [ebp], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword [eax], 3
xor eax, eax
pop ebx
add esp, 0x14
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret