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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d7370
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 0x1003f419
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x1003f419
push 0xc
call fcn.100a979e
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x1003f42f
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x1003f42f
push 0xb
call fcn.100a979e
mov ebx, dword [ebp + 8]
mov byte [esp + 0x14], 0
test ebx, ebx
je 0x1003f663
mov esi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x1003f453
jmp dword [eax*4 + 0x1003f848]
mov ecx, dword [edi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x1003f4a8
test ecx, 0x100
jne 0x1003f47c
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x1003f453.1
mov eax, dword [edi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x14], eax
jmp 0x1003f64d
test byte [edi + 0x60], 2
jne 0x1003f4a8
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x1003f453.1
cmp byte [eax], 0xa
je case.0x1003f453.1
mov bl, 1
jmp 0x1003f667
mov ecx, dword [edi + 0x60]
test cl, 4
je 0x1003f4be
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x1003f4ca
test cl, 8
je 0x1003f4ce
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x1003f4ce
xor cl, cl
jmp 0x1003f529
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x1003f4e4
test ecx, 0x100
jne 0x1003f4e4
mov byte [esp + 0x13], 0
jmp 0x1003f4ff
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100ae6a0
add esp, 8
test eax, eax
setne byte [esp + 0x13]
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x1003f50a
xor al, al
jmp 0x1003f522
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.100ae6a0
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 0x1003f4a8
jmp case.0x1003f453.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003f4a8
mov cl, byte [eax]
cmp cl, 0xa
je 0x1003f4a8
cmp cl, 0xd
je 0x1003f4a8
inc eax
mov dword [edi], eax
jmp case.0x1003f453.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.1003f8a0
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x1003f4a8
mov dword [edi], eax
jmp case.0x1003f453.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003f4a8
push ebx
mov ecx, edi
call fcn.10040670
test al, al
je 0x1003f4a8
mov byte [esp + 0x14], 0
jmp 0x1003f651
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.1001fcd0
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.1003f3e0
cmp al, bl
jne 0x1003f62e
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.1001bf60
mov byte [esp + 0x14], 1
jmp 0x1003f630
mov dword [edi], esi
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.10018ba0
mov ebx, dword [ebp + 8]
mov esi, 1
mov eax, dword [esp + 0x14]
test al, al
jne 0x1003f663
test ebx, ebx
je 0x1003f663
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x1003f444
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x1003f672
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 0x1003f644
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 0x1003f6a0
jmp 0x1003f644
cmp byte [edi + 0x65], 0
mov esi, dword [ebx + 0x14]
jne 0x1003f6d6
cmp dword [esi + 0x14], 0
je 0x1003f644
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 0x1003f644
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 0x1003f644
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 0x1003f766
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.10040800
add esp, 0x18
mov eax, dword [eax]
cmp eax, dword [edi]
je 0x1003f4a8
mov dword [edi], eax
jmp 0x1003f644
push ebx
mov ecx, edi
call fcn.100402b0
mov ebx, dword [esp + 0x14]
test al, al
movzx ebx, bl
cmove ebx, esi
mov dword [esp + 0x14], ebx
xor ebx, ebx
jmp case.0x1003f453.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.10040440
mov edx, dword [esp + 0x14]
test al, al
movzx ecx, dl
cmove ecx, esi
mov byte [esp + 0x14], cl
xor ebx, ebx
jmp case.0x1003f453.1
mov edx, dword [ebx + 0x14]
mov eax, dword [edi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x1003f7b1
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x1003f79a
test dword [edi + 0x60], 0x2020
je 0x1003f7e8
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x1003f7f5
cmp byte [edi + 0x74], 0
je 0x1003f801
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1003f801
mov byte [esp + 0x14], 1
xor ebx, ebx
jmp case.0x1003f453.1
cmp byte [edi + 0x64], 0
je 0x1003f812
mov ecx, edi
call fcn.10021e30
test al, al
je 0x1003f7b1
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.1001bf60
lea eax, [edi + 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.1001b840
mov byte [edi + 0x64], 1
xor ebx, ebx
jmp case.0x1003f453.1
push 0xd
call fcn.100a979e
nop
dec ecx
test byte [ebx], 16
pop edx
hlt