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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x623b45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x24c4
call fcn.005e5310
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x604]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.004f7720
mov eax, dword [0x6f175c]
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 0x4f0433
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x6df280
lea ecx, [ebp - 0x604]
call fcn.004f8f60
test al, al
je 0x4f0433
cmp dword [ebp - 0x30], esi
je 0x4f0433
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x4f0433
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 0x4f039e
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 0x4f03b6
mov ebx, 1
push str.localhost
push eax
call fcn.005e5dd3
add esp, 8
test eax, eax
je 0x4f0433
test ebx, ebx
jne 0x4f0433
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x704]
mov edx, dword [0x6f6360]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x704]
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 0x4f042c
lea edi, [ebp - 0x704]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f042c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x704]
push eax
push ecx
call fcn.005e5dd3
add esp, 8
test eax, eax
je 0x4f0433
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 0x4f04f6
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 0x4f04ec
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00601c99
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 0x4f04ec
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4f04ec
mov eax, dword [0x6f6850]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4f04dc
test cl, cl
je 0x4f04d8
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4f04dc
add eax, 2
add esi, 2
test cl, cl
jne 0x4f04b4
xor eax, eax
jmp 0x4f04e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4f04ec
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6f6360]
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 0x4f0781
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4f09cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.006018cc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2a
call fcn.006018cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x29
call fcn.006018cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x28
call fcn.006018cc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x27
call fcn.006018cc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x26
call fcn.006018cc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x25
call fcn.006018cc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x24
call fcn.006018cc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x23
call fcn.006018cc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x22
call fcn.006018cc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x21
call fcn.006018cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x20
call fcn.006018cc
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x70]
call fcn.006018cc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x1e
call fcn.006018cc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x1d
call fcn.006018cc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x1c
call fcn.006018cc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1b
call fcn.006018cc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x1a
call fcn.00496f10
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x19
call fcn.0060955d
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x18
call fcn.006093d5
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x17
call fcn.0060940d
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x16
call fcn.0060940d
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x15
call fcn.0060940d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x14
call fcn.0060940d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x13
call fcn.006093d5
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x12
call fcn.006093d5
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x11
call fcn.006093d5
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x10
call fcn.006093d5
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0xf
call fcn.0060955d
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0xe
call fcn.0060955d
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0xd
call fcn.0060955d
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0xc
call fcn.0060955d
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 0xb
call fcn.0060940d
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0xa
call fcn.006093d5
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 9
call fcn.0060955d
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 8
call fcn.006093d5
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 7
call fcn.0060940d
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 6
call fcn.006093d5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x578]
call fcn.0060940d
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 0
call fcn.00609ccf
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 [0x6f7078]
mov ecx, dword [0x6f707c]
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4f0c49
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x50
call fcn.006018cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x4f
call fcn.006018cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x4e
call fcn.006018cc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x4d
call fcn.006018cc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x4c
call fcn.006018cc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x4b
call fcn.006018cc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4a
call fcn.006018cc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x49
call fcn.006018cc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x48
call fcn.006018cc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x47
call fcn.006018cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x46
call fcn.006018cc
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x70]
call fcn.006018cc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x44
call fcn.006018cc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x43
call fcn.006018cc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x42
call fcn.006018cc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x41
call fcn.006018cc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x40
call fcn.00496f10
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x3f
call fcn.0060955d
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x3e
call fcn.006093d5
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x3d
call fcn.0060940d
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x3c
call fcn.0060940d
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x3b
call fcn.0060940d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x3a
call fcn.0060940d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x39
call fcn.006093d5
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x38
call fcn.006093d5
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x37
call fcn.006093d5
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x36
call fcn.006093d5
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0x35
call fcn.0060955d
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x34
call fcn.0060955d
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x33
call fcn.0060955d
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0x32
call fcn.0060955d
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 0x31
call fcn.0060940d
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0x30
call fcn.006093d5
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0x2f
call fcn.0060955d
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0x2e
call fcn.006093d5
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0x2d
call fcn.0060940d
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 0x2c
call fcn.006093d5
mov byte [ebp - 4], 0x2b
jmp 0x4f0754
mov edx, dword [0x6f175c]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6f6a80]
push eax
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0x51
call fcn.005fa6fb
mov eax, dword [0x6f7078]
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 0x4f0c44
call fcn.006018cc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x77
call fcn.006018cc
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x76
call fcn.006018cc
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x75
call fcn.006018cc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x74
call fcn.006018cc
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x73
call fcn.006018cc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x72
call fcn.006018cc
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x71
call fcn.006018cc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x70
call fcn.006018cc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x6f
call fcn.006018cc
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x6e
call fcn.006018cc
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x6d
call fcn.006018cc
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 0x6c
call fcn.006018cc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x6b
call fcn.006018cc
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0x6a
call fcn.006018cc
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x69
call fcn.006018cc
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x68
call fcn.006018cc
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x67
call fcn.00496f10
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x66
call fcn.0060955d
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x65
call fcn.006093d5
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x64
call fcn.0060940d
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x63
call fcn.0060940d
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0x62
call fcn.0060940d
lea ecx, [ebp - 0x1f4]
mov byte [ebp - 4], 0x61
call fcn.0060940d
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x60
call fcn.006093d5
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x5f
call fcn.006093d5
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x5e
call fcn.006093d5
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x5d
call fcn.006093d5
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 0x5c
call fcn.0060955d
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 0x5b
call fcn.0060955d
lea ecx, [ebp - 0x398]
mov byte [ebp - 4], 0x5a
call fcn.0060955d
lea ecx, [ebp - 0x3d4]
mov byte [ebp - 4], 0x59
call fcn.0060955d
lea ecx, [ebp - 0x410]
mov byte [ebp - 4], 0x58
call fcn.0060940d
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 0x57
call fcn.006093d5
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 0x56
call fcn.0060955d
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 0x55
call fcn.006093d5
lea ecx, [ebp - 0x500]
mov byte [ebp - 4], 0x54
call fcn.0060940d
lea ecx, [ebp - 0x53c]
mov byte [ebp - 4], 0x53
call fcn.006093d5
mov byte [ebp - 4], 0x52
jmp 0x4f0754
call fcn.006018cc
test edi, edi
je 0x4f0d8f
mov eax, dword [0x6f6360]
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 [0x6f6360]
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 0x4f0ca3
mov edx, dword [0x6f6360]
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 - 0x604]
call fcn.004f8f60
test al, al
je 0x4f0d14
mov eax, dword [0x6f6360]
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 0x4f0cf6
inc eax
push eax
push ecx
mov ecx, dword [0x6f6360]
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 0x4f0d14
mov edx, dword [0x6f6360]
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 0x6df1fc
lea ecx, [ebp - 0x604]
call fcn.004f8f60
test al, al
je 0x4f0d85
mov eax, dword [0x6f6360]
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 0x4f0d67
inc eax
push eax
push ecx
mov ecx, dword [0x6f6360]
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 0x4f0d85
mov edx, dword [0x6f6360]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpsPort
push edx
call esi
mov dword [0x6f67e4], 0x10
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4f0dc9
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6f6848
push eax
call fcn.004b8440
mov ecx, dword [ebp - 0x1c]
mov dword [0x6f6858], eax
push ecx
push 0x6c5098
push 0x6f6854
call fcn.005fa6fb
add esp, 0xc
mov dword [0x6f67e4], 8
mov edx, dword [0x6f6ec8]
push 0
push 0
push 3
push ebx
push 0
push edx
lea ecx, [ebp - 0x24d4]
call fcn.00507e30
lea ecx, [ebp - 0x24d4]
mov byte [ebp - 4], 0x78
call fcn.0060a575
lea ecx, [ebp - 0x24d4]
mov byte [ebp - 4], 4
call fcn.00507ff0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.006018cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.006018cc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.006018cc
lea ecx, [ebp - 0x604]
mov byte [ebp - 4], 0
call fcn.004f0e50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4