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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov cl, byte [ebp + 0x28]
mov edx, dword [ebp + 0x20]
mov dword [esi], 0x1021a730
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x9c], eax
mov al, byte [ebp + 0x24]
mov byte [esi + 0xa4], al
mov byte [esi + 0xa5], cl
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, edi
test edi, edi
jne 0x100cfd85
push 0x9c
call fcn.101eb996
add esp, 4
mov edi, eax
mov ecx, eax
push 0
call fcn.10194750
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0xc]
mov eax, edi
cmp dword [ebp + 8], 0
mov dword [esi + 4], eax
setne byte [esi + 0xac]
xor edi, edi
inc edi
test ebx, ebx
cmovle ebx, edi
mov eax, dword [ebp + 0x1c]
cmp eax, edi
cmovg edi, eax
mov byte [esi + 0xad], 1
mov dword [esi + 8], 0
mov dword [esi + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x1c], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 0x18], edi
mov word [esi + 0x1a], di
mov dword [esi + 0x30], edx
push edx
mov edi, ecx
call fcn.100cfa0e
add esp, 4
mov ebx, eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x100cfdf4
cmp dword [ebp + 8], 0
sete dl
imul ebx, eax
mov cl, byte [ebp + 0x28]
and dl, cl
mov ecx, edi
jmp 0x100cfe33
cmp dword [ebp + 8], 0
sete al
mov cl, byte [ebp + 0x28]
and al, cl
mov byte [ebp - 0x10], al
xor edx, edx
movzx eax, al
mov dword [ebp - 0x14], eax
push eax
mov ecx, dword [ebp + 0x20]
push ecx
push edx
push edi
call fcn.100cfb58
add esp, 0x10
mov ebx, eax
push dword [ebp - 0x14]
push dword [ebp + 0x20]
xor eax, eax
push eax
push edi
call fcn.100cfbfc
mov dl, byte [ebp - 0x10]
mov ecx, edi
add esp, 0x10
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
movzx edi, dl
xor edx, edx
push edi
mov eax, dword [ebp + 0x20]
push eax
push edx
mov eax, dword [ebp + 0x10]
push eax
push ecx
mov ebx, ecx
call fcn.100cfc32
add esp, 0x14
mov dword [esi + 0x28], eax
push edi
push dword [ebp + 0x20]
xor eax, eax
push eax
xor edi, edi
push dword [ebp + 0x10]
push ebx
call fcn.100cfcca
add esp, 0x14
mov dword [esi + 0x2c], eax
mov word [esi + 0x18], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], ebx
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x18]
mov word [esi + 0x4e], ax
mov ecx, esi
push dword [ebp + 0x20]
call fcn.100cfa2a
mov ebx, eax
mov dword [esi + 0x64], eax
push eax
call fcn.100cfa0e
add esp, 4
mov edi, eax
mov dword [esi + 0x50], eax
movzx ecx, byte [ebp + 0x28]
mov eax, dword [ebp + 0x2c]
test eax, eax
mov dword [ebp - 0x10], ecx
je 0x100cfec8
imul edi, eax
jmp 0x100cfef1
push ecx
push ebx
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.100cfb58
add esp, 0x10
mov edi, eax
push dword [ebp - 0x10]
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.100cfbfc
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], eax
push ecx
push ebx
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x14], ebx
mov ebx, ecx
call fcn.100cfc32
add esp, 0x14
mov dword [esi + 0x5c], eax
push ebx
push dword [ebp - 0x14]
mov ebx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push edi
call fcn.100cfcca
add esp, 0x14
mov dword [esi + 0x60], eax
mov word [esi + 0x4c], bx
mov dword [esi + 0x68], 0
mov byte [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], edi
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp - 0x18]
mov word [esi + 0x82], ax
mov ecx, dword [ebp + 0x20]
lea eax, [ecx - 0x69]
mov ebx, 0
cmp eax, 0xd
ja 0x100cff72
mov ebx, dword [ecx*4 + 0x1021a798]
mov dword [esi + 0x98], ebx
push ebx
call fcn.100cfa0e
add esp, 4
mov dword [esi + 0x84], eax
mov edi, dword [ebp - 0x10]
push edi
push ebx
xor eax, eax
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.100cfb58
add esp, 0x10
mov dword [esi + 0x88], eax
push edi
push ebx
xor eax, eax
push eax
push dword [ebp + 0xc]
call fcn.100cfbfc
add esp, 0x10
mov dword [esi + 0x8c], eax
push edi
push ebx
xor eax, eax
push eax
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call fcn.100cfc32
add esp, 0x14
mov dword [esi + 0x90], eax
push edi
push ebx
xor edi, edi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.100cfcca
add esp, 0x14
invalid
invalid
xchg esp, eax
invalid