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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d41c0
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 0x1003a439
dec eax
mov dword [esi + 0x7c], eax
test eax, eax
jg 0x1003a439
push 0xc
call fcn.100a6cde
mov eax, dword [esi + 0x78]
test eax, eax
jle 0x1003a44f
dec eax
mov dword [esi + 0x78], eax
test eax, eax
jg 0x1003a44f
push 0xb
call fcn.100a6cde
mov ebx, dword [ebp + 8]
mov byte [esp + 0x10], 0
test ebx, ebx
je 0x1003a687
mov edi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x1003a473
jmp dword [eax*4 + 0x1003a864]
mov ecx, dword [esi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x1003a4c8
test ecx, 0x100
jne 0x1003a49c
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je case.0x1003a473.1
mov eax, dword [esi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x10], eax
jmp 0x1003a671
test byte [esi + 0x60], 2
jne 0x1003a4c8
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je case.0x1003a473.1
cmp byte [eax], 0xa
je case.0x1003a473.1
mov bl, 1
jmp 0x1003a68b
mov ecx, dword [esi + 0x60]
test cl, 4
je 0x1003a4de
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
je 0x1003a4ea
test cl, 8
je 0x1003a4ee
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x1003a4ee
xor cl, cl
jmp 0x1003a549
mov eax, dword [esi]
cmp eax, dword [esi + 0x4c]
jne 0x1003a504
test ecx, 0x100
jne 0x1003a504
mov byte [esp + 0xf], 0
jmp 0x1003a51f
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100abb80
add esp, 8
test eax, eax
setne byte [esp + 0xf]
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
jne 0x1003a52a
xor al, al
jmp 0x1003a542
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100abb80
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 0x1003a4c8
jmp case.0x1003a473.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a4c8
mov cl, byte [eax]
cmp cl, 0xa
je 0x1003a4c8
cmp cl, 0xd
je 0x1003a4c8
inc eax
mov dword [esi], eax
jmp case.0x1003a473.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.1003a8c0
add esp, 0x14
cmp eax, dword [esi]
je 0x1003a4c8
mov dword [esi], eax
jmp case.0x1003a473.1
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
je 0x1003a4c8
push ebx
mov ecx, esi
call fcn.1003bd40
test al, al
je 0x1003a4c8
mov byte [esp + 0x10], 0
jmp 0x1003a675
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.1001d990
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.1003a400
cmp al, bl
jne 0x1003a64e
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.10019ab0
mov byte [esp + 0x10], 1
jmp 0x1003a654
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10016910
mov ebx, dword [ebp + 8]
mov edi, 1
mov eax, dword [esp + 0x10]
test al, al
jne 0x1003a687
test ebx, ebx
je 0x1003a687
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x1003a464
mov ebx, dword [esp + 0x10]
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x1003a696
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 0x1003a668
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 0x1003a6c4
jmp 0x1003a668
cmp byte [esi + 0x65], 0
mov edi, dword [ebx + 0x14]
jne 0x1003a6fa
cmp dword [edi + 0x14], 0
je 0x1003a668
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 0x1003a668
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 0x1003a668
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 0x1003a783
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.1003a8c0
mov ecx, eax
add esp, 0x14
cmp ecx, dword [esi]
je 0x1003a4c8
mov dword [esi], ecx
jmp 0x1003a668
push ebx
mov ecx, esi
call fcn.1003b980
mov ebx, dword [esp + 0x10]
test al, al
movzx ebx, bl
cmove ebx, edi
mov dword [esp + 0x10], ebx
xor ebx, ebx
jmp case.0x1003a473.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.1003bb10
mov edx, dword [esp + 0x10]
test al, al
movzx ecx, dl
cmove ecx, edi
mov byte [esp + 0x10], cl
xor ebx, ebx
jmp case.0x1003a473.1
mov edx, dword [ebx + 0x14]
mov eax, dword [esi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x1003a7ce
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x1003a7b7
test dword [esi + 0x60], 0x2020
je 0x1003a805
mov eax, dword [esi + 0x4c]
cmp eax, dword [esi]
je 0x1003a812
cmp byte [esi + 0x74], 0
je 0x1003a81e
mov eax, dword [esi]
cmp eax, dword [esi + 0x50]
inc esi
push eax
je 0x1003a81e
mov byte [esp + 0x10], 1
xor ebx, ebx
jmp case.0x1003a473.1
cmp byte [esi + 0x64], 0
je 0x1003a82f
mov ecx, esi
call fcn.1001ee10
test al, al
je 0x1003a7ce
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.10019ab0
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 0x34]
call fcn.10019160
mov byte [esi + 0x64], 1
xor ebx, ebx
jmp case.0x1003a473.1
push 0xd
call fcn.100a6cde
insd dword es:[edi], dx
cmpsb byte [esi], byte es:[edi]
add edx, dword [eax]
jp 0x1003a80e
add edx, dword [eax]
scasb al, byte es:[edi]
movsb byte es:[edi], byte [esi]
add edx, dword [eax]
iretd