Function at 0x4192e0
Capabilities:
Contain obfuscated stackstrings
Create http request
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bd2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x633ef8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x4f8], ebx
cmp byte [ebp + 0xc], 0
mov edi, dword [ebp + 8]
jne 0x4193f5
lea eax, [ebp - 0x4f0]
mov word [ebp - 0x63], 0x666f
push eax
lea eax, [ebp - 0x64]
mov word [ebp - 0x5a], 0x5453
push eax
push SysReAllocStringLen
mov word [ebp - 0x5d], 0x5c65
mov word [ebp - 0x60], 0x6177
mov word [ebp - 0x57], 0x62
mov byte [ebp - 0x5b], 0x42
mov byte [ebp - 0x64], 0x53
mov byte [ebp - 0x58], 0x61
mov byte [ebp - 0x61], 0x74
mov byte [ebp - 0x5e], 0x72
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x419385
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x64]
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea eax, [ebp - 0x4f4]
mov dword [ebp - 0x4dc], 0
push eax
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4f4], 4
push eax
push 0
push 0
push edi
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x4dc], 0
jne 0x419470
push 4
lea eax, [ebp - 0x4dc]
mov dword [ebp - 0x4dc], 1
push eax
push 4
push 0
push edi
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x6414d4]
cmp dword [eax - 0xc], 0
jne 0x4194b3
mov dword [ebp - 0x4dc], 1
mov edx, 1
mov dword [ebp - 0x4f4], 0x104
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x104
or ecx, edx
jge 0x419441
push 0x104
mov ecx, 0x6414d4
call fcn.004165b0
mov eax, dword [0x6414d4]
lea ecx, [ebp - 0x4f4]
push ecx
push eax
lea eax, [ebp - 0x4dc]
push eax
push 0x60bf5c
push dword [ebx + 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov eax, dword [0x6414d4]
test eax, eax
jne 0x419483
xor ecx, ecx
jmp 0x41949e
push dword [ebp - 0x4f0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x41979e
push dword [eax - 8]
push eax
call fcn.0059ea3d
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4195e1
mov eax, dword [0x6414d4]
cmp ecx, dword [eax - 8]
jg 0x4195e1
mov dword [eax - 0xc], ecx
mov eax, dword [0x6414d4]
mov byte [ecx + eax], 0
lea eax, [ebp - 0x4e0]
mov dword [ebp - 0x4e0], 0
push eax
call fcn.00418e80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4ec]
mov dword [ebp - 0x19], 0x73253d
mov word [ebp - 0x1b], 0x6666
mov word [ebp - 0x3c], 0x6f63
mov word [ebp - 0x2b], 0x3d64
mov dword [ebp - 0x49], 0x61726365
mov dword [ebp - 0x4d], 0x72617774
mov dword [ebp - 0x30], 0x2673253d
mov word [ebp - 0x41], 0x6f70
mov word [ebp - 0x36], 0x702e
mov dword [ebp - 0x20], 0x2664253d
mov word [ebp - 0x39], 0x622f
mov dword [ebp - 0x25], 0x2673253d
mov word [ebp - 0x44], 0x7268
mov word [ebp - 0x4f], 0x666f
mov dword [ebp - 0x34], 0x613f7068
mov word [ebp - 0x28], 0x2673
mov byte [ebp - 0x42], 0x65
mov word [ebp - 0x3e], 0x2e74
mov byte [ebp - 0x3a], 0x6d
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x29], 0x25
mov byte [ebp - 0x21], 0x76
mov byte [ebp - 0x37], 0x73
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x45], 0x73
mov byte [ebp - 0x3f], 0x72
mov byte [ebp - 0x50], 0x73
mov byte [ebp - 0x26], 0x74
call fcn.0041a3a0
push 0x64
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0058f590
add esp, 8
lea eax, [ebp - 0x4f4]
lea ecx, [ebp - 0x4ec]
push eax
call fcn.0041a210
push dword [eax]
lea eax, [ebp - 0xd8]
push 0x64
push eax
call fcn.0059baad
mov edx, dword [ebp - 0x4f4]
or esi, 0xffffffff
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4195cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004555ae
mov ecx, eax
test ecx, ecx
jne 0x4195eb
push 0x80004005
call fcn.00416970
push 0x80070057
call fcn.00416970
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4dc], eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0xd8]
push dword [0x6414d4]
push 0x18
push eax
push dword [ebp - 0x4e0]
lea eax, [ebp - 0x50]
push edi
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.00415ec0
add esp, 0x1c
mov dword [ebp - 0x6c], 0x72656661
lea eax, [ebp - 0x74]
mov word [ebp - 0x74], 0x7242
mov word [ebp - 0x71], 0x7377
mov byte [ebp - 0x68], 0
push 0
push 0
push 0
push 0
push eax
mov word [ebp - 0x6e], 0x5372
mov byte [ebp - 0x72], 0x6f
mov byte [ebp - 0x6f], 0x65
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4f0], eax
test eax, eax
je 0x419759
xor edi, edi
nop dword [eax]
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x4f4]
push str.http:__
push eax
call fcn.004197c0
add esp, 0xc
push 0
push 0x4000000
push 0
push 0
push dword [eax]
push dword [ebp - 0x4f0]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edx, dword [ebp - 0x4f4]
mov ebx, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4196c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x419733
push 0x400
lea eax, [ebp - 0x4d8]
push 0
push eax
call fcn.0058f590
add esp, 0xc
mov dword [ebp - 0x4e4], 0x400
lea eax, [ebp - 0x4e4]
push eax
push 0x3ff
lea eax, [ebp - 0x4d8]
push eax
mov eax, dword [ebp - 0x4f8]
push ebx
mov eax, dword [eax + 0x38]
call eax
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
call ebx
test esi, esi
je 0x41972e
lea eax, [ebp - 0x4d8]
push 0x609500
push eax
call fcn.00592050
add esp, 8
cmp byte [eax], 0x31
je 0x41974e
or esi, 0xffffffff
jmp 0x419739
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x3e8
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 3
jl 0x419670
push dword [ebp - 0x4f0]
call ebx
or esi, 0xffffffff
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x4dc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41977a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4e0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41979c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005892bc
mov esp, ebp
pop ebp
ret 8