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

Disassembly:
sub esp, 0x60
mov eax, dword [0x1017cf40]
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.1010c860
test eax, eax
jne 0x1010ceab
mov edx, dword [ebp + 0x10]
xor ebx, ebx
test edx, edx
je 0x1010cea9
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 0x1010cd07
cmp eax, 0x21
je 0x1010cd07
cmp eax, 0x30101
je 0x1010cd07
mov ecx, eax
mov eax, dword [ebp + 0xc]
cmp ecx, 0x303011b
jne 0x1010ccae
test eax, eax
jne 0x1010ccae
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
cmp ebx, 3
jne 0x1010ceee
lea edx, [ebx - 2]
mov ecx, eax
call fcn.1010ca00
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 0x1010ceab
cmp eax, edi
jne 0x1010cebe
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 0x1010cc5d
test esi, esi
jne 0x1010cebe
push edi
push esi
mov edx, eax
mov ecx, ebp
call fcn.1010c780
add esp, 8
test eax, eax
jne 0x1010ceab
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.1010ed00
add esp, 0x20
test eax, eax
jne 0x1010ceab
jmp 0x1010ce95
cmp ebx, 1
jne 0x1010ceee
cmp ecx, 0x3030103
jne 0x1010ccdf
test eax, eax
jne 0x1010ccdf
push ecx
mov dword [esp + 0x2c], eax
mov edx, edi
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, esi
call fcn.1010eb80
add esp, 0xc
jmp 0x1010ce99
cmp ecx, 0x3030501
jne 0x1010ceee
test eax, eax
jne 0x1010ceee
sub esp, 8
mov edx, edi
mov ecx, esi
call fcn.1010efc0
add esp, 8
jmp 0x1010ce99
xor ecx, ecx
cmp edx, 4
jne 0x1010cdbb
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 0x1010cd81
xor eax, eax
mov dword [esp + 0x10], edi
cmp eax, ecx
jne 0x1010cebe
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 0x1010cd71
test edi, edi
jne 0x1010cebe
mov eax, dword [esp + 0x2c]
neg ebp
mov dword [eax + ebp + 4], esi
mov dword [esp + ebp + 0x58], edi
jmp 0x1010cdaf
jne 0x1010ceee
test ecx, ecx
ja 0x1010ced6
mov esi, dword [esp + 0x14]
jb 0x1010cd9d
cmp edi, esi
ja 0x1010ced6
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.1010ca00
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 0x1010ceab
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
or eax, edx
jne 0x1010ce3b
mov ecx, dword [esp + 0x1c]
cmp ecx, edi
jne 0x1010cf06
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1010cf06
push eax
push ecx
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.1010c780
add esp, 8
jmp 0x1010ce8d
cmp ecx, 0x30101
jne 0x1010ce63
test edx, edx
jne 0x1010ce63
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.1010c390
jmp 0x1010ce8a
cmp ecx, 0x21
jne 0x1010ceee
test edx, edx
jne 0x1010ceee
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.1010c540
add esp, 0x14
test eax, eax
jne 0x1010ceab
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 0x1010cba7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1010f1c0
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.1010f1c0
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.1010f1c0
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.1010f1c0
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.1010f1c0
add esp, 0x60
ret