Function at 0x4045c0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ec47
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4e0
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4a4], ecx
xor eax, eax
mov dword [ebp - 0x49c], 0
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0x49c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x6f0053
push eax
push reloc.WS2_32.dll_accept
mov dword [ebp - 0xec], 0x740066
mov dword [ebp - 0xe8], 0x610077
mov dword [ebp - 0xe4], 0x650072
mov dword [ebp - 0xe0], 0x33005c
mov dword [ebp - 0xdc], 0x300036
mov dword [ebp - 0xd8], 0x33005c
mov dword [ebp - 0xd4], 0x300036
mov dword [ebp - 0xd0], 0x650073
mov dword [ebp - 0xcc], 0x5c0036
mov dword [ebp - 0xc8], 0x680043
mov dword [ebp - 0xc4], 0x6f0072
mov dword [ebp - 0xc0], 0x65006d
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x404d90
push 0x20a
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.00503920
add esp, 0xc
mov dword [ebp - 0x31c], 0x20a
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x9c], 0x61006c
mov dword [ebp - 0x98], 0x740073
mov dword [ebp - 0x94], 0x69005f
push eax
lea eax, [ebp - 0x300]
mov dword [ebp - 0x90], 0x73006e
push eax
push 0
push 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0x610074
push eax
push dword [ebp - 0x49c]
mov dword [ebp - 0x88], 0x6c006c
mov dword [ebp - 0x84], 0x70005f
mov dword [ebp - 0x80], 0x740061
mov dword [ebp - 0x7c], 0x68
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x308], 0
lea ecx, [ebp - 0x300]
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x308], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x304], 7
mov word [ebp - 0x318], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4047a2
sub ecx, edx
lea eax, [ebp - 0x300]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.0040ab40
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x404d30
mov edx, dword [ebp - 0x304]
lea eax, [ebp - 0x318]
mov esi, dword [ebp - 0x318]
cmp edx, 8
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x40481f
cmp edx, 8
lea eax, [ebp - 0x318]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2f
je 0x40481f
push 1
push 0x55eb5c
lea ecx, [ebp - 0x318]
call fcn.0040ac90
xor eax, eax
mov dword [ebp - 0x78], 0x360033
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], 0x730030
mov dword [ebp - 0x70], 0x360065
lea edx, [ecx + 2]
mov dword [ebp - 0x6c], str.Signature
mov dword [ebp - 0x68], 0x650073
mov dword [ebp - 0x64], 0x200072
mov dword [ebp - 0x60], 0x610044
mov dword [ebp - 0x5c], 0x610074
mov dword [ebp - 0x58], 0x44005c
mov dword [ebp - 0x54], 0x660065
mov dword [ebp - 0x50], 0x750061
mov dword [ebp - 0x4c], 0x74006c
mov dword [ebp - 0x48], 0x50005c
mov dword [ebp - 0x44], 0x650072
mov dword [ebp - 0x40], 0x650066
mov dword [ebp - 0x3c], 0x650072
mov dword [ebp - 0x38], 0x63006e
mov dword [ebp - 0x34], 0x730065
mov word [ebp - 0x30], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4048b0
sub ecx, edx
lea eax, [ebp - 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.0040ac90
cmp dword [ebp - 0x304], 8
lea edi, [ebp - 0x318]
cmovae edi, dword [ebp - 0x318]
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40490a
movaps xmm0, xmmword [str.PathFileExistsW]
lea ecx, [ebp - 0x24]
push ecx
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
push edi
call eax
test eax, eax
je 0x404d30
xorps xmm0, xmm0
lea ecx, [ebp - 0x350]
push 0
movups xmmword [ebp - 0x350], xmm0
movq qword [ebp - 0x340], xmm0
call fcn.0045a9f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3e0]
push 0x78
push 0
push eax
call fcn.00503920
add esp, 0xc
lea ecx, [ebp - 0x3e0]
call fcn.00461e30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x498]
push 0xb8
push 0
push eax
call fcn.00503920
add esp, 8
lea ecx, [ebp - 0x498]
call fcn.00409630
mov byte [ebp - 4], 3
lea eax, [ebp - 0x318]
cmp dword [ebp - 0x304], 8
lea ecx, [ebp - 0x498]
cmovae eax, dword [ebp - 0x318]
sub esp, 8
push eax
call fcn.00409510
push 1
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00461fc0
test al, al
je 0x404cf8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x73736573
push eax
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x18], 0x6e6f69
call fcn.0045c0f0
mov ecx, eax
call fcn.0045c660
test al, al
jne 0x404cf8
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x350]
movq qword [ebp - 0x358], xmm0
movups xmmword [ebp - 0x368], xmm0
call fcn.0045c0f0
push eax
lea ecx, [ebp - 0x368]
call fcn.0045acb0
mov byte [ebp - 4], 4
lea eax, [ebp - 0xb8]
movaps xmm0, xmmword [0x564860]
lea ecx, [ebp - 0x368]
push eax
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa8], 0x735f6e6f
mov dword [ebp - 0xa4], 0x74726174
mov word [ebp - 0xa0], 0x7075
mov byte [ebp - 0x9e], 0
call fcn.0045c0f0
mov ecx, eax
call fcn.0045c660
test al, al
jne 0x404ce9
xorps xmm0, xmm0
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x368]
movq qword [ebp - 0x328], xmm0
movups xmmword [ebp - 0x338], xmm0
call fcn.0045c0f0
push eax
lea ecx, [ebp - 0x338]
call fcn.0045acb0
mov byte [ebp - 4], 5
xor esi, esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x4a0], esi
call fcn.0045b9a0
test eax, eax
je 0x404cda
lea eax, [ebp - 0x4c0]
push eax
push esi
lea ecx, [ebp - 0x338]
call fcn.0045bb00
mov ecx, eax
call fcn.0045b360
mov byte [ebp - 4], 6
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4ac]
cmp edx, 0x10
jb 0x404b26
mov ecx, dword [ebp - 0x4c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404b1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404dae
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0xf
mov byte [ebp - 0x4c0], 0
test edi, edi
je 0x404cc0
lea ecx, [ebp - 0x64]
call fcn.00405030
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4f0]
push eax
push esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x64], 5
call fcn.0045bb00
mov ecx, eax
call fcn.0045b360
mov byte [ebp - 4], 8
mov edx, eax
push 0xfde9
lea ecx, [ebp - 0x4d8]
call fcn.0046f170
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
push eax
call fcn.00408010
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x404be0
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404bd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404dae
push edx
push ecx
call fcn.005010b4
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 7
mov word [ebp - 0x4d8], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x4dc]
cmp edx, 0x10
jb 0x404c3b
mov ecx, dword [ebp - 0x4f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404c31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404dae
push edx
push ecx
call fcn.005010b4
add esp, 8
mov edi, dword [ebp - 0x4a4]
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 0xf
mov byte [ebp - 0x4f0], 0
mov esi, dword [edi + 0x258]
cmp dword [edi + 0x25c], esi
je 0x404c9e
mov eax, dword [ebp - 0x64]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x4a8], esi
call fcn.0040d350
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d350
mov byte [ebp - 4], 7
add dword [edi + 0x258], 0x34
jmp 0x404cae
lea eax, [ebp - 0x64]
push eax
push esi
lea ecx, [edi + 0x254]
call fcn.0040c030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.004050a0
mov esi, dword [ebp - 0x4a0]
inc esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x4a0], esi
call fcn.0045b9a0
cmp esi, eax
jb 0x404ac7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x338]
call fcn.0045b000
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x368]
call fcn.0045b000
lea ecx, [ebp - 0x498]
call fcn.004094a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.00404f80
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e0]
call fcn.00404dc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x350]
call fcn.0045b000
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x304]
cmp edx, 8
jb 0x404d73
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404d69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404dae
push edx
push ecx
call fcn.005010b4
add esp, 8
xor eax, eax
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 7
mov word [ebp - 0x318], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00508868
int3