Function at 0x4f1090
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x624f25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x15fc
call fcn.005e7330
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x370]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.004f83e0
mov eax, dword [0x6cd768]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov al, byte [ebp + 8]
mov byte [ebp - 4], 4
test al, al
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
jne 0x4f11d3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x6bb28c
lea ecx, [ebp - 0x370]
call fcn.004f9c90
test al, al
je 0x4f11d3
cmp dword [ebp - 0x30], esi
je 0x4f11d3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x4f11d3
xor ebx, ebx
mov ecx, 2
mov edi, str.127.0.0.
mov esi, eax
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4f113e
mov ebx, 1
mov ecx, 3
mov edi, str.0.0.0.
mov esi, eax
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x4f1156
mov ebx, 1
push str.localhost
push eax
call fcn.005e7dee
add esp, 8
test eax, eax
je 0x4f11d3
test ebx, ebx
jne 0x4f11d3
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x470]
mov edx, dword [0x6d2354]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x470]
push eax
push ecx
push ebx
push ebx
push str.HttpProxy
push edx
mov dword [ebp + 8], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f11cc
lea edi, [ebp - 0x470]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f11cc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x470]
push eax
push ecx
call fcn.005e7dee
add esp, 8
test eax, eax
je 0x4f11d3
mov dword [ebp - 0x20], 1
lea edx, [ebp - 0x28]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4f1296
mov ecx, dword [ebp - 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 8]
push eax
push 0
push 0
push 0
push str.AutoConfigURL
push ecx
call edi
test eax, eax
jne 0x4f128c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00603e09
mov ecx, dword [ebp - 0x28]
mov esi, eax
lea eax, [ebp + 8]
push eax
push esi
push 0
push 0
push str.AutoConfigURL
push ecx
call edi
test eax, eax
jne 0x4f128c
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f128c
mov eax, dword [0x6d2870]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4f127c
test cl, cl
je 0x4f1278
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4f127c
add eax, 2
add esi, 2
test cl, cl
jne 0x4f1254
xor eax, eax
jmp 0x4f1281
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4f128c
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6d2354]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x2c]
push 4
push ecx
push 4
push 0
mov ebx, 1
push str.FSPSSettingsChecked
push edx
mov dword [ebp - 0x2c], ebx
call esi
mov edi, dword [ebp - 0x20]
test edi, edi
jne 0x4f14d5
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4f16d4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00603a3c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2a
call fcn.00603a3c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x29
call fcn.00603a3c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
call fcn.00603a3c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x27
call fcn.00603a3c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x26
call fcn.00603a3c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x25
call fcn.00603a3c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call fcn.00603a3c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x23
call fcn.00603a3c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00603a3c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x21
call fcn.00603a3c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x20
call fcn.00603a3c
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x70]
call fcn.00603a3c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.00603a3c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00603a3c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.00603a3c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.00603a3c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
call fcn.00497430
mov esi, 0x632e74
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 0x17
call fcn.00401200
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x16
call fcn.00401200
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x15
call fcn.00401200
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 0x10
call fcn.00401200
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0xd
call fcn.00401200
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], esi
mov byte [ebp - 4], 0xb
call fcn.00401200
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xa
call fcn.0060b6cd
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 9
call fcn.0060b6cd
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
call fcn.0060b6cd
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.0060b6cd
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 6
call fcn.0060b6cd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e4]
call fcn.0060b6cd
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 0
call fcn.0060be3f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x6d3098]
mov ecx, dword [0x6d309c]
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4f190e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x50
call fcn.00603a3c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x4f
call fcn.00603a3c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x4e
call fcn.00603a3c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x4d
call fcn.00603a3c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x4c
call fcn.00603a3c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x4b
call fcn.00603a3c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4a
call fcn.00603a3c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x49
call fcn.00603a3c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x48
call fcn.00603a3c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x47
call fcn.00603a3c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x46
call fcn.00603a3c
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x70]
call fcn.00603a3c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x44
call fcn.00603a3c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x43
call fcn.00603a3c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x42
call fcn.00603a3c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x41
call fcn.00603a3c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x40
call fcn.00497430
mov esi, 0x632e74
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 0x3d
call fcn.00401200
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x3c
call fcn.00401200
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x3b
call fcn.00401200
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 0x36
call fcn.00401200
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0x33
call fcn.00401200
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], esi
mov byte [ebp - 4], 0x31
call fcn.00401200
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x30
call fcn.0060b6cd
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x2f
call fcn.0060b6cd
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x2e
call fcn.0060b6cd
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x2d
call fcn.0060b6cd
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x2c
call fcn.0060b6cd
mov byte [ebp - 4], 0x2b
jmp 0x4f14a8
mov edx, dword [0x6cd768]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6d2aa0]
push eax
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0x51
call fcn.005fc86b
mov eax, dword [0x6d3098]
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
je 0x4f1909
call fcn.00603a3c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x77
call fcn.00603a3c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x76
call fcn.00603a3c
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x75
call fcn.00603a3c
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x74
call fcn.00603a3c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x73
call fcn.00603a3c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x72
call fcn.00603a3c
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x71
call fcn.00603a3c
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x70
call fcn.00603a3c
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x6f
call fcn.00603a3c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x6e
call fcn.00603a3c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x6d
call fcn.00603a3c
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x6c
call fcn.00603a3c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x6b
call fcn.00603a3c
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x6a
call fcn.00603a3c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x69
call fcn.00603a3c
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x68
call fcn.00603a3c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x67
call fcn.00497430
mov esi, 0x632e74
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 0x65
call fcn.00401200
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x64
call fcn.00401200
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x63
call fcn.00401200
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x62
call fcn.00401200
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov byte [ebp - 4], 0x5d
call fcn.00401200
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x14c], esi
mov byte [ebp - 4], 0x5a
call fcn.00401200
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x16c], esi
mov byte [ebp - 4], 0x58
call fcn.00401200
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x57
call fcn.0060b6cd
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x56
call fcn.0060b6cd
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x55
call fcn.0060b6cd
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x54
call fcn.0060b6cd
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x53
call fcn.0060b6cd
mov byte [ebp - 4], 0x52
jmp 0x4f14a8
call fcn.00603a3c
test edi, edi
je 0x4f1a54
mov eax, dword [0x6d2354]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push 0
push str.UseHttpProxy
push eax
mov dword [ebp - 0x20], ebx
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
inc ecx
push ecx
mov ecx, dword [0x6d2354]
push eax
push ebx
push 0
push str.HttpProxy
push ecx
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f1968
mov edx, dword [0x6d2354]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpPort
push edx
call esi
lea eax, [ebp - 0x18]
push 0
lea ecx, [ebp - 0x14]
push eax
push ecx
push str.ftp
lea ecx, [ebp - 0x370]
call fcn.004f9c90
test al, al
je 0x4f19d9
mov eax, dword [0x6d2354]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push 0
push str.UseFtpProxy
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f19bb
inc eax
push eax
push ecx
mov ecx, dword [0x6d2354]
push ebx
push 0
push str.FtpProxy
push ecx
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f19d9
mov edx, dword [0x6d2354]
inc eax
push eax
push ecx
push ebx
push 0
push str.FtpPort
push edx
call esi
lea eax, [ebp - 0x18]
push 0
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0x6bb208
lea ecx, [ebp - 0x370]
call fcn.004f9c90
test al, al
je 0x4f1a4a
mov eax, dword [0x6d2354]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push 0
push str.UseHttpsProxy
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f1a2c
inc eax
push eax
push ecx
mov ecx, dword [0x6d2354]
push ebx
push 0
push str.HttpsProxy
push ecx
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f1a4a
mov edx, dword [0x6d2354]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpsPort
push edx
call esi
mov dword [0x6d2804], 0x10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4f1a8e
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6d2868
push eax
call fcn.004b8d90
mov ecx, dword [ebp - 0x1c]
mov dword [0x6d2878], eax
push ecx
push 0x6a10a0
push 0x6d2874
call fcn.005fc86b
add esp, 0xc
mov dword [0x6d2804], 8
mov edx, dword [0x6d2ee8]
push 0
push 0
push 3
push ebx
push 0
push edx
lea ecx, [ebp - 0x160c]
call fcn.00508fa0
lea ecx, [ebp - 0x160c]
mov byte [ebp - 4], 0x78
call fcn.0060c6e5
lea ecx, [ebp - 0x160c]
mov byte [ebp - 4], 4
call fcn.00509160
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00603a3c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00603a3c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00603a3c
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 0
call fcn.004f1b20
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4