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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623f75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x15fc
call fcn.005e6510
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.004f75e0
mov eax, dword [0x6cc708]
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 0x4f03d3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x6ba26c
lea ecx, [ebp - 0x370]
call fcn.004f8e90
test al, al
je 0x4f03d3
cmp dword [ebp - 0x30], esi
je 0x4f03d3
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x4f03d3
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 0x4f033e
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 0x4f0356
mov ebx, 1
push str.localhost
push eax
call fcn.005e6fce
add esp, 8
test eax, eax
je 0x4f03d3
test ebx, ebx
jne 0x4f03d3
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x470]
mov edx, dword [0x6d12f4]
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 0x4f03cc
lea edi, [ebp - 0x470]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f03cc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x470]
push eax
push ecx
call fcn.005e6fce
add esp, 8
test eax, eax
je 0x4f03d3
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 0x4f0496
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 0x4f048c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00602ea3
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 0x4f048c
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f048c
mov eax, dword [0x6d1808]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4f047c
test cl, cl
je 0x4f0478
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4f047c
add eax, 2
add esi, 2
test cl, cl
jne 0x4f0454
xor eax, eax
jmp 0x4f0481
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4f048c
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6d12f4]
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 0x4f06d5
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4f08d4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00602ad6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2a
call fcn.00602ad6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x29
call fcn.00602ad6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
call fcn.00602ad6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x27
call fcn.00602ad6
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x26
call fcn.00602ad6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x25
call fcn.00602ad6
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call fcn.00602ad6
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x23
call fcn.00602ad6
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.00602ad6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x21
call fcn.00602ad6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x20
call fcn.00602ad6
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x70]
call fcn.00602ad6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.00602ad6
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.00602ad6
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.00602ad6
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.00602ad6
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
call fcn.00496af0
mov esi, 0x631e74
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.0060a76d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 9
call fcn.0060a76d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
call fcn.0060a76d
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 7
call fcn.0060a76d
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 6
call fcn.0060a76d
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2e4]
call fcn.0060a76d
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 0
call fcn.0060aedf
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 [0x6d2030]
mov ecx, dword [0x6d2034]
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4f0b0e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x50
call fcn.00602ad6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x4f
call fcn.00602ad6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x4e
call fcn.00602ad6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x4d
call fcn.00602ad6
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x4c
call fcn.00602ad6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x4b
call fcn.00602ad6
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4a
call fcn.00602ad6
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x49
call fcn.00602ad6
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x48
call fcn.00602ad6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x47
call fcn.00602ad6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x46
call fcn.00602ad6
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x70]
call fcn.00602ad6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x44
call fcn.00602ad6
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x43
call fcn.00602ad6
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x42
call fcn.00602ad6
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x41
call fcn.00602ad6
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x40
call fcn.00496af0
mov esi, 0x631e74
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.0060a76d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x2f
call fcn.0060a76d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x2e
call fcn.0060a76d
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x2d
call fcn.0060a76d
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x2c
call fcn.0060a76d
mov byte [ebp - 4], 0x2b
jmp 0x4f06a8
mov edx, dword [0x6cc708]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6d1a38]
push eax
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0x51
call fcn.005fb90b
mov eax, dword [0x6d2030]
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 0x4f0b09
call fcn.00602ad6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x77
call fcn.00602ad6
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x76
call fcn.00602ad6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x75
call fcn.00602ad6
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x74
call fcn.00602ad6
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x73
call fcn.00602ad6
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x72
call fcn.00602ad6
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x71
call fcn.00602ad6
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x70
call fcn.00602ad6
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x6f
call fcn.00602ad6
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x6e
call fcn.00602ad6
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x6d
call fcn.00602ad6
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x6c
call fcn.00602ad6
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x6b
call fcn.00602ad6
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x6a
call fcn.00602ad6
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x69
call fcn.00602ad6
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x68
call fcn.00602ad6
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x67
call fcn.00496af0
mov esi, 0x631e74
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.0060a76d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x56
call fcn.0060a76d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x55
call fcn.0060a76d
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x54
call fcn.0060a76d
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x53
call fcn.0060a76d
mov byte [ebp - 4], 0x52
jmp 0x4f06a8
call fcn.00602ad6
test edi, edi
je 0x4f0c54
mov eax, dword [0x6d12f4]
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 [0x6d12f4]
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 0x4f0b68
mov edx, dword [0x6d12f4]
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.004f8e90
test al, al
je 0x4f0bd9
mov eax, dword [0x6d12f4]
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 0x4f0bbb
inc eax
push eax
push ecx
mov ecx, dword [0x6d12f4]
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 0x4f0bd9
mov edx, dword [0x6d12f4]
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 0x6ba1e8
lea ecx, [ebp - 0x370]
call fcn.004f8e90
test al, al
je 0x4f0c4a
mov eax, dword [0x6d12f4]
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 0x4f0c2c
inc eax
push eax
push ecx
mov ecx, dword [0x6d12f4]
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 0x4f0c4a
mov edx, dword [0x6d12f4]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpsPort
push edx
call esi
mov dword [0x6d179c], 0x10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4f0c8e
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6d1800
push eax
call fcn.004b8070
mov ecx, dword [ebp - 0x1c]
mov dword [0x6d1810], eax
push ecx
push 0x6a00a0
push 0x6d180c
call fcn.005fb90b
add esp, 0xc
mov dword [0x6d179c], 8
mov edx, dword [0x6d1e80]
push 0
push 0
push 3
push ebx
push 0
push edx
lea ecx, [ebp - 0x160c]
call fcn.00508030
lea ecx, [ebp - 0x160c]
mov byte [ebp - 4], 0x78
call fcn.0060b785
lea ecx, [ebp - 0x160c]
mov byte [ebp - 4], 4
call fcn.005081f0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00602ad6
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00602ad6
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00602ad6
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 0
call fcn.004f0d20
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4