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

Disassembly:
sub esp, 0x50
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], edi
mov esi, ecx
test edi, edi
je 0x100c9f1c
call fcn.100c8f90
lea ecx, [esi + 0x7d0]
call fcn.100f7ec0
mov edi, eax
mov dword [esp + 0x20], eax
mov ecx, dword [esi + 0x74]
lea ebx, [esi + 0x1c]
test ecx, ecx
je 0x100c9f31
mov eax, dword [esi + 0x78]
mov dword [esp + 0x28], ebx
cmp eax, dword [ebx]
je 0x100c9f63
mov eax, dword [esi + 0x14]
push ecx
push eax
mov dword [esp + 0x30], ebx
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
push dword [ebx]
mov dword [esi + 0x78], 0
push eax
mov eax, dword [eax]
call eax
add esp, 0x10
mov dword [esi + 0x74], eax
test eax, eax
je 0x100ca25e
mov eax, dword [ebx]
mov dword [esi + 0x78], eax
mov ecx, dword [esi + 0x7c]
lea ebx, [esi + 0x80]
test ecx, ecx
je 0x100c9f7b
mov eax, dword [ebx]
mov dword [esp + 0x24], ebx
cmp eax, dword [esi + 0x18]
je 0x100c9fad
mov eax, dword [esi + 0x14]
push ecx
push eax
mov dword [esp + 0x2c], ebx
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
push dword [esi + 0x18]
mov dword [ebx], 0
push eax
mov eax, dword [eax]
call eax
add esp, 0x10
mov dword [esi + 0x7c], eax
test eax, eax
je 0x100ca25e
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
mov dword [esi + 0x348], 0
xor ecx, ecx
mov dword [esi + 0x350], 0
xor ebx, ebx
mov dword [esi + 0x354], 0
xor ebp, ebp
mov eax, dword [esi + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebp
nop dword [eax]
cmp ebx, ecx
jne 0x100ca07f
test edi, edi
je 0x100ca035
lea ecx, [esi + 0x7d0]
lea edx, [esp + 0x4c]
call fcn.100f7f60
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
test eax, eax
je 0x100ca02b
mov ecx, dword [esp + 0x4c]
jmp 0x100ca000
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], ecx
cmp dword [esi + 0x68], 0
jne 0x100ca07f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov ecx, dword [esi + 0x7c]
xor ebx, ebx
push edx
push ecx
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x58]
add esp, 0xc
add dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
adc dword [esi + 0x64], ebx
test ecx, ecx
je 0x100ca078
test eax, eax
je 0x100ca07f
mov dword [esi + 0x68], 1
mov eax, dword [esp + 0x28]
xor edx, edx
mov edi, dword [eax]
sub edi, ebp
cmp dword [esi + 0x44], edx
je 0x100ca0b5
mov ebx, dword [esi + 0x48]
sub ebx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
cmp edx, eax
jb 0x100ca0b1
ja 0x100ca0a4
cmp edi, ebx
jb 0x100ca0b1
cmp dword [esi + 0x40], edx
mov eax, 1
mov edi, ebx
cmovne edx, eax
mov ebx, dword [esp + 0x10]
mov eax, ecx
mov dword [esp + 0x54], edi
sub eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x58]
push eax
xor eax, eax
cmp ebx, ecx
push edx
mov edx, dword [esi + 0x74]
lea ecx, [esi + 0x88]
sete al
add edx, ebp
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x2c]
add eax, ebx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.100c8350
mov ecx, dword [esp + 0x70]
mov ebp, eax
mov eax, dword [esp + 0x6c]
add esp, 0x18
add dword [esp + 0x14], eax
mov edx, eax
mov dword [esi + 0x780], ecx
mov ecx, dword [esp + 0x50]
add ebx, ecx
add dword [esi + 0x58], ecx
mov dword [esp + 0x10], ebx
mov ebx, 0
adc dword [esi + 0x5c], 0
add edx, dword [esi + 0x50]
mov dword [esi + 0x784], ebp
adc ebx, dword [esi + 0x54]
mov dword [esi + 0x50], edx
mov dword [esi + 0x54], ebx
test ecx, ecx
jne 0x100ca139
test eax, eax
je 0x100ca147
test ebp, ebp
jne 0x100ca147
mov dword [esp + 0x18], ebp
cmp eax, edi
jb 0x100ca189
jmp 0x100ca14f
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100ca189
mov eax, dword [esi + 0x38]
push edi
push dword [esi + 0x74]
push eax
mov eax, dword [eax]
call eax
add esp, 0xc
mov edx, eax
add edx, dword [esi + 0x50]
mov ebx, 0
mov dword [esi + 0x50], edx
adc ebx, dword [esi + 0x54]
mov dword [esi + 0x54], ebx
cmp eax, edi
jne 0x100ca218
mov dword [esp + 0x14], 0
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x100ca1fc
test ebp, ebp
jne 0x100ca1fc
mov ecx, dword [esi + 0x58]
sub ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x5c]
sbb eax, dword [esp + 0x30]
test eax, eax
ja 0x100ca1ca
jb 0x100ca1b0
cmp ecx, 0x400000
jae 0x100ca1ca
mov ecx, edx
mov eax, ebx
sub ecx, dword [esp + 0x34]
sbb eax, dword [esp + 0x38]
mov dword [esp + 0x44], eax
jne 0x100ca1ca
cmp ecx, 0x400000
jb 0x100ca1fc
mov eax, dword [edi]
push ebx
push edx
push dword [esi + 0x5c]
push dword [esi + 0x58]
push edi
call eax
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x100ca23b
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x50]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
cmp dword [esp + 0x18], 0
jne 0x100ca249
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
jmp 0x100ca000
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x38], 9
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10142783
add esp, 0x50
ret
mov eax, dword [esp + 0x3c]
mov dword [eax + 0x38], 0xa
mov dword [eax + 0x30], ebp
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10142783
add esp, 0x50
ret
mov ecx, dword [esp + 0x5c]
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x50
ret