Function at 0x406bd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, edx
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
cmp dword [esi], 0
jne 0x406bf0
mov edx, 0x4066b0
call fcn.004061d0
mov dword [esi], eax
mov eax, dword [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
nop word [eax + eax]
mov edx, 0xd
push 0x649c
push 0x7fee6d4e
lea ecx, [edx - 5]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
push ecx
push 0
push ebx
call eax
test eax, eax
je 0x406c68
cmp eax, 0xea
je 0x406c20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x14], 1
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 1
jb 0x407067
mov ebp, 0x7f
nop dword [eax + eax]
mov esi, dword [ebx]
mov byte [esp + 0x46], 0x64
mov byte [esp + 0x47], 0x61
mov byte [esp + 0x48], 0x71
mov byte [esp + 0x49], 0x61
mov byte [esp + 0x4a], 0x12
mov byte [esp + 0x4b], 0x61
mov byte [esp + 0x4c], 0x72
mov byte [esp + 0x4d], 0x61
mov byte [esp + 0x4e], 0x1d
mov byte [esp + 0x4f], 0x61
mov byte [esp + 0x50], 0x28
mov byte [esp + 0x51], 0x61
mov byte [esp + 0x52], 0x61
mov byte [esp + 0x53], 0x61
mov al, byte [esp + 0x46]
mov byte [esp + 0x54], 0
cmp byte [esp + 0x54], 0
jne 0x406d13
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0x46]
movzx eax, al
sub eax, 0x61
lea eax, [eax + eax*2]
shl eax, 2
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + ecx + 0x46], dl
inc ecx
cmp ecx, 0xe
jb 0x406cf0
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x46]
push esi
push ecx
call eax
test eax, eax
je 0x407049
mov edi, dword [ebx]
mov byte [esp + 0x55], 0x30
mov byte [esp + 0x56], 0x44
mov byte [esp + 0x57], 8
mov byte [esp + 0x58], 0x44
mov byte [esp + 0x59], 0xf
mov byte [esp + 0x5a], 0x44
mov byte [esp + 0x5b], 0x1a
mov byte [esp + 0x5c], 0x44
mov byte [esp + 0x5d], 0x2c
mov byte [esp + 0x5e], 0x44
mov byte [esp + 0x5f], 0x60
mov byte [esp + 0x60], 0x44
mov byte [esp + 0x61], 0x44
mov byte [esp + 0x62], 0x44
mov al, byte [esp + 0x55]
mov byte [esp + 0x63], 0
cmp byte [esp + 0x63], 0
jne 0x406dc4
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x55]
mov ecx, 0x44
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv ebp
lea eax, [edx + 0x7f]
cdq
idiv ebp
mov byte [esp + esi + 0x55], dl
inc esi
cmp esi, 0xe
jb 0x406da0
mov edx, 0x77
push 0x8f84
push 0x9c3e576c
lea ecx, [edx - 0x76]
call fcn.00402800
add esp, 8
lea ecx, [esp + 0x55]
push edi
push ecx
call eax
test eax, eax
je 0x407049
push 4
call fcn.0040b1a0
add esp, 4
mov edx, 0x78
mov ebp, eax
push 0xd2fd
push 0x606576c
lea ecx, [edx - 0x77]
call fcn.00402800
add esp, 8
push dword [esp + 0x1c]
call eax
mov esi, dword [ebx]
mov edx, 0x78
push 0xd2fd
push 0x606576c
mov edi, eax
lea ecx, [edx - 0x77]
call fcn.00402800
add esp, 8
push esi
call eax
lea esi, [edi + 0xf]
xor ecx, ecx
add esi, eax
mov edx, 2
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b1a0
mov dword [ebp], eax
lea ecx, [esi + esi]
mov edi, eax
add esp, 4
xor al, al
rep stosb byte es:[edi], al
mov byte [esp + 0x38], 0xf
mov byte [esp + 0x39], 0x30
mov byte [esp + 0x3a], 0xf
mov byte [esp + 0x3b], 0x30
mov byte [esp + 0x3c], 0x30
mov byte [esp + 0x3d], 0x30
mov al, byte [esp + 0x38]
mov byte [esp + 0x3e], 0
cmp byte [esp + 0x3e], 0
jne 0x406ec9
xor esi, esi
lea edi, [esi + 0x7f]
nop word [eax + eax]
mov al, byte [esp + esi + 0x38]
movzx ecx, al
sub ecx, 0x30
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x38], dl
inc esi
cmp esi, 6
jb 0x406ea0
lea eax, [esp + 0x38]
push eax
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp]
call edi
mov byte [esp + 0x33], 4
mov byte [esp + 0x34], 0x5b
mov byte [esp + 0x35], 0x5b
mov byte [esp + 0x36], 0x5b
mov al, byte [esp + 0x33]
mov byte [esp + 0x37], 0
cmp byte [esp + 0x37], 0
jne 0x406f38
xor esi, esi
lea ebx, [esi + 0x7f]
nop
mov al, byte [esp + esi + 0x33]
movzx ecx, al
sub ecx, 0x5b
mov eax, ecx
shl eax, 4
sub eax, ecx
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + esi + 0x33], dl
inc esi
cmp esi, 4
jb 0x406f10
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x33]
push eax
push dword [ebp]
call edi
push dword [ebx]
push dword [ebp]
call edi
mov byte [esp + 0x3f], 0x3f
mov byte [esp + 0x40], 0x17
mov byte [esp + 0x41], 0x66
mov byte [esp + 0x42], 0x17
mov byte [esp + 0x43], 0x17
mov byte [esp + 0x44], 0x17
mov al, byte [esp + 0x3f]
mov byte [esp + 0x45], 0
cmp byte [esp + 0x45], 0
jne 0x406faa
xor esi, esi
lea edi, [esi + 0x7f]
nop dword [eax]
mov al, byte [esp + esi + 0x3f]
movzx ecx, al
sub ecx, 0x17
mov eax, ecx
shl eax, 4
sub eax, ecx
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x3f], dl
inc esi
cmp esi, 6
jb 0x406f80
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x3f]
push eax
push dword [ebp]
call edi
push 0x10
call fcn.0040b1a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x406fd8
mov byte [ebx + 8], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x407040
mov esi, dword [ebp + 4]
test esi, esi
mov ecx, dword [ebp]
mov eax, esi
cdq
lea edi, [esi + esi]
cmovns edi, esi
sub eax, edx
sar eax, 1
cmp edi, eax
jg 0x407019
test ecx, ecx
je 0x407007
cmp byte [ecx + 8], 0
je 0x407007
mov ecx, dword [ecx]
jmp 0x407009
xor ecx, ecx
test edi, edi
jle 0x407028
nop dword [eax]
mov ecx, dword [ecx]
sub edi, 1
jne 0x407010
jmp 0x407028
cmp esi, edi
jle 0x407028
sub esi, edi
nop
mov ecx, dword [ecx + 4]
sub esi, 1
jne 0x407020
test ebx, ebx
je 0x407040
test ecx, ecx
je 0x407040
mov eax, dword [ecx + 4]
mov dword [eax], ebx
mov dword [ebx + 4], eax
mov dword [ebx], ecx
mov dword [ecx + 4], ebx
inc dword [ebp + 4]
mov ebx, dword [esp + 0x10]
mov ebp, 0x7f
mov ecx, dword [esp + 0x20]
add ebx, 4
inc ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x14]
jbe 0x406c90
mov ebx, dword [esp + 0x18]
mov edx, 0x2b
push 0xff0
push 0x5782654e
lea ecx, [edx - 0x23]
call fcn.00402800
add esp, 8
push ebx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret