Function at 0x101140a0
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 0x10114324
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x78]
mov ebp, dword [esi + 0x24]
mov dword [esp + 0x20], ebp
cmp eax, 9
je 0x10114349
cmp eax, 6
je 0x1011411a
cmp eax, 7
je 0x1011411a
mov eax, dword [edx]
cmp eax, edi
je 0x10114335
inc eax
mov ecx, esi
mov dword [edx], eax
mov dl, byte [ebx]
call fcn.10113f70
mov edx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x34]
mov dword [esi + 0x78], eax
jmp 0x1011431a
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 0x1011413d
mov ecx, edx
mov dword [esp + 0x14], 1
mov dl, byte [esi + 0x7c]
test dl, dl
js 0x10114215
cmp ebp, dword [esp + 0x10]
je 0x10114335
cmp eax, 6
jne 0x101141b8
cmp dl, 1
jne 0x10114172
mov dword [esi + 0x84], 1
mov dword [esi + 0x88], 1
jmp 0x1011417f
cmp dword [esi + 0x80], 0
jne 0x10114349
mov dword [esi + 0x80], 0
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
cmp dl, 1
jne 0x101141b8
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 0x10114349
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x24]
push edi
push ebx
push eax
call fcn.10118e40
add dword [esi + 0x24], edi
add esp, 0xc
cmp dword [esi + 0x30], 0
jne 0x101141ee
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 0x2c]
cmp eax, edi
ja 0x101141ee
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 0x10114316
cmp eax, 6
jne 0x1011429e
movzx eax, dl
shr eax, 5
and eax, 3
cmp eax, 3
je 0x10114239
cmp dword [esi + 0x80], 0
jne 0x10114349
test eax, eax
jne 0x10114249
cmp dword [esi + 0x84], eax
jne 0x10114349
mov dword [esi + 0x4c], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x58], 0
cmp eax, 3
jne 0x10114278
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x50], 1
test eax, eax
je 0x10114283
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.10113bb0
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 0x1011432d
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp]
cmp eax, 3
je 0x1011432b
test ecx, ecx
jne 0x1011430a
test edi, edi
jne 0x1011430a
cmp eax, 4
jne 0x10114349
cmp dword [esi + 0x74], edi
jne 0x10114349
cmp dword [esi + 0x70], edi
jne 0x10114349
mov dword [esi + 0x78], edi
cmp eax, 4
jne 0x10114316
mov dword [ebp], 2
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x78], 8
jne 0x101140d6
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