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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d41e0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x1003a459
dec eax
mov dword [esi + 0x7c], eax
test eax, eax
jg 0x1003a459
push 0xc
call fcn.100a6cfe
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x1003a46f
dec eax
mov dword [esi + 0x78], eax
test eax, eax
jg 0x1003a46f
push 0xb
call fcn.100a6cfe
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x1003a6a7
mov edi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x1003a493
jmp dword [eax*4 + 0x1003a884]
mov ecx, dword [esi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x1003a4e8
test ecx, 0x100
jne 0x1003a4bc
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je case.0x1003a493.1
mov eax, dword [esi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x1003a691
test byte [esi + 0x60], 2
jne 0x1003a4e8
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je case.0x1003a493.1
cmp byte [eax], 0xa
je case.0x1003a493.1
mov bl, 1
jmp 0x1003a6ab
mov ecx, dword [esi + 0x60]
test cl, 4
je 0x1003a4fe
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je 0x1003a50a
test cl, 8
je 0x1003a50e
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x1003a50e
xor cl, cl
jmp 0x1003a569
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
jne 0x1003a524
test ecx, 0x100
jne 0x1003a524
mov byte [esp + 0xf], 0
jmp 0x1003a53f
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100abba0
add esp, 8
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x1003a54a
xor al, al
jmp 0x1003a562
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100abba0
add esp, 8
test eax, eax
setne al
cmp byte [esp + 0xf], al
setne cl
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x1003a4e8
jmp case.0x1003a493.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a4e8
mov cl, byte [eax]
cmp cl, 0xa
je 0x1003a4e8
cmp cl, 0xd
je 0x1003a4e8
inc eax
mov dword [esi], eax
jmp case.0x1003a493.1
mov eax, dword [esi + 0x60]
mov edx, dword [ebx + 0x1c]
and eax, 0x80
mov ecx, dword [ebx + 0x18]
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
lea eax, [ecx + edx]
mov ecx, dword [esi]
push dword [esi + 0x70]
push eax
push edx
mov edx, dword [esi + 0x50]
call fcn.1003a8e0
add esp, 0x14
cmp eax, dword [esi]
je 0x1003a4e8
mov dword [esi], eax
jmp case.0x1003a493.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a4e8
push ebx
mov ecx, esi
call fcn.1003bd60
test al, al
je 0x1003a4e8
mov byte [esp + 0x10], 0
jmp 0x1003a695
mov eax, dword [esi]
lea edi, [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 0xb
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
push edi
mov ecx, eax
mov dword [esp + 0x1c], eax
sete bl
call fcn.1001d9a0
mov dword [esp + 0x3c], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], 3
mov ecx, esi
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call fcn.1003a420
cmp al, bl
jne 0x1003a66e
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov dword [esi], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x20]
push eax
call fcn.10019ac0
mov byte [esp + 0x10], 1
jmp 0x1003a674
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10016920
mov ebx, dword [ebp + 8]
mov edi, 1
mov eax, dword [esp + 0x10]
test al, al
jne 0x1003a6a7
test ebx, ebx
je 0x1003a6a7
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x1003a484
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x1003a6b6
inc eax
mov dword [esi + 0x7c], eax
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
test bl, bl
mov dword fs:[0], ecx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [ecx + edx*8], eax
mov edi, dword [esi + 0x10]
cmp dword [ebx + 0x14], edi
jae 0x1003a688
mov ecx, dword [esi + 4]
dec edi
mov eax, edi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
not eax
and dword [edx], eax
cmp dword [ebx + 0x14], edi
jb 0x1003a6e4
jmp 0x1003a688
cmp byte [esi + 0x65], 0
mov edi, dword [ebx + 0x14]
jne 0x1003a71a
cmp dword [edi + 0x14], 0
je 0x1003a688
mov ecx, dword [edi + 0x14]
mov eax, ecx
mov edx, dword [esi + 4]
and ecx, 0x1f
shr eax, 5
lea edx, [edx + eax*4]
mov eax, 1
shl eax, cl
or dword [edx], eax
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1003a688
mov edi, dword [ebx + 0x14]
mov eax, edi
mov ecx, dword [esi + 4]
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, edi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x1003a688
mov eax, dword [esi + 0x14]
mov ecx, dword [esi]
mov edx, dword [eax + edi*8]
mov edi, dword [eax + edi*8 + 4]
cmp edx, edi
je 0x1003a7a3
mov eax, dword [esi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [esi + 0x5c]
push dword [esi + 0x70]
push edi
push edx
mov edx, dword [esi + 0x50]
call fcn.1003a8e0
mov ecx, eax
add esp, 0x14
cmp ecx, dword [esi]
je 0x1003a4e8
mov dword [esi], ecx
jmp 0x1003a688
push ebx
mov ecx, esi
call fcn.1003b9a0
mov ebx, dword [esp + 0x10]
test al, al
movzx ebx, bl
cmove ebx, edi
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp case.0x1003a493.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
mov ecx, esi
call fcn.1003bb30
mov edx, dword [esp + 0x10]
test al, al
movzx ecx, dl
cmove ecx, edi
mov byte [esp + 0x10], cl
xor ebx, ebx
jmp case.0x1003a493.1
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x1003a7ee
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x1003a7d7
test dword [esi + 0x60], 0x2020
je 0x1003a825
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi]
je 0x1003a832
cmp byte [esi + 0x74], 0
je 0x1003a83e
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a83e
mov byte [esp + 0x10], 1
xor ebx, ebx
jmp case.0x1003a493.1
invalid
cmp byte [esi + 0x64], 0
je 0x1003a84f
mov ecx, esi
call fcn.1001ee20
test al, al
je 0x1003a7ee
mov eax, dword [esi]
lea edx, [esi + 4]
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x24]
mov eax, dword [edx + 0xc]
push edx
mov dword [ecx + 0xc], eax
call fcn.10019ac0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x34]
call fcn.10019170
mov byte [esi + 0x64], 1
xor ebx, ebx
jmp case.0x1003a493.1
push 0xd
call fcn.100a6cfe
lea esp, [esi - 0x5b65effd]
add edx, dword [eax]
into
movsb byte es:[edi], byte [esi]
add edx, dword [eax]
out dx, eax
movsb byte es:[edi], byte [esi]
add edx, dword [eax]
jnp 0x1003a83b
add edx, dword [eax]
mov byte [0xde1003a5], al
movsd dword es:[edi], dword [esi]
add edx, dword [eax]
lea esp, [esi - 0x5972effd]
add edx, dword [eax]
add esp, dword [esi - 0x59fceffd]
add edx, dword [eax]
ret 0x3a7