Function at 0x5060d0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x649074
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x156c
call fcn.00609d40
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x308]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.0050d6f0
mov eax, dword [0x6f7b78]
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 0x506213
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x6e5058
lea ecx, [ebp - 0x308]
call fcn.0050f190
test al, al
je 0x506213
cmp dword [ebp - 0x30], esi
je 0x506213
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x506213
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 0x50617e
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 0x506196
mov ebx, 1
push str.localhost
push eax
call fcn.0060a7ae
add esp, 8
test eax, eax
je 0x506213
test ebx, ebx
jne 0x506213
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x408]
mov edx, dword [0x6fcafc]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x408]
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 0x50620c
lea edi, [ebp - 0x408]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50620c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x408]
push eax
push ecx
call fcn.0060a7ae
add esp, 8
test eax, eax
je 0x506213
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 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x5062d6
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 0x5062cc
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00623157
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 0x5062cc
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5062cc
mov eax, dword [0x6fd080]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x5062bc
test cl, cl
je 0x5062b8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x5062bc
add eax, 2
add esi, 2
test cl, cl
jne 0x506294
xor eax, eax
jmp 0x5062c1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5062cc
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6fcafc]
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 0x506506
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x5066f8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.00622d8a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x29
call fcn.00622d8a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x28
call fcn.00622d8a
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x27
call fcn.00622d8a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x26
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x25
call fcn.00622d8a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x24
call fcn.00622d8a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x23
call fcn.00622d8a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x22
call fcn.00622d8a
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x21
call fcn.00622d8a
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x20
call fcn.00622d8a
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x1f
call fcn.00622d8a
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.00622d8a
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1d
call fcn.00622d8a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1c
call fcn.00622d8a
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1b
call fcn.00622d8a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1a
call fcn.00622d8a
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x19
call fcn.004a7050
mov esi, 0x657cdc
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 0x16
call fcn.004012f0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x15
call fcn.004012f0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x14
call fcn.004012f0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x13
call fcn.004012f0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x12c], esi
mov byte [ebp - 4], 0xe
call fcn.004012f0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x15c], esi
mov byte [ebp - 4], 0xb
call fcn.004012f0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], esi
mov byte [ebp - 4], 9
call fcn.004012f0
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 8
call fcn.0062e243
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 7
call fcn.0062e243
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 6
call fcn.0062e243
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x27c]
call fcn.0062e243
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0
call fcn.0062e9b5
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 [0x6fd900]
mov ecx, dword [0x6fd904]
push 0x50004
push eax
push ecx
push 0
call fcn.00457010
add esp, 0x10
cmp eax, 6
je 0x506925
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x4e
call fcn.00622d8a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x4d
call fcn.00622d8a
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x4c
call fcn.00622d8a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x4b
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x4a
call fcn.00622d8a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x49
call fcn.00622d8a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x48
call fcn.00622d8a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x47
call fcn.00622d8a
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x46
call fcn.00622d8a
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x45
call fcn.00622d8a
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x44
call fcn.00622d8a
mov byte [ebp - 4], 0x43
lea ecx, [ebp - 0x70]
call fcn.00622d8a
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x42
call fcn.00622d8a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x41
call fcn.00622d8a
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x40
call fcn.00622d8a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x3f
call fcn.00622d8a
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x3e
call fcn.004a7050
mov esi, 0x657cdc
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0xac], esi
mov byte [ebp - 4], 0x3b
call fcn.004012f0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x3a
call fcn.004012f0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x39
call fcn.004012f0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x38
call fcn.004012f0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x12c], esi
mov byte [ebp - 4], 0x33
call fcn.004012f0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x15c], esi
mov byte [ebp - 4], 0x30
call fcn.004012f0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], esi
mov byte [ebp - 4], 0x2e
call fcn.004012f0
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 0x2d
call fcn.0062e243
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x2c
call fcn.0062e243
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x2b
call fcn.0062e243
mov byte [ebp - 4], 0x2a
jmp 0x5064d9
mov edx, dword [0x6f7b78]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6fd308]
push eax
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0x4f
call fcn.0061fae1
mov eax, dword [0x6fd900]
mov ecx, dword [ebp + 8]
add esp, 0xc
push 0x50004
push eax
push ecx
push 0
call fcn.00457010
add esp, 0x10
cmp eax, 6
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
je 0x506920
call fcn.00622d8a
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x74
call fcn.00622d8a
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x73
call fcn.00622d8a
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x72
call fcn.00622d8a
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x71
call fcn.00622d8a
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x70
call fcn.00622d8a
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x6f
call fcn.00622d8a
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x6e
call fcn.00622d8a
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x6d
call fcn.00622d8a
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x6c
call fcn.00622d8a
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x6b
call fcn.00622d8a
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x6a
call fcn.00622d8a
mov byte [ebp - 4], 0x69
lea ecx, [ebp - 0x70]
call fcn.00622d8a
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x68
call fcn.00622d8a
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x67
call fcn.00622d8a
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x66
call fcn.00622d8a
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x65
call fcn.00622d8a
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x64
call fcn.004a7050
mov esi, 0x657cdc
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x9c], esi
mov byte [ebp - 4], 0x62
call fcn.004012f0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x61
call fcn.004012f0
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x60
call fcn.004012f0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x5f
call fcn.004012f0
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x5e
call fcn.004012f0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x12c], esi
mov byte [ebp - 4], 0x59
call fcn.004012f0
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x15c], esi
mov byte [ebp - 4], 0x56
call fcn.004012f0
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x17c], esi
mov byte [ebp - 4], 0x54
call fcn.004012f0
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 0x53
call fcn.0062e243
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x52
call fcn.0062e243
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x51
call fcn.0062e243
mov byte [ebp - 4], 0x50
jmp 0x5064d9
call fcn.00622d8a
test edi, edi
je 0x506a6b
mov eax, dword [0x6fcafc]
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 [0x6fcafc]
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 0x50697f
mov edx, dword [0x6fcafc]
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 - 0x308]
call fcn.0050f190
test al, al
je 0x5069f0
mov eax, dword [0x6fcafc]
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 0x5069d2
inc eax
push eax
push ecx
mov ecx, dword [0x6fcafc]
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 0x5069f0
mov edx, dword [0x6fcafc]
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 0x6e4fd4
lea ecx, [ebp - 0x308]
call fcn.0050f190
test al, al
je 0x506a61
mov eax, dword [0x6fcafc]
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 0x506a43
inc eax
push eax
push ecx
mov ecx, dword [0x6fcafc]
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 0x506a61
mov edx, dword [0x6fcafc]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpsPort
push edx
call esi
mov dword [0x6fd014], 0x10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x506aa5
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6fd078
push eax
call fcn.004cb040
mov ecx, dword [ebp - 0x1c]
mov dword [0x6fd088], eax
push ecx
push 0x6c910c
push 0x6fd084
call fcn.0061fae1
add esp, 0xc
mov dword [0x6fd014], 8
mov edx, dword [0x6fd750]
push 0
push 0
push 3
push ebx
push 0
push edx
lea ecx, [ebp - 0x157c]
call fcn.0051ece0
lea ecx, [ebp - 0x157c]
mov byte [ebp - 4], 0x75
call fcn.0062f25b
lea ecx, [ebp - 0x157c]
mov byte [ebp - 4], 4
call fcn.0051eea0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00622d8a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00622d8a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00622d8a
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0
call fcn.00506b30
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4