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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d8f10
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x1003f679
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x1003f679
push 0xc
call fcn.100ab3be
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x1003f68f
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x1003f68f
push 0xb
call fcn.100ab3be
mov ebx, dword [ebp + 8]
mov byte [esp + 0x14], 0
test ebx, ebx
je 0x1003f8c3
mov esi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x1003f6b3
jmp dword [eax*4 + 0x1003faa8]
mov ecx, dword [edi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x1003f708
test ecx, 0x100
jne 0x1003f6dc
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x1003f6b3.1
mov eax, dword [edi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x14], eax
jmp 0x1003f8ad
test byte [edi + 0x60], 2
jne 0x1003f708
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x1003f6b3.1
cmp byte [eax], 0xa
je case.0x1003f6b3.1
mov bl, 1
jmp 0x1003f8c7
mov ecx, dword [edi + 0x60]
test cl, 4
je 0x1003f71e
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x1003f72a
test cl, 8
je 0x1003f72e
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x1003f72e
xor cl, cl
jmp 0x1003f789
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x1003f744
test ecx, 0x100
jne 0x1003f744
mov byte [esp + 0x13], 0
jmp 0x1003f75f
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100b02c0
add esp, 8
test eax, eax
setne byte [esp + 0x13]
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x1003f76a
xor al, al
jmp 0x1003f782
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100b02c0
add esp, 8
test eax, eax
setne al
cmp byte [esp + 0x13], al
setne cl
mov al, byte [ebx + 8]
and al, 1
cmp cl, al
je 0x1003f708
jmp case.0x1003f6b3.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003f708
mov cl, byte [eax]
cmp cl, 0xa
je 0x1003f708
cmp cl, 0xd
je 0x1003f708
inc eax
mov dword [edi], eax
jmp case.0x1003f6b3.1
mov eax, dword [edi + 0x60]
mov ecx, dword [ebx + 0x18]
and eax, 0x80
mov edx, dword [ebx + 0x1c]
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
lea eax, [ecx + edx]
push dword [edi + 0x70]
lea ecx, [esp + 0x28]
push eax
push dword [edi + 0x50]
push dword [edi]
call fcn.1003fb00
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x1003f708
mov dword [edi], eax
jmp case.0x1003f6b3.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003f708
push ebx
mov ecx, edi
call fcn.100408d0
test al, al
je 0x1003f708
mov byte [esp + 0x14], 0
jmp 0x1003f8b1
mov esi, dword [edi]
lea eax, [edi + 4]
cmp ecx, 0xb
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x28]
push eax
sete bl
mov dword [esp + 0x1c], ecx
call fcn.1001fc50
mov dword [esp + 0x44], 0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], 3
mov ecx, edi
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
call fcn.1003f640
cmp al, bl
jne 0x1003f88e
mov eax, dword [esp + 0x24]
lea ecx, [edi + 4]
mov dword [edi], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.1001bfc0
mov byte [esp + 0x14], 1
jmp 0x1003f890
mov dword [edi], esi
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10018bb0
mov ebx, dword [ebp + 8]
mov esi, 1
mov eax, dword [esp + 0x14]
test al, al
jne 0x1003f8c3
test ebx, ebx
je 0x1003f8c3
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x1003f6a4
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x1003f8d2
inc eax
mov dword [edi + 0x7c], eax
mov ecx, dword [esp + 0x3c]
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 [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov esi, dword [edi + 0x10]
cmp dword [ebx + 0x14], esi
jae 0x1003f8a4
mov ecx, dword [edi + 4]
dec esi
mov eax, esi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
not eax
and dword [edx], eax
cmp dword [ebx + 0x14], esi
jb 0x1003f900
jmp 0x1003f8a4
cmp byte [edi + 0x65], 0
mov esi, dword [ebx + 0x14]
jne 0x1003f936
cmp dword [esi + 0x14], 0
je 0x1003f8a4
mov ecx, dword [esi + 0x14]
mov eax, ecx
mov edx, dword [edi + 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 [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1003f8a4
mov esi, dword [ebx + 0x14]
mov eax, esi
mov ecx, dword [edi + 4]
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
je 0x1003f8a4
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
lea edx, [ecx + esi*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
cmp ecx, edx
je 0x1003f9c6
mov eax, dword [edi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
push edx
mov edx, dword [edi + 0x70]
push ecx
push dword [edi + 0x50]
lea ecx, [esp + 0x34]
push dword [edi]
call fcn.10040a60
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x1003f708
mov dword [edi], eax
jmp 0x1003f8a4
push ebx
mov ecx, edi
call fcn.10040510
mov ebx, dword [esp + 0x14]
test al, al
movzx ebx, bl
cmove ebx, esi
mov dword [esp + 0x14], ebx
xor ebx, ebx
jmp case.0x1003f6b3.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
push 0
movzx eax, al
push eax
push ebx
mov ecx, edi
call fcn.100406a0
mov edx, dword [esp + 0x14]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0x14], cl
xor ebx, ebx
jmp case.0x1003f6b3.1
mov edx, dword [ebx + 0x14]
mov eax, dword [edi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x1003fa11
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x1003f9fa
test dword [edi + 0x60], 0x2020
je 0x1003fa48
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x1003fa55
cmp byte [edi + 0x74], 0
je 0x1003fa61
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003fa61
mov byte [esp + 0x14], 1
xor ebx, ebx
jmp case.0x1003f6b3.1
cmp byte [edi + 0x64], 0
je 0x1003fa72
mov ecx, edi
call fcn.10021e10
test al, al
je 0x1003fa11
mov eax, dword [edi]
lea edx, [edi + 4]
mov dword [edi + 0x20], eax
lea ecx, [edi + 0x24]
mov eax, dword [edx + 0xc]
push edx
mov dword [ecx + 0xc], eax
call fcn.1001bfc0
lea eax, [edi + 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.1001b8a0
mov byte [edi + 0x64], 1
xor ebx, ebx
jmp case.0x1003f6b3.1
push 0xd
call fcn.100ab3be
nop
test eax, 0xba1003f8
test byte [ebx], 16
out dx, al
test byte [ebx], 16
invalid