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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067d59
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10081010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], eax
mov dword [eax], 0
mov dword [eax + 4], 0x20000000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
call sym.ISDI2.dll_private:_void___thiscall_CConsolidatedError::SetErrorCodeString_void_
push 0xa0
push 0
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 0x3c], 1
call fcn.10057490
mov eax, dword [esi + 0x78]
add esp, 0xc
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov al, byte [ebx + 6]
mov byte [edi + 9], al
movzx eax, al
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 1
cmp dword [ebx + 0x14], 0
jne 0x1002c1b5
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1002c1a2
call fcn.100113e0
cmp dword [eax + 0x20], 3
je 0x1002c1b5
mov dword [edi + 0x20], 0
mov dword [edi + 0x84], 0
jmp 0x1002c1ea
push dword [ebx + 8]
lea eax, [ebp - 0x34]
push str.Port._d
push 0x20
push eax
call fcn.1005686d
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
push 3
call fcn.10004630
mov ecx, eax
call fcn.10049b50
mov dword [edi + 0x20], eax
mov dword [edi + 0x84], 1
mov dword [edi + 0x24], 1
mov eax, dword [esi + 0x78]
mov dword [edi + 0x28], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x1002c24f
call fcn.1000afd0
mov eax, dword [eax]
shr eax, 0x15
and eax, 1
mov dword [edi + 0x2c], eax
mov ecx, dword [ebx + 0x10]
call fcn.1000afd0
mov eax, dword [eax]
shr eax, 0x12
and eax, 1
mov dword [edi + 0x30], eax
mov ecx, dword [ebx + 0x10]
call fcn.1000afd0
mov eax, dword [eax]
shr eax, 0x11
and eax, 1
mov dword [edi + 0x88], eax
mov ecx, dword [ebx + 0x10]
call fcn.1000afd0
mov eax, dword [eax]
shr eax, 0x14
and eax, 1
mov dword [edi + 0x80], eax
jmp 0x1002c267
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x34], 1
mov dword [edi + 0x3c], 1
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x1002c30c
call fcn.1000ae00
mov edx, 3
movzx ecx, word [eax]
cmp ecx, 1
jne 0x1002c297
mov dword [edi + 0x40], ecx
jmp 0x1002c2ab
cmp ecx, 2
jne 0x1002c2a1
mov dword [edi + 0x40], ecx
jmp 0x1002c2ab
xor eax, eax
cmp ecx, edx
cmove eax, edx
mov dword [edi + 0x40], eax
mov ecx, dword [ebx + 0x18]
call fcn.1000ae00
movzx ecx, word [eax + 4]
cmp ecx, 1
jne 0x1002c2c1
mov dword [edi + 0x38], ecx
jmp 0x1002c2db
cmp ecx, 2
jne 0x1002c2cb
mov dword [edi + 0x38], ecx
jmp 0x1002c2db
xor eax, eax
cmp ecx, 3
mov ecx, 3
cmove eax, ecx
mov dword [edi + 0x38], eax
mov ecx, dword [ebx + 0x18]
call fcn.1000ae00
movzx ecx, word [eax]
cmp ecx, 1
jne 0x1002c2f0
mov dword [edi + 0x44], ecx
jmp 0x1002c321
cmp ecx, 2
jne 0x1002c2fa
mov dword [edi + 0x44], ecx
jmp 0x1002c321
xor eax, eax
cmp ecx, 3
mov ecx, 3
cmove eax, ecx
mov dword [edi + 0x44], eax
jmp 0x1002c321
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x44], 0
push 0
push 0x10085c2c
push 0x10085c10
push 0
push esi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
call fcn.10066013
add esp, 0x14
test eax, eax
je 0x1002c3a6
mov ecx, dword [eax + 0x84]
call fcn.1000ad00
mov esi, dword [eax]
shr esi, 0x1c
and esi, 1
mov dword [edi + 0x7c], esi
mov edx, edi
mov ecx, ebx
call fcn.1002df70
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054bb7
mov esp, ebp
pop ebp
ret