Function at 0x4063a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x28]
push edi
mov word [ebp - 0x10], ax
xor edi, edi
xor eax, eax
mov dword [ebp - 8], edi
push 0x64
mov word [ebp - 0xe], ax
call fcn.00407b76
mov ecx, dword [ebp + 0x10]
call fcn.004075e0
mov ebx, dword [ebp + 0xc]
cmp word [ebx], di
je 0x4065ca
lea esp, [esp]
movzx eax, word [ebx + edi*2]
cmp eax, 0x20
je 0x4064df
cmp eax, 9
je 0x4064df
movzx eax, word [ebx + edi*2]
mov dword [ebp - 8], edi
test ax, ax
je 0x4065ca
mov esi, eax
mov word [ebp - 0xe], di
cmp esi, 0x30
jae 0x40647e
cmp esi, 0x2e
je 0x406483
cmp esi, 0x41
jae 0x4064e5
cmp esi, 0x61
jae 0x406601
cmp esi, 0x5f
je 0x40660a
mov eax, esi
cmp eax, 0x24
je case.0x406458.64
cmp eax, 0x3d
je 0x406646
sub eax, 0x1a
cmp eax, 0x44
ja case.0x406458.27
movzx eax, byte [eax + 0x406954]
jmp dword [eax*4 + 0x406908]
push 0x4f
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
inc edi
mov dword [ebp - 8], edi
jmp 0x4065bf
cmp esi, 0x39
ja 0x406411
mov edi, dword [ebp + 0x10]
mov eax, 0x40
mov dword [ebp + 0xc], eax
mov ecx, dword [edi + 8]
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x4064a6
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 4]
movzx eax, word [eax + 8]
mov dword [ebp + 0xc], eax
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.004060cc
cmp al, 1
jne 0x406881
cmp word [ebp + 0xc], 0x4a
je 0x40682b
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040766f
mov edi, dword [ebp - 8]
jmp 0x4065bf
inc edi
jmp 0x4063e0
cmp esi, 0x5a
ja 0x40641f
jmp 0x40660a
push dword [ebp + 0x10]
call fcn.00405fa0
test eax, eax
js 0x406902
cmp esi, 0x24
jne 0x4067c5
mov eax, 0x33
push eax
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 8], edi
call fcn.00407eec
movzx esi, word [ebx + edi*2]
cmp si, 0x5a
jbe 0x40656e
cmp si, 0x61
jb 0x406576
cmp si, 0x7a
ja 0x406576
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
cmp eax, 1
jg 0x43e3bb
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
inc eax
push eax
call fcn.00407cb3
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov word [ecx + eax*2], si
inc eax
mov dword [ebp - 0x24], eax
inc edi
mov word [ecx + eax*2], dx
jmp 0x406526
cmp si, 0x41
jae 0x40653c
jmp 0x406530
cmp si, 0x30
jae 0x406637
cmp si, 0x5f
je 0x40653c
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], edi
je 0x4068f9
lea ecx, [ebp - 0x28]
call fcn.00407faf
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [0x48f67c]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405ea1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
cmp word [ebx + edi*2], 0
jne 0x4063e0
push 0x7f
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0xe], di
call fcn.0040766f
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00405a64
lea ecx, [ebp - 0x18]
call fcn.00405efb
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp esi, 0x7a
ja 0x406428
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call fcn.00405fd2
cmp dword [ebp - 0x18], 0xffffffff
je 0x43e415
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
mov edi, dword [ebp - 8]
jmp 0x4065bf
cmp si, 0x39
ja 0x406580
jmp 0x40653c
inc edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
je 0x43e3ab
push 0x41
call fcn.00405f12
jmp 0x4065b3
push 0x4e
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
inc edi
mov dword [ebp - 8], edi
jmp 0x4065bf
push 0x47
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
inc edi
mov dword [ebp - 8], edi
jmp 0x4065bf
push 0x48
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
inc edi
mov dword [ebp - 8], edi
jmp 0x4065bf
push 0x40
lea ecx, [ebp - 0x18]
call fcn.00405f12
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
inc edi
mov dword [ebp - 8], edi
jmp 0x4065bf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
call fcn.0040631f
lea ecx, [ebp - 0x18]
test eax, eax
js 0x43e430
push 0x36
call fcn.00405f12
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405ea1
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
call fcn.0040766f
mov edi, dword [ebp - 8]
jmp 0x4065bf
push 0x4d
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x4065b3
inc edi
lea ecx, [ebp - 0x18]
push 0x56
mov dword [ebp - 8], edi
call fcn.00405f12
jmp 0x4065b3
push 0x49
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x4065b3
inc edi
lea ecx, [ebp - 0x18]
push 0x52
mov dword [ebp - 8], edi
call fcn.00405f12
jmp 0x4065b3
push 0x4c
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x4065b3
inc edi
lea ecx, [ebp - 0x18]
push 0x55
mov dword [ebp - 8], edi
call fcn.00405f12
jmp 0x4065b3
push 0x4b
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x4065b3
jmp 0x43e30d
mov eax, 0x32
jmp 0x406511
push 0x4a
lea ecx, [ebp - 0x18]
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
jne 0x4065b3
jmp 0x43e2fa
inc edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], edi
cmp word [ebx + edi*2], 0x3d
je 0x406861
push 0x42
call fcn.00405f12
jmp 0x4065b3
movzx eax, word [ebx + edi*2 + 2]
lea ecx, [ebp - 0x18]
inc edi
mov dword [ebp - 8], edi
sub eax, 0x3d
je 0x4068ed
dec eax
je 0x406871
push 0x43
call fcn.00405f12
jmp 0x4065b3
cmp word [ebp - 0x10], 5
jne 0x4064cc
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
neg ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0xc]
adc eax, 0
neg eax
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4 - 4]
mov ecx, 0x49
mov word [eax + 8], cx
jmp 0x4064cc
push 0x45
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
jmp 0x4065b3
push 0x44
call fcn.00405f12
inc edi
mov dword [ebp - 8], edi
jmp 0x4065b3
mov edi, dword [ebp - 8]
cmp esi, 0x2e
jne 0x406416
inc edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 8], edi
call fcn.00407eec
movzx eax, word [ebx + edi*2]
cmp ax, 0x5a
jbe 0x4068bb
cmp ax, 0x61
jb 0x4068c3
cmp ax, 0x7a
ja 0x4068c3
push eax
lea ecx, [ebp - 0x28]
call fcn.00407a84
inc edi
jmp 0x406899
cmp ax, 0x41
jae 0x4068af
jmp 0x4068a3
cmp ax, 0x30
jae 0x4068f1
cmp ax, 0x5f
je 0x4068af
cmp ax, 0x7f
ja 0x4068af
cmp dword [ebp - 0x24], 0
mov dword [ebp - 8], edi
je 0x4068f9
push 0x35
lea ecx, [ebp - 0x18]
call fcn.00405f12
jmp 0x4065a7
push 0x46
jmp 0x406873
cmp ax, 0x39
jbe 0x4068af
jmp 0x4068c9
lea eax, [edi - 1]
push eax
jmp 0x43e445
push edi
jmp 0x43e445
lea esi, [esi - 0x49df1f82]
rol dword [ebx + 0xaf211e], 1
dec dword [ebx]
das
jl 0x43e386
cmp eax, 0x62939a41
sub eax, 0x86439103
jecxz 0x43e324
lcall 0x4391, 0x32d6293
xchg bl, ah
or eax, 0xaf45c672
jb 0x43e2df
inc ebp
scasd eax, dword es:[edi]
mov esi, 0xb9a8c49f
pop eax
adc al, 0x5b
clc
cli
adc byte [ebx], bl
or dword [esi], eax
inc ebx
mov ch, 0x3b
ret 0x75f0
inc ecx
lcall 0x8419, 0xc637bffe
stosb byte es:[edi], al
bound eax, qword [ecx - 0x3b]
dec esi
mov dword [0xd26bb64a], eax
imul eax, esi, 0x7d
daa
leave
pop ss
test eax, 0xa485072a
pushal
mov dl, 7
fidiv word [ebp - 0x7d088604]
les ecx, [ebp + 0x413cc7e2]
imul esi, edx, 0x5a
add ebx, ebx
cmp esp, dword [ecx - 0x7fea4005]
mov ah, 0xa9
enter 0x5929, 0xffffffffffffffcd
add cl, byte [esi]
xchg ecx, eax
test dword [ebp + 0x5a], eax
sbb eax, dword [ecx]
nop
mov ch, 0x87
and eax, 0xc0bc8c7d
cmpsd dword [esi], dword es:[edi]
mov edx, 0x1adf3582
xchg esp, eax
xor bh, byte [ecx]
sbb eax, 0xb02083d9
lds ebp, [esi - 0x3a]
call edi
imul esi, dword [ebx - 0x4b343d15], 0x2df867c6
test byte [ebx + 0x28845970], ah
cmp al, 0xc3
lds ebp, [0xce1be663]
jnp 0x43e45e
mov ecx, dword [edi + 0x25]
add cl, 0xf4
xchg edx, eax
scasb al, byte es:[edi]
sets dh
out 0x59, al
out 0x59, al
pop esp
invalid
js 0x43e478
sar dword [esi - 0x10], 1
pop es
inc eax
cmp dword [eax - 0xf], edx
add byte [eax - 0x73], cl
idiv byte [esi]
mov eax, dword [0xc167a120]
cmp bh, byte [esi]
mov al, 0x57
cmp esp, dword [ebx - 0xdd966ba]
sub eax, eax
ficomp dword [ebx + 0x22a971ea]
jle 0x43e49b
loopne 0x43e494
pop ecx
dec edi
xor ch, byte es:[ebp + 0x413d7130]
jae 0x43e478
leave
test al, 0x51
aas
dec ebp
mov esi, 0x7bbc577e
or edi, dword [ecx + edi*2 - 0x786060d1]
pop edi
clc