Function at 0x403cd0
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 0x526327
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4e0
mov eax, dword [0x57254c]
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 0x4044a0
push 0x20a
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.004fb730
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 0x403eb2
sub ecx, edx
lea eax, [ebp - 0x300]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.00407a50
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x308]
test ecx, ecx
je 0x404440
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 0x403f2f
cmp edx, 8
lea eax, [ebp - 0x318]
cmovae eax, esi
cmp word [eax + ecx*2 - 2], 0x2f
je 0x403f2f
push 1
push 0x555afc
lea ecx, [ebp - 0x318]
call fcn.00407ba0
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], 0x55005c
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 0x403fc0
sub ecx, edx
lea eax, [ebp - 0x78]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x318]
call fcn.00407ba0
cmp dword [ebp - 0x304], 8
lea edi, [ebp - 0x318]
cmovae edi, dword [ebp - 0x318]
call fcn.00405960
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40401a
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 0x404440
xorps xmm0, xmm0
lea ecx, [ebp - 0x350]
push 0
movups xmmword [ebp - 0x350], xmm0
movq qword [ebp - 0x340], xmm0
call fcn.004546b0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3e0]
push 0x78
push 0
push eax
call fcn.004fb730
add esp, 0xc
lea ecx, [ebp - 0x3e0]
call fcn.0045bba0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x498]
push 0xb8
push 0
push eax
call fcn.004fb730
add esp, 8
lea ecx, [ebp - 0x498]
call fcn.00406730
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.00406610
push 1
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0045bd30
test al, al
je 0x404408
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x73736573
push eax
lea ecx, [ebp - 0x350]
mov dword [ebp - 0x18], 0x6e6f69
call fcn.00455db0
mov ecx, eax
call fcn.00456320
test al, al
jne 0x404408
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.00455db0
push eax
lea ecx, [ebp - 0x368]
call fcn.00454970
mov byte [ebp - 4], 4
lea eax, [ebp - 0xb8]
movaps xmm0, xmmword [0x55b330]
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.00455db0
mov ecx, eax
call fcn.00456320
test al, al
jne 0x4043f9
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.00455db0
push eax
lea ecx, [ebp - 0x338]
call fcn.00454970
mov byte [ebp - 4], 5
xor esi, esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x4a0], esi
call fcn.00455660
test eax, eax
je 0x4043ea
lea eax, [ebp - 0x4c0]
push eax
push esi
lea ecx, [ebp - 0x338]
call fcn.004557c0
mov ecx, eax
call fcn.00455020
mov byte [ebp - 4], 6
mov edi, dword [eax + 0x10]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x4ac]
cmp edx, 0x10
jb 0x404236
mov ecx, dword [ebp - 0x4c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40422c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044be
push edx
push ecx
call fcn.004f8ec4
add esp, 8
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4ac], 0xf
mov byte [ebp - 0x4c0], 0
test edi, edi
je 0x4043d0
lea ecx, [ebp - 0x64]
call fcn.00404740
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4f0]
push eax
push esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x64], 5
call fcn.004557c0
mov ecx, eax
call fcn.00455020
mov byte [ebp - 4], 8
mov edx, eax
push 0xfde9
lea ecx, [ebp - 0x4d8]
call fcn.00469000
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
push eax
call fcn.004061d0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x4c4]
cmp edx, 8
jb 0x4042f0
mov ecx, dword [ebp - 0x4d8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4042e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044be
push edx
push ecx
call fcn.004f8ec4
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 0x40434b
mov ecx, dword [ebp - 0x4f0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404341
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044be
push edx
push ecx
call fcn.004f8ec4
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 0x4043ae
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.00409750
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x48]
push eax
lea ecx, [esi + 0x1c]
call fcn.00409750
mov byte [ebp - 4], 7
add dword [edi + 0x258], 0x34
jmp 0x4043be
lea eax, [ebp - 0x64]
push eax
push esi
lea ecx, [edi + 0x254]
call fcn.00408cf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.004047b0
mov esi, dword [ebp - 0x4a0]
inc esi
lea ecx, [ebp - 0x338]
mov dword [ebp - 0x4a0], esi
call fcn.00455660
cmp esi, eax
jb 0x4041d7
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x338]
call fcn.00454cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x368]
call fcn.00454cc0
lea ecx, [ebp - 0x498]
call fcn.004065a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x498]
call fcn.00404690
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3e0]
call fcn.004044d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x350]
call fcn.00454cc0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x304]
cmp edx, 8
jb 0x404483
mov ecx, dword [ebp - 0x318]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4044be
push edx
push ecx
call fcn.004f8ec4
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.004f8955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00500017
int3