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

Disassembly:
in al, dx
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1026a23c
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x28], eax
xor edi, edi
cmp dword [eax], edi
je 0x1023c5b5
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
push 0x10
pop esi
push esi
lea eax, [esp + 0x54]
mov dword [esp + 0xa4], edi
push edi
push eax
call dword [0x102ab714]
mov ebx, dword [ebp + 0x18]
add esp, 0xc
test ebx, ebx
je 0x1023c084
push ebx
call dword [0x102ab718]
pop ecx
mov dword [esp + 0x58], eax
jmp 0x1023c088
mov eax, dword [esp + 0x58]
test byte [ebp + 0xc], 0xc
mov dword [esp + 0x24], 0xfffffffd
je 0x1023c0a6
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], 0x10038a88
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edi
mov byte [esp + 0xa0], 1
test eax, eax
je 0x1023c225
xor ecx, ecx
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100e8637
mov ecx, dword [esp + 0x5c]
mov esi, eax
shl ecx, 4
push ecx
push edi
push esi
mov dword [esp + 0x60], esi
call dword [0x102ab714]
mov edx, dword [esp + 0x68]
add esp, 0x10
shl edx, 4
add edx, 0xfffffff0
mov dword [esp + 0x1c], ebx
add edx, esi
cmp byte [ebx], 0
mov dword [esp + 0x14], edx
je 0x1023c225
mov eax, dword [ebp + 0x1c]
lea esi, [edx + 8]
mov dword [esp + 0x18], esi
lea ebx, [eax - 4]
lea ecx, [eax - 8]
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
mov word [edx], ax
test al, 0x40
je 0x1023c140
and eax, 0xffbf
or eax, 0x4000
mov word [edx], ax
movzx eax, word [edx]
cmp eax, 0x4002
jg 0x1023c386
je 0x1023c183
sub eax, 2
cmp eax, 0x13
ja 0x1023c205
jmp dword [eax*4 + 0x1020c0b8]
add ecx, 4
add ebx, 4
mov eax, dword [ebx]
mov dword [esi], eax
jmp 0x1023c205
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
sub edx, 0x10
sub esi, 0x10
mov dword [esp + 0x14], edx
inc eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp byte [eax], 0
jne 0x1023c129
lea eax, [esp + 0x3c]
mov ebx, edi
push eax
call fcn.1024fd93
mov esi, dword [ebp + 0x10]
test si, si
je 0x1023c23d
lea ebx, [esp + 0x3c]
push 0x20
lea eax, [esp + 0x78]
push edi
push eax
call dword [0x102ab714]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x38]
or dword [esp + 0x38], 0xffffffff
add esp, 0xc
mov eax, dword [eax]
push edx
lea edx, [esp + 0x78]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x58]
push ebx
push edx
push dword [ebp + 0xc]
push edi
push 0x10003564
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
lea ecx, [esp + 0x60]
mov ebx, eax
call fcn.1023c751
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x1023c2cb
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
shl ecx, 4
add eax, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
cmp byte [eax], 0
je 0x1023c2cb
mov esi, dword [esp + 0x28]
mov edi, eax
mov al, byte [edi]
cmp al, 8
je 0x1023c2b6
cmp al, 0xe
jne 0x1023c2bd
push esi
call dword [0x102ab740]
sub esi, 0x10
inc edi
cmp byte [edi], 0
jne 0x1023c2ac
mov esi, dword [ebp + 0x10]
xor edi, edi
push dword [esp + 0x50]
call dword [0x102ab6d0]
mov dword [esp + 0x54], edi
pop ecx
test ebx, ebx
jns 0x1023c4d1
lea eax, [esp + 0x3c]
push eax
call dword [0x102ab740]
cmp ebx, 0x80020009
je 0x1023c400
push ebx
call fcn.102452f6
add ebx, 4
add ecx, 4
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x20]
mov esi, dword [ebx]
push esi
call fcn.101d76cb
mov byte [esp + 0xa0], 2
push dword [esp + 0x20]
call dword [0x102ab7f4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
test esi, esi
je 0x1023c339
test eax, eax
je 0x1023c3fb
mov eax, dword [esp + 0x14]
push 8
pop ecx
mov byte [esp + 0xa0], 1
mov word [eax], cx
mov ecx, dword [esp + 0x20]
lea ecx, [ecx - 0x10]
call fcn.10086faa
jmp 0x1023c1f9
sub eax, 0x4003
cmp eax, 0x12
ja 0x1023c205
jmp dword [eax*4 + 0x1020c108]
call fcn.1021f2ff
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x1023c412
lea ecx, [esp + 0x74]
push ecx
call eax
push 0x20
call fcn.100e8637
pop ecx
mov dword [esp + 0x28], eax
mov byte [esp + 0xa0], 4
test eax, eax
je 0x1023c439
push dword [esp + 0x74]
mov ecx, eax
push edi
push edi
call fcn.1023b909
mov edi, eax
mov byte [esp + 0xa0], 1
push dword [esp + 0x78]
mov esi, dword [0x102ab734]
call esi
test eax, eax
je 0x1023c45d
push dword [esp + 0x78]
lea ecx, [edi + 0x18]
call fcn.100ae0a8
push dword [esp + 0x78]
mov ebx, dword [0x102ab738]
call ebx
push dword [esp + 0x7c]
call esi
test eax, eax
je 0x1023c47f
push dword [esp + 0x7c]
lea ecx, [edi + 0xc]
call fcn.100ae0a8
push dword [esp + 0x7c]
call ebx
push dword [esp + 0x80]
call esi
test eax, eax
je 0x1023c4a1
push dword [esp + 0x80]
lea ecx, [edi + 0x14]
call fcn.100ae0a8
push dword [esp + 0x80]
call ebx
mov eax, dword [esp + 0x84]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x28]
push 0x1028bc2c
push eax
mov dword [esp + 0x30], edi
call fcn.10282925
test si, si
je case.default.0x1023c514
cmp si, 0xc
je 0x1023c505
push esi
push edi
lea eax, [esp + 0x44]
push eax
push eax
call dword [0x102ab73c]
mov edi, eax
test edi, edi
jns 0x1023c505
lea eax, [esp + 0x3c]
push eax
call dword [0x102ab740]
push edi
jmp 0x1023c2fa
movzx eax, si
add eax, 0xfffffffe
cmp eax, 0x13
ja case.default.0x1023c514
jmp dword [eax*4 + 0x1020c154]
lea ecx, [esp + 0x60]
call fcn.1023bae1
cmp dword [esp + 0x50], 0
je 0x1023c5b5
push dword [esp + 0x50]
call dword [0x102ab6d0]
pop ecx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18