Function at 0x494d40
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497b50
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x4bf070]
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 bl, dl
mov byte [ebp - 0x18d], cl
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x19c], eax
push 0x104
lea eax, [ebp - 0x178]
mov dword [ebp - 4], 0
push 0
push eax
xor bh, bh
call fcn.004179d0
add esp, 0xc
mov edi, reloc.WS2_32.dll_bind
test bl, bl
je 0x494db7
lea ecx, [ebp - 0x178]
mov edi, reloc.WS2_32.dll_closesocket
call fcn.00496d30
mov esi, 0x20019
test bl, bl
jne 0x494dce
cmp byte [ebp - 0x18d], bl
mov eax, 0x20119
cmovne esi, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x23], 0x6e6f6973
push eax
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x37], 0x69575c74
mov dword [ebp - 0x2a], 0x746e6572
mov word [ebp - 0x16], 0x6c
mov dword [ebp - 0x3b], 0x666f736f
mov dword [ebp - 0x33], 0x776f646e
mov word [ebp - 0x47], 0x464f
mov word [ebp - 0x1b], 0x736e
mov dword [ebp - 0x2f], 0x75435c73
mov dword [ebp - 0x40], 0x63694d5c
mov word [ebp - 0x1e], 0x6e55
mov dword [ebp - 0x44], 0x45524157
mov word [ebp - 0x19], 0x6174
mov byte [ebp - 0x48], 0x53
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x45], 0x54
mov byte [ebp - 0x17], 0x6c
mov word [ebp - 0x26], 0x6556
mov byte [ebp - 0x3c], 0x72
mov byte [ebp - 0x24], 0x72
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1f], 0x5c
mov dword [ebp - 0x5c], 0x74736e49
mov dword [ebp - 0x58], 0x4c6c6c61
mov dword [ebp - 0x50], 0x6e6f69
mov dword [ebp - 0x54], 0x7461636f
mov dword [ebp - 0x6b], 0x6d6f7268
mov word [ebp - 0x64], 0x6578
mov word [ebp - 0x67], 0x2e65
mov byte [ebp - 0x62], 0
mov byte [ebp - 0x6c], 0x63
mov byte [ebp - 0x65], 0x65
mov dword [ebp - 0x180], 0
call fcn.0040bf20
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
mov edx, 0x4b7e58
lea ecx, [ebp - 0x17c]
call fcn.004089f0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409fc0
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.0040c260
test bl, bl
je 0x494f59
lea eax, [ebp - 0x178]
push eax
lea ecx, [ebp - 0x188]
call fcn.0040bf20
push 0x4b7e58
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call fcn.00408ae0
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x17c]
call fcn.00408bd0
add esp, 8
push eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.004092a0
lea ecx, [ebp - 0x17c]
call fcn.0040c260
lea ecx, [ebp - 0x184]
call fcn.0040c260
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 1
call fcn.0040c260
lea eax, [ebp - 0x18c]
push eax
push esi
push 0
push dword [ebp - 0x180]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4950a7
push 0x4b7de4
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x17c], eax
call fcn.0040bf20
mov byte [ebp - 4], 6
mov edx, 1
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x184], 1
mov dword [ebp - 0x188], 0x800
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, 0x800
or ecx, edx
jge 0x494fd7
push 0x800
lea ecx, [ebp - 0x17c]
call fcn.0040c200
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x188]
push ecx
push eax
lea eax, [ebp - 0x184]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x18c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
lea ecx, [ebp - 0x17c]
mov esi, eax
call fcn.00409300
test esi, esi
jne 0x495090
push 0x4b7e58
lea ecx, [ebp - 0x198]
call fcn.0040bf20
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x194]
call fcn.00408ae0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x17c]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00409fc0
lea ecx, [ebp - 0x194]
call fcn.0040c260
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 6
call fcn.0040c260
push dword [ebp - 0x17c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x495090
push dword [ebp - 0x17c]
push 0x4b7e5c
push dword [ebp - 0x19c]
call fcn.0040ae40
add esp, 0xc
mov bh, 1
push dword [ebp - 0x18c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x17c]
call fcn.0040c260
lea ecx, [ebp - 0x180]
call fcn.0040c260
lea ecx, [ebp + 8]
call fcn.0040c260
mov al, bh
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.0041553e
mov esp, ebp
pop ebp
ret