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

Disassembly:
cmp dword [ecx + 0x60], 0
jne 0x1002c3fc
cmp byte [ecx + 0x5d], 0
jne 0x1002c3fc
cmp dword [ecx + 0x24], 0
jne 0x1002c3f7
xor al, al
ret 4
jmp 0x1002c410
mov al, 1
ret 4
sub esp, 0x78
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x60], 0
je 0x1002c42b
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 4
mov ecx, dword [esi + 0x20]
xor bl, bl
test ecx, ecx
je 0x1002c442
cmp word [0x1005be30], 0x59
jb 0x1002c442
mov bh, 1
jmp 0x1002c444
xor bh, bh
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
movzx eax, bh
shl eax, 9
mov dword [esp + 0x14], eax
test ecx, ecx
jne 0x1002c4f8
mov ecx, dword [esi + 0x1c]
test cl, cl
jns 0x1002c4d5
mov bl, 1
jmp 0x1002c4f8
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x48]
jle 0x1002c4e5
mov eax, dword [esi + 0x54]
cmp eax, dword [esi + 0x4c]
jg 0x1002c4f8
test cl, 4
jne 0x1002c4f8
or ecx, 0x80
mov bl, 1
mov dword [esi + 0x1c], ecx
mov byte [esi + 0x10], bl
mov eax, dword [esi + 0x30]
lea edi, [esi + 0x28]
cmp eax, dword [edi]
jle 0x1002c50e
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 4]
jle 0x1002c50e
mov al, 1
jmp 0x1002c510
xor al, al
xor ecx, ecx
test al, al
mov eax, dword [esi + 0x50]
cmove edi, ecx
cmp eax, dword [esi + 0x48]
lea ecx, [esi + 0x48]
jle 0x1002c536
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 4]
jle 0x1002c536
test bl, bl
mov ebp, 0x10053bbc
cmove ebp, ecx
jmp 0x1002c538
xor ebp, ebp
mov ecx, dword [esp + 0x8c]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x20]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x24]
push edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x38]
push edx
call eax
test al, al
je 0x1002c6a7
mov edx, dword [esp + 0x14]
test edx, 0x100
je 0x1002c57e
mov ecx, esi
call fcn.1002c7c0
mov edx, dword [esp + 0x14]
or edx, dword [esi + 0x1c]
cmp word [0x1005be30], 0x40
mov dword [esp + 0x14], edx
jb 0x1002c5a8
mov eax, dword [esi + 0xc]
movzx edx, dx
mov eax, dword [eax + 0xc]
movzx ecx, word [eax + 0x404]
shl ecx, 0x10
or edx, ecx
mov dword [esp + 0x14], edx
test bh, bh
je 0x1002c5b1
mov eax, dword [esi + 0x20]
jmp 0x1002c5b3
xor eax, eax
push dword [esp + 0x18]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x94]
push dword [esp + 0x8c]
push ebp
push edi
push eax
push dword [esi + 0x24]
push esi
push edx
push dword [esi + 0x18]
call dword [0x1005be20]
test eax, eax
je 0x1002c6a7
mov ecx, dword [esi + 0x20]
test ecx, ecx
jne 0x1002c69c
xor bl, 1
mov dword [esi + 0x20], eax
mov byte [esi + 0x5e], bl
mov byte [esp + 0x13], 2
jmp 0x1002c6ac
cmp ecx, eax
jne 0x1002c6a7
mov byte [esp + 0x13], 2
jmp 0x1002c6ac
mov byte [esp + 0x13], 0
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edi, [esp + 0x88]
mov esi, 0x18
mov edi, edi
push dword [edi - 4]
lea edi, [edi - 4]
call ebx
sub esi, 1
jne 0x1002c6c0
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 4