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

Disassembly:
sub esp, 0x34
push ebp
xor ebp, ebp
push edi
mov edi, eax
cmp dword [esp + 0x40], ebp
je 0x100cb413
call fcn.100ca720
lea ecx, [edi + 0x800]
call fcn.100c35c0
mov dword [esp + 0x40], eax
mov edx, dword [edi + 0x74]
cmp edx, ebp
je 0x100cb422
mov eax, dword [edi + 0x78]
cmp eax, dword [edi + 0x1c]
je 0x100cb451
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 4]
call eax
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x78], ebp
mov eax, dword [ecx]
call eax
mov dword [edi + 0x74], eax
cmp eax, ebp
jne 0x100cb44b
pop edi
mov eax, 2
pop ebp
add esp, 0x34
ret 8
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x78], ecx
mov edx, dword [edi + 0x7c]
cmp edx, ebp
je 0x100cb463
mov eax, dword [edi + 0x80]
cmp eax, dword [edi + 0x18]
je 0x100cb48b
mov ecx, dword [edi + 0x14]
mov eax, dword [ecx + 4]
call eax
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
mov dword [edi + 0x80], ebp
mov eax, dword [ecx]
call eax
mov dword [edi + 0x7c], eax
cmp eax, ebp
je 0x100cb43e
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x80], ecx
mov dword [edi + 0x378], ebp
mov dword [edi + 0x380], ebp
mov dword [edi + 0x384], ebp
mov edx, dword [edi + 0x58]
mov ecx, dword [edi + 0x50]
mov eax, dword [edi + 0x5c]
push ebx
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x54]
mov dword [esp + 0x30], ecx
xor ebx, ebx
xor ecx, ecx
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
jmp 0x100cb4d4
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jne 0x100cb541
cmp dword [esp + 0x48], ebp
je 0x100cb501
lea ecx, [edi + 0x800]
lea edx, [esp + 0x10]
call fcn.100c3640
xor ebx, ebx
mov dword [esp + 0x18], eax
cmp eax, ebp
jne 0x100cb4d0
xor ecx, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x68], ebp
jne 0x100cb541
mov eax, dword [edi + 0x80]
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x7c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx]
xor ebx, ebx
mov dword [esp + 0x1c], edx
call eax
mov ecx, dword [esp + 0x10]
add dword [edi + 0x60], ecx
mov dword [edi + 0x6c], eax
adc dword [edi + 0x64], ebp
cmp ecx, ebp
je 0x100cb53a
cmp eax, ebp
je 0x100cb541
mov dword [edi + 0x68], 1
mov esi, dword [edi + 0x1c]
sub esi, dword [esp + 0x14]
cmp dword [edi + 0x44], ebp
je 0x100cb577
mov eax, dword [edi + 0x48]
sub eax, dword [edi + 0x50]
mov edx, dword [edi + 0x4c]
sbb edx, dword [edi + 0x54]
mov dword [esp + 0x40], edx
xor edx, edx
cmp edx, dword [esp + 0x40]
jb 0x100cb577
ja 0x100cb56b
cmp esi, eax
jb 0x100cb577
mov esi, eax
cmp dword [edi + 0x40], edx
je 0x100cb577
mov ebp, 1
mov edx, ecx
sub edx, ebx
mov dword [esp + 0x1c], edx
xor edx, edx
cmp ebx, ecx
mov ecx, dword [esp + 0x18]
sete dl
lea eax, [esp + 0x28]
push eax
push ebp
lea eax, [esp + 0x24]
add ecx, ebx
mov dword [esp + 0x2c], esi
push edx
push eax
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [edi + 0x74]
add edx, dword [esp + 0x2c]
lea ecx, [edi + 0x88]
call fcn.100c9ca0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x7b0], eax
mov eax, dword [esp + 0x1c]
add edx, ecx
add ebx, eax
add dword [edi + 0x58], eax
mov dword [edi + 0x7b4], ebp
mov dword [esp + 0x14], edx
adc dword [edi + 0x5c], 0
add dword [edi + 0x50], ecx
adc dword [edi + 0x54], 0
test eax, eax
jne 0x100cb5f4
test ecx, ecx
je 0x100cb6b0
test ebp, ebp
jne 0x100cb6b0
mov dword [esp + 0x24], ebp
cmp ecx, esi
jb 0x100cb62c
test edx, edx
je 0x100cb62c
mov ecx, dword [edi + 0x38]
mov eax, dword [ecx]
push edx
mov edx, dword [edi + 0x74]
call eax
add dword [edi + 0x50], eax
mov ecx, 0
adc dword [edi + 0x54], ecx
cmp eax, dword [esp + 0x14]
jne 0x100cb6bd
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x3c], 0
je 0x100cb6a2
test ebp, ebp
jne 0x100cb6a2
mov esi, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
mov edx, esi
sub edx, dword [esp + 0x2c]
mov eax, ecx
sbb eax, dword [esp + 0x30]
test eax, eax
ja 0x100cb671
jb 0x100cb656
cmp edx, 0x400000
jae 0x100cb671
mov eax, dword [edi + 0x50]
sub eax, dword [esp + 0x34]
mov edx, dword [edi + 0x54]
sbb edx, dword [esp + 0x38]
mov dword [esp + 0x20], edx
jne 0x100cb671
cmp eax, 0x400000
jb 0x100cb6a2
mov eax, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
push eax
push edx
push ecx
mov ecx, dword [edi + 0x3c]
mov eax, dword [ecx]
push esi
call eax
test eax, eax
jne 0x100cb6d3
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x5c]
mov eax, dword [edi + 0x50]
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 0x54]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x24], 0
jne 0x100cb6eb
xor ebp, ebp
jmp 0x100cb4d0
mov dword [esp + 0x24], 1
jmp 0x100cb604
mov edx, dword [esp + 0x4c]
pop esi
pop ebx
mov eax, 9
pop edi
mov dword [edx + 0x38], eax
pop ebp
add esp, 0x34
ret 8
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
pop edi
mov dword [ecx + 0x38], 0xa
mov dword [ecx + 0x30], eax
pop ebp
add esp, 0x34
ret 8
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x34
ret 8