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

Disassembly:
sub esp, 0x60
mov eax, dword [0x10182f40]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov dword [esp + 0x18], eax
mov ebp, ecx
mov eax, dword [esp + 0x80]
push esi
mov esi, dword [esp + 0x7c]
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
call fcn.10112040
test eax, eax
jne 0x1011268b
mov edx, dword [ebp + 0x10]
xor ebx, ebx
test edx, edx
je 0x10112689
mov eax, dword [ebp]
lea ecx, [ebx + ebx*2]
lea ebp, [eax + ecx*8]
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ebp
test eax, eax
je 0x101124e7
cmp eax, 0x21
je 0x101124e7
cmp eax, 0x30101
je 0x101124e7
mov ecx, eax
mov eax, dword [ebp + 0xc]
cmp ecx, 0x303011b
jne 0x1011248e
test eax, eax
jne 0x1011248e
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
cmp ebx, 3
jne 0x101126ce
lea edx, [ebx - 2]
mov ecx, eax
call fcn.101121e0
add eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x20]
adc edx, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
push 0
push eax
mov eax, dword [ebp + 0xc]
push ebp
mov dword [esp + 0x50], edx
call eax
add esp, 0xc
test eax, eax
jne 0x1011268b
cmp eax, edi
jne 0x1011269e
mov eax, dword [esp + 0x24]
push esi
push eax
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [ecx + 8], eax
test eax, eax
jne 0x1011243d
test esi, esi
jne 0x1011269e
push edi
push esi
mov edx, eax
mov ecx, ebp
call fcn.10111f60
add esp, 8
test eax, eax
jne 0x1011268b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edi
push dword [esp + 0x1c]
push esi
push dword [eax + 8]
push dword [esp + 0x68]
push dword [eax + 4]
push dword [esp + 0x6c]
push dword [eax]
call fcn.101144e0
add esp, 0x20
test eax, eax
jne 0x1011268b
jmp 0x10112675
cmp ebx, 1
jne 0x101126ce
cmp ecx, 0x3030103
jne 0x101124bf
test eax, eax
jne 0x101124bf
push ecx
mov dword [esp + 0x2c], eax
mov edx, edi
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.10114360
add esp, 0xc
jmp 0x10112679
cmp ecx, 0x3030501
jne 0x101126ce
test eax, eax
jne 0x101126ce
sub esp, 8
mov edx, edi
mov ecx, esi
call fcn.101147a0
add esp, 8
jmp 0x10112679
xor ecx, ecx
cmp edx, 4
jne 0x1011259b
mov eax, dword [esp + 0x3c]
lea ebp, [ebx*4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], 3
mov dword [esp + 0x64], 2
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ebx*8]
mov ecx, dword [eax + ebx*8 + 4]
mov eax, dword [esp + ebp + 0x60]
mov dword [esp + 0x28], eax
cmp ebx, 2
jae 0x10112561
xor eax, eax
mov dword [esp + 0x10], edi
cmp eax, ecx
jne 0x1011269e
mov eax, dword [esp + 0x24]
push edi
push eax
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 8
test esi, esi
jne 0x10112551
test edi, edi
jne 0x1011269e
mov eax, dword [esp + 0x2c]
neg ebp
mov dword [eax + ebp + 4], esi
mov dword [esp + ebp + 0x58], edi
jmp 0x1011258f
jne 0x101126ce
test ecx, ecx
ja 0x101126b6
mov esi, dword [esp + 0x14]
jb 0x1011257d
cmp edi, esi
ja 0x101126b6
sub esi, edi
mov dword [esp + 0x10], edi
add esi, dword [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ecx*8]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + ecx*8 + 4]
mov edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
call fcn.101121e0
add eax, dword [esp + 0x78]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
adc edx, dword [esp + 0x7c]
push 0
push eax
mov eax, dword [esp + 0x28]
push eax
mov dword [esp + 0x58], edx
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
test eax, eax
jne 0x1011268b
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
or eax, edx
jne 0x1011261b
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jne 0x101126e6
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x101126e6
push eax
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.10111f60
add esp, 8
jmp 0x1011266d
cmp ecx, 0x30101
jne 0x10112643
test edx, edx
jne 0x10112643
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.10111b70
jmp 0x1011266a
cmp ecx, 0x21
jne 0x101126ce
test edx, edx
jne 0x101126ce
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.10111d20
add esp, 0x14
test eax, eax
jne 0x1011268b
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x3c]
inc ebx
mov edx, dword [ebp + 0x10]
cmp ebx, edx
jb 0x10112387
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101149a0
add esp, 0x60
ret
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101149a0
add esp, 0x60
ret
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101149a0
add esp, 0x60
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.101149a0
add esp, 0x60
ret
mov ecx, dword [esp + 0x6c]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101149a0
add esp, 0x60
ret