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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100a85e8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x10040519
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x10040519
push 0xc
call fcn.100817e6
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x1004052f
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x1004052f
push 0xb
call fcn.100817e6
mov ebx, dword [ebp + 8]
mov byte [esp + 0x14], 0
test ebx, ebx
je 0x10040763
mov esi, 1
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x14
ja case.default.0x10040553
jmp dword [eax*4 + 0x10040974]
mov ecx, dword [edi + 0x60]
mov eax, ecx
and eax, 0x101
cmp eax, 1
je 0x100405a8
test ecx, 0x100
jne 0x1004057c
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x10040553.1
mov eax, dword [edi]
cmp byte [eax - 1], 0xa
setne al
mov dword [esp + 0x14], eax
jmp 0x1004074d
test byte [edi + 0x60], 2
jne 0x100405a8
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x10040553.1
cmp byte [eax], 0xa
je case.0x10040553.1
mov bl, 1
jmp 0x10040767
mov ecx, dword [edi + 0x60]
test cl, 4
je 0x100405be
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x100405ca
test cl, 8
je 0x100405ce
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x100405ce
xor cl, cl
jmp 0x10040629
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
jne 0x100405e4
test ecx, 0x100
jne 0x100405e4
mov byte [esp + 0x13], 0
jmp 0x100405ff
mov al, byte [eax - 1]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.10087220
add esp, 8
test eax, eax
setne byte [esp + 0x13]
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x1004060a
xor al, al
jmp 0x10040622
mov al, byte [eax]
movsx eax, al
push eax
push str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_
call fcn.10087220
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 0x100405a8
jmp case.0x10040553.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x100405a8
mov cl, byte [eax]
cmp cl, 0xa
je 0x100405a8
cmp cl, 0xd
je 0x100405a8
inc eax
mov dword [edi], eax
jmp case.0x10040553.1
mov eax, dword [edi + 0x60]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
and eax, 0x80
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.10040fa0
mov eax, dword [eax]
add esp, 0x18
cmp eax, dword [edi]
je 0x100405a8
mov dword [edi], eax
jmp case.0x10040553.1
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x100405a8
push ebx
mov ecx, edi
call fcn.10040db0
test al, al
je 0x100405a8
mov byte [esp + 0x14], 0
jmp 0x10040751
mov esi, dword [edi]
cmp ecx, 0xb
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x3c]
sete bl
mov dword [esp + 0x38], esi
call fcn.100222a0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x54], 0
push dword [eax + 0x14]
mov ecx, edi
call fcn.100404e0
cmp al, bl
jne 0x10040726
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov dword [edi], eax
mov dword [edi + 0x10], ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 4]
call fcn.100222f0
mov byte [esp + 0x14], 1
jmp 0x10040728
mov dword [edi], esi
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10040741
push eax
call fcn.100852d7
add esp, 4
mov ebx, dword [ebp + 8]
mov esi, 1
mov eax, dword [esp + 0x14]
test al, al
jne 0x10040763
test ebx, ebx
je 0x10040763
mov ebx, dword [ebx + 0xc]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x10040544
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x10040772
inc eax
mov dword [edi + 0x7c], eax
mov ecx, dword [esp + 0x4c]
pop edi
xor eax, eax
test bl, bl
pop esi
sete al
mov dword fs:[0], ecx
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 eax, dword [edi + 0x10]
cmp dword [ebx + 0x14], eax
jae case.0x10040553.1
dec eax
mov esi, dword [edi + 4]
jns 0x100407bf
mov ecx, eax
neg ecx
je 0x100407bf
or ecx, 0xffffffff
sub ecx, eax
shr ecx, 5
lea ecx, [ecx*4 + 4]
sub esi, ecx
jmp 0x100407c7
mov ecx, eax
shr ecx, 5
lea esi, [esi + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
not edx
and dword [esi], edx
cmp dword [ebx + 0x14], eax
jb 0x100407a0
jmp 0x10040744
cmp byte [edi + 0x65], 0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
jne 0x100407f8
cmp dword [eax + 0x14], 0
je case.0x10040553.1
push dword [eax + 0x14]
lea eax, [esp + 0x28]
lea ecx, [edi + 4]
push eax
call fcn.100381c0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, 1
shl edx, cl
or dword [esi], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
mov edx, dword [edx + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x10040744
mov esi, dword [ebx + 0x14]
push esi
lea eax, [esp + 0x30]
lea ecx, [edi + 4]
push eax
call fcn.100381c0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
test dword [eax], edx
je 0x10040744
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 0x10040893
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.10041020
mov eax, dword [eax]
add esp, 0x18
cmp eax, dword [edi]
je 0x100405a8
mov dword [edi], eax
jmp 0x10040744
push ebx
mov ecx, edi
call fcn.100409d0
mov ebx, dword [esp + 0x14]
movzx ebx, bl
test al, al
cmove ebx, esi
mov dword [esp + 0x14], ebx
xor ebx, ebx
jmp case.0x10040553.1
mov eax, dword [ebx + 8]
shr eax, 1
and al, 1
movzx eax, al
push 0
push eax
push ebx
mov ecx, edi
call fcn.10040b70
mov edx, dword [esp + 0x14]
movzx ecx, dl
test al, al
cmove ecx, esi
mov byte [esp + 0x14], cl
xor ebx, ebx
jmp case.0x10040553.1
mov edx, dword [ebx + 0x14]
mov eax, dword [edi + 0x40]
cmp dword [edx + 0x24], 0
mov ecx, dword [edx + 0x20]
jne 0x100408de
push dword [eax + ecx*8]
mov eax, dword [edx + 8]
shr eax, 1
and al, 1
movzx eax, al
push eax
push edx
jmp 0x100408c7
test dword [edi + 0x60], 0x2020
je 0x10040915
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x10040922
cmp byte [edi + 0x74], 0
je 0x1004092e
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x1004092e
mov byte [esp + 0x14], 1
xor ebx, ebx
jmp case.0x10040553.1
cmp byte [edi + 0x64], 0
je 0x1004093f
mov ecx, edi
call fcn.1003a1a0
test al, al
je 0x100408de
mov eax, dword [edi]
lea edx, [edi + 4]
mov dword [edi + 0x20], eax
mov eax, dword [edx + 0xc]
lea ecx, [edi + 0x24]
push edx
mov dword [ecx + 0xc], eax
call fcn.100222f0
lea eax, [edi + 0x14]
push eax
lea ecx, [edi + 0x34]
call fcn.10038220
mov byte [edi + 0x64], 1
xor ebx, ebx
jmp case.0x10040553.1
push 0xd
call fcn.100817e6
dec ecx
pop es
add al, 0x10
pop edx
add eax, 93196292
add al, 0x10
scasd eax, dword es:[edi]
add eax, 104534020
add al, 0x10
bound eax, qword [esi]
add al, 16
mov dword [0x49100406], eax
pop es
add al, 0x10
dec ecx
pop es
add al, 0x10
enter 0x406, 0x10
enter 1030, 0x10
mov dl, 8
add al, 16
lea eax, [edi]
add al, 16
loope 0x100409b1
add al, 0x10
sub ecx, dword [eax]
add al, 16
lcall 0x407, 0x49100408
adc byte [ecx - 451935224], bh
or byte [eax + edx], al
dec ecx
pop es
add al, 0x10
mov ecx, 0xe5100408
or byte [eax + edx], al
dec ecx
pop es
add al, 0x10
add eax, 0xcc100409
int3