Function at 0x406640
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 3
mov byte [ebp - 0x1e], 0x6a
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1c], 0x6a
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x6a
mov byte [ebp - 0x19], 0x41
mov byte [ebp - 0x18], 0x6a
mov byte [ebp - 0x17], 0x76
mov byte [ebp - 0x16], 0x6a
mov byte [ebp - 0x15], 0x69
mov byte [ebp - 0x14], 0x6a
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6a
mov byte [ebp - 0x11], 0x7a
mov byte [ebp - 0x10], 0x6a
mov byte [ebp - 0xf], 0x4b
mov byte [ebp - 0xe], 0x6a
mov byte [ebp - 0xd], 0xb
mov byte [ebp - 0xc], 0x6a
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x6a
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x6a
mov byte [ebp - 7], 0x6a
mov byte [ebp - 6], 0x6a
mov al, byte [ebp - 0x1f]
cmp byte [ebp - 0x20], 0
jne 0x4066e3
xor ecx, ecx
lea esi, [ecx + 0x7f]
mov al, byte [ebp + ecx - 0x1f]
movzx eax, al
sub eax, 0x6a
imul eax, eax, 0x13
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [ebp + ecx - 0x1f], dl
inc ecx
cmp ecx, 0x1a
jb 0x4066c3
mov eax, dword fs:[0x30]
mov edi, 3
mov esi, dword [eax + 0xc]
lea ecx, [edi - 1]
mov dword [ebp - 4], 0x3c62ba
lea ebx, [edi + 2]
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x40674f
add eax, ecx
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406723
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x406833
nop dword [eax]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406748
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406730
jmp 0x406833
and eax, 0x80000001
jns 0x40675d
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x40678d
mov eax, ecx
sub eax, esi
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x406833
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x406777
jmp 0x406833
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x40679e
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4067eb
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x4067c0
dec eax
or eax, 0xfffffffe
add eax, 1
jne 0x40682e
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x4067d2
dec eax
jmp 0x4067d3
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x4067e7
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x4067c2
jmp 0x40682e
mov eax, dword [ebp - 4]
cdq
idiv ebx
test edx, edx
je 0x406833
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x40682e
nop
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x406820
inc eax
jmp 0x406821
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x406810
mov ecx, 2
mov ebx, dword [esi + 0x10]
mov dword [ebp - 4], 0x3c62ba
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x4068ed
add eax, 2
add eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406867
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x40688a
nop dword [eax]
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406888
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406870
mov ecx, edi
mov edi, 5
mov esi, dword [ebx + 0x10]
mov dword [ebp - 4], 0x3c62ba
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x4069f5
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x4068c5
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x4068e1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x4068df
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4068c7
mov esi, 5
mov edi, ebx
jmp 0x406b0a
and eax, 0x80000001
jns 0x4068fb
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x40692b
sub ecx, ebx
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, edi
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x40688c
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406915
jmp 0x40688c
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x40693c
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x4069a1
mov ecx, dword [ebp - 4]
lea eax, [ebx + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x40695e
dec eax
or eax, 0xfffffffe
add eax, 1
jne 0x40688a
mov edi, 5
nop dword [eax]
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406980
dec eax
jmp 0x406981
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406995
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406970
mov ecx, 3
jmp 0x406891
mov eax, dword [ebp - 4]
mov edi, 5
cdq
idiv edi
test edx, edx
je 0x406997
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x406891
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x4069e2
inc eax
jmp 0x4069e3
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x4069d2
jmp 0x406891
and eax, 0x80000001
jns 0x406a03
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406a3d
mov eax, 2
sub eax, esi
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x4068e1
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406a20
mov esi, 5
mov edi, ebx
jmp 0x406b0a
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406a4e
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406aa7
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406a70
dec eax
or eax, 0xfffffffe
add eax, 1
mov esi, 5
jne 0x406a9e
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406a87
dec eax
jmp 0x406a88
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406a9c
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406a77
mov ecx, 3
mov edi, ebx
jmp 0x406b0a
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x4068e1
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x4068e1
mov esi, 5
nop dword [eax]
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406af0
inc eax
jmp 0x406af1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406ae0
mov edi, ebx
jmp 0x406b0a
mov ecx, 3
lea esi, [ecx + 2]
mov edi, dword [edi]
mov dword [ebp - 4], 0x3c62ba
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x406b5f
add eax, 2
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406b39
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x406bfe
nop
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406b58
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406b40
jmp 0x406bfe
and eax, 0x80000001
jns 0x406b6d
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406b99
mov eax, 2
sub eax, edi
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x406bfe
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406b86
jmp 0x406bfe
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406baa
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406c5f
mov ecx, dword [ebp - 4]
lea eax, [edi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406bd0
dec eax
or eax, 0xfffffffe
add eax, 1
jne 0x406bf9
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406be2
dec eax
jmp 0x406be3
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406bf7
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406bd2
mov ecx, 3
mov esi, dword [edi + 0x18]
test esi, esi
je 0x406dbc
mov dword [ebp - 4], 0x3c62ba
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x406cb3
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406c3a
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x406dae
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406c58
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406c40
jmp 0x406dae
mov eax, dword [ebp - 4]
cdq
idiv esi
test edx, edx
je 0x406bfe
mov eax, dword [ebp - 4]
lea ecx, [edi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x406bfe
nop dword [eax + eax]
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406ca0
inc eax
jmp 0x406ca1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406c90
jmp 0x406bfe
and eax, 0x80000001
jns 0x406cc1
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406cf6
mov eax, 2
sub eax, esi
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x406dae
nop
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406ce0
jmp 0x406dae
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406d07
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406d5d
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406d29
dec eax
or eax, 0xfffffffe
add eax, 1
jne 0x406dae
mov esi, 5
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406d44
dec eax
jmp 0x406d45
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406d59
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406d34
jmp 0x406dae
mov eax, dword [ebp - 4]
mov ecx, 5
cdq
idiv ecx
test edx, edx
je 0x406dae
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov ecx, 3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
jne 0x406dae
mov esi, 5
nop
mov eax, dword [ebp - 4]
cdq
idiv esi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406da0
inc eax
jmp 0x406da1
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv ecx
test edx, edx
je 0x406d90
mov ecx, edi
call fcn.00406300
cmp eax, 0xb26771d8
je 0x406dc4
cmp ebx, edi
jne 0x406b02
mov esi, dword [edi + 0x18]
mov edi, 3
mov dword [ebp - 4], 0x3c62ba
mov eax, dword [ebp - 4]
cdq
idiv edi
mov eax, dword [ebp - 4]
test edx, edx
je 0x406e23
add eax, 2
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406df9
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x406f1e
nop
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406e18
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406e00
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and eax, 0x80000001
jns 0x406e31
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406e6a
mov eax, 2
sub eax, esi
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x406f1e
nop
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x406e50
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
and eax, 0x80000003
jns 0x406e7b
dec eax
or eax, 0xfffffffc
add eax, 1
je 0x406ed8
mov ecx, dword [ebp - 4]
lea eax, [esi + 3]
add ecx, 2
imul ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406e9d
dec eax
or eax, 0xfffffffe
add eax, 1
jne 0x406f1e
mov ecx, 5
mov eax, dword [ebp - 4]
cdq
idiv ecx
mov eax, dword [ebp - 4]
test edx, edx
je 0x406eb8
dec eax
jmp 0x406eb9
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0x80000001
jns 0x406ecd
dec eax
or eax, 0xfffffffe
add eax, 1
je 0x406ea8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov ebx, 5
cdq
idiv ebx
test edx, edx
je 0x406f1e
mov eax, dword [ebp - 4]
lea ecx, [esi + 0x17]
add eax, 0xb
cdq
idiv ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
jne 0x406f1e
mov eax, dword [ebp - 4]
cdq
idiv ebx
mov eax, dword [ebp - 4]
test edx, edx
je 0x406f10
inc eax
jmp 0x406f11
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cdq
idiv edi
test edx, edx
je 0x406f00
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret