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

Disassembly:
sub esp, 0x38
push esi
mov eax, edx
mov dword [esp + 0xc], edx
mov esi, ecx
push edi
test eax, eax
je 0x100cfe45
call fcn.100d0290
lea ecx, [esi + 0x800]
call fcn.100c85f0
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x74]
lea edi, [esi + 0x1c]
mov dword [esp + 0x38], edi
test edx, edx
je 0x100cfe5a
mov eax, dword [esi + 0x78]
cmp eax, dword [edi]
je 0x100cfe93
mov eax, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [edi]
mov dword [esi + 0x78], 0
mov eax, dword [eax]
call eax
mov dword [esi + 0x74], eax
test eax, eax
jne 0x100cfe8a
pop edi
mov eax, 2
pop esi
add esp, 0x38
ret 4
mov eax, dword [edi]
mov dword [esi + 0x78], eax
mov dword [esp + 0x38], edi
mov edx, dword [esi + 0x7c]
push ebx
lea ebx, [esi + 0x80]
mov dword [esp + 0x1c], ebx
test edx, edx
je 0x100cfeac
mov eax, dword [ebx]
cmp eax, dword [esi + 0x18]
je 0x100cfee6
mov eax, dword [esi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [esi + 0x18]
mov dword [ebx], 0
mov eax, dword [eax]
call eax
mov dword [esi + 0x7c], eax
test eax, eax
jne 0x100cfedd
pop ebx
pop edi
mov eax, 2
pop esi
add esp, 0x38
ret 4
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x378], 0
xor ecx, ecx
mov dword [esi + 0x380], 0
xor ebx, ebx
mov dword [esi + 0x384], 0
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]
push ebp
mov dword [esp + 0x3c], eax
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ecx
cmp ebx, ecx
jne 0x100cffb6
cmp dword [esp + 0x18], 0
je 0x100cff6d
lea ecx, [esi + 0x800]
lea edx, [esp + 0x14]
call fcn.100c8760
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
test eax, eax
je 0x100cff61
mov ecx, dword [esp + 0x14]
jmp 0x100cff33
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x68], 0
jne 0x100cffb6
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
mov ecx, dword [esi + 0x7c]
xor ebx, ebx
push edx
mov dword [esp + 0x20], ecx
mov edx, ecx
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x34]
mov ecx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x14]
add dword [esi + 0x60], ecx
mov dword [esi + 0x6c], eax
adc dword [esi + 0x64], ebx
test ecx, ecx
je 0x100cffaf
test eax, eax
je 0x100cffb6
mov dword [esi + 0x68], 1
mov edi, dword [edi]
xor edx, edx
sub edi, ebp
cmp dword [esi + 0x44], edx
je 0x100cffe8
mov ebx, dword [esi + 0x48]
sub ebx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
cmp edx, eax
jb 0x100cffe4
ja 0x100cffd7
cmp edi, ebx
jb 0x100cffe4
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 + 0x2c], edi
sub eax, ebx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x44]
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 + 0x30]
push eax
mov eax, dword [esp + 0x2c]
add eax, ebx
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100d04a0
mov ecx, dword [esp + 0x44]
mov ebx, eax
mov edx, dword [esp + 0x2c]
add ebp, edx
mov dword [esi + 0x7b0], ecx
mov ecx, dword [esp + 0x24]
add dword [esp + 0x10], ecx
add dword [esi + 0x58], ecx
mov dword [esi + 0x7b4], ebx
adc dword [esi + 0x5c], 0
add dword [esi + 0x50], edx
adc dword [esi + 0x54], 0
test ecx, ecx
jne 0x100d0059
test edx, edx
je 0x100d0067
test ebx, ebx
jne 0x100d0067
mov dword [esp + 0x2c], ebx
cmp edx, edi
jb 0x100d008a
jmp 0x100d006f
mov dword [esp + 0x2c], 1
test ebp, ebp
je 0x100d008a
mov eax, dword [esi + 0x38]
mov ecx, eax
mov edx, dword [esi + 0x74]
push ebp
mov eax, dword [eax]
call eax
cmp eax, ebp
jne 0x100d0119
xor ebp, ebp
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x100d0101
test ebx, ebx
jne 0x100d0101
mov ebx, dword [esi + 0x58]
mov ecx, ebx
sub ecx, dword [esp + 0x30]
mov edi, dword [esi + 0x5c]
mov eax, edi
sbb eax, dword [esp + 0x34]
test eax, eax
ja 0x100d00d1
jb 0x100d00b5
cmp ecx, 0x400000
jae 0x100d00d1
mov ecx, dword [esi + 0x50]
sub ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x54]
sbb eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
jne 0x100d00d1
cmp ecx, 0x400000
jb 0x100d0101
push dword [esi + 0x54]
mov eax, dword [edx]
mov ecx, edx
push dword [esi + 0x50]
push edi
push ebx
call eax
mov ecx, eax
test ecx, ecx
jne 0x100d0133
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x50]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x2c], 0
jne 0x100d014d
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
jmp 0x100cff33
mov eax, dword [esp + 0x4c]
pop ebp
pop ebx
pop edi
mov dword [eax + 0x38], 9
mov eax, 9
pop esi
add esp, 0x38
ret 4
mov eax, dword [esp + 0x4c]
pop ebp
pop ebx
pop edi
mov dword [eax + 0x38], 0xa
mov dword [eax + 0x30], ecx
mov eax, ecx
pop esi
add esp, 0x38
ret 4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x38
ret 4