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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6004b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2854
call fcn.005c3080
push ebx
push esi
push edi
xor esi, esi
lea ecx, [ebp - 0x7cc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.004e5cf0
mov eax, dword [0x6c826c]
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 0x4dec93
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x69e334
lea ecx, [ebp - 0x7cc]
call fcn.004e7440
test al, al
je 0x4dec93
cmp dword [ebp - 0x30], esi
je 0x4dec93
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], esi
je 0x4dec93
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 0x4debfe
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 0x4dec16
mov ebx, 1
push str.localhost
push eax
call fcn.005c3863
add esp, 8
test eax, eax
je 0x4dec93
test ebx, ebx
jne 0x4dec93
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x8cc]
mov edx, dword [0x6cce68]
rep stosd dword es:[edi], eax
lea eax, [ebp + 8]
lea ecx, [ebp - 0x8cc]
push eax
push ecx
push ebx
push ebx
push str.HttpProxy
push edx
mov dword [ebp + 8], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4dec93
lea edi, [ebp - 0x8cc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4dec93
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8cc]
push eax
push ecx
call fcn.005c3863
add esp, 8
test eax, eax
je 0x4dec93
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 0x4ded56
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 0x4ded4c
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edx
call fcn.005df633
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 0x4ded4c
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4ded4c
mov eax, dword [0x6cccc0]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4ded3c
test cl, cl
je 0x4ded38
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4ded3c
add eax, 2
add esi, 2
test cl, cl
jne 0x4ded14
xor eax, eax
jmp 0x4ded41
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ded4c
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6cce68]
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 0x4df026
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4df2b6
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005df266
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005df266
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005df266
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x2e
call fcn.005df266
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x2d
call fcn.005df266
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x2c
call fcn.005df266
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x2b
call fcn.005df266
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x2a
call fcn.005df266
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x29
call fcn.005df266
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x28
call fcn.005df266
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x27
call fcn.005df266
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x26
call fcn.005df266
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x25
call fcn.005df266
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x24
call fcn.005df266
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x23
call fcn.005df266
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x22
call fcn.004883b0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x21
call fcn.005e6efd
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x20
call fcn.005e6d75
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x1f
call fcn.005e6dad
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x1e
call fcn.005e6dad
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x1d
call fcn.005e6dad
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1c
call fcn.005e6dad
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x1b
call fcn.005e6dad
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x1a
call fcn.005e6d75
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x19
call fcn.005e6dad
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x18
call fcn.005e6d75
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x17
call fcn.005e6d75
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x16
call fcn.005e6d75
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 0x15
call fcn.005e6d75
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0x14
call fcn.005e6d75
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x13
call fcn.005e6d75
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x12
call fcn.005e6efd
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0x11
call fcn.005e6efd
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0x10
call fcn.005e6efd
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0xf
call fcn.005e6efd
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0xe
call fcn.005e6efd
lea ecx, [ebp - 0x560]
mov byte [ebp - 4], 0xd
call fcn.005e6efd
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0xc
call fcn.005e6efd
lea ecx, [ebp - 0x5d8]
mov byte [ebp - 4], 0xb
call fcn.005e6d75
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 0xa
call fcn.005e6efd
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 9
call fcn.005e6dad
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 8
call fcn.005e6d75
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 7
call fcn.005e6efd
lea ecx, [ebp - 0x704]
mov byte [ebp - 4], 6
call fcn.005e6d75
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x740]
call fcn.005e6dad
lea ecx, [ebp - 0x7cc]
mov byte [ebp - 4], 0
call fcn.005e766f
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 [0x6cda40]
mov ecx, dword [0x6cda44]
push 0x50004
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4df578
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005df266
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005df266
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005df266
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x58
call fcn.005df266
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x57
call fcn.005df266
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x56
call fcn.005df266
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x55
call fcn.005df266
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x54
call fcn.005df266
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x53
call fcn.005df266
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x52
call fcn.005df266
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x51
call fcn.005df266
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x50
call fcn.005df266
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x4f
call fcn.005df266
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x4e
call fcn.005df266
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x4d
call fcn.005df266
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x4c
call fcn.004883b0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x4b
call fcn.005e6efd
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x4a
call fcn.005e6d75
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x49
call fcn.005e6dad
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x48
call fcn.005e6dad
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x47
call fcn.005e6dad
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x46
call fcn.005e6dad
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x45
call fcn.005e6dad
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x44
call fcn.005e6d75
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x43
call fcn.005e6dad
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x42
call fcn.005e6d75
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x41
call fcn.005e6d75
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x40
call fcn.005e6d75
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 0x3f
call fcn.005e6d75
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0x3e
call fcn.005e6d75
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x3d
call fcn.005e6d75
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x3c
call fcn.005e6efd
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0x3b
call fcn.005e6efd
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0x3a
call fcn.005e6efd
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0x39
call fcn.005e6efd
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0x38
call fcn.005e6efd
lea ecx, [ebp - 0x560]
mov byte [ebp - 4], 0x37
call fcn.005e6efd
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x36
call fcn.005e6efd
lea ecx, [ebp - 0x5d8]
mov byte [ebp - 4], 0x35
call fcn.005e6d75
lea ecx, [ebp - 0x614]
mov byte [ebp - 4], 0x34
call fcn.005e6efd
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x33
call fcn.005e6dad
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 0x32
call fcn.005e6d75
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 0x31
call fcn.005e6efd
lea ecx, [ebp - 0x704]
mov byte [ebp - 4], 0x30
call fcn.005e6d75
mov byte [ebp - 4], 0x2f
jmp 0x4deff9
mov edx, dword [0x6c826c]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [0x6cd454]
push eax
lea edx, [ebp + 8]
push ecx
push edx
mov byte [ebp - 4], 0x59
call fcn.005d809b
mov eax, dword [0x6cda40]
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 0x4df573
call fcn.005df266
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005df266
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005df266
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005df266
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x83
call fcn.005df266
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x82
call fcn.005df266
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x81
call fcn.005df266
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x80
call fcn.005df266
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x7f
call fcn.005df266
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x7e
call fcn.005df266
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x7d
call fcn.005df266
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x7c
call fcn.005df266
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x7b
call fcn.005df266
mov byte [ebp - 4], 0x7a
lea ecx, [ebp - 0x5c]
call fcn.005df266
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x79
call fcn.005df266
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x78
call fcn.005df266
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x77
call fcn.004883b0
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x76
call fcn.005e6efd
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x75
call fcn.005e6d75
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x74
call fcn.005e6dad
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0x73
call fcn.005e6dad
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0x72
call fcn.005e6dad
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x71
call fcn.005e6dad
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x70
call fcn.005e6dad
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x6f
call fcn.005e6d75
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 0x6e
call fcn.005e6dad
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x6d
call fcn.005e6d75
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 0x6c
call fcn.005e6d75
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0x6b
call fcn.005e6d75
lea ecx, [ebp - 0x380]
mov byte [ebp - 4], 0x6a
call fcn.005e6d75
lea ecx, [ebp - 0x3bc]
mov byte [ebp - 4], 0x69
call fcn.005e6d75
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x68
call fcn.005e6d75
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 0x67
call fcn.005e6efd
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0x66
call fcn.005e6efd
lea ecx, [ebp - 0x4ac]
mov byte [ebp - 4], 0x65
call fcn.005e6efd
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 0x64
call fcn.005e6efd
lea ecx, [ebp - 0x524]
mov byte [ebp - 4], 0x63
call fcn.005e6efd
lea ecx, [ebp - 0x560]
mov byte [ebp - 4], 0x62
call fcn.005e6efd
lea ecx, [ebp - 0x59c]
mov byte [ebp - 4], 0x61
call fcn.005e6efd
lea ecx, [ebp - 0x5d8]
mov byte [ebp - 4], 0x60
call fcn.005e6d75
mov byte [ebp - 4], 0x5f
lea ecx, [ebp - 0x614]
call fcn.005e6efd
lea ecx, [ebp - 0x650]
mov byte [ebp - 4], 0x5e
call fcn.005e6dad
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 0x5d
call fcn.005e6d75
lea ecx, [ebp - 0x6c8]
mov byte [ebp - 4], 0x5c
call fcn.005e6efd
lea ecx, [ebp - 0x704]
mov byte [ebp - 4], 0x5b
call fcn.005e6d75
mov byte [ebp - 4], 0x5a
jmp 0x4deff9
call fcn.005df266
test edi, edi
je 0x4df6b4
mov eax, dword [0x6cce68]
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 [0x6cce68]
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 0x4df5d2
mov edx, dword [0x6cce68]
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 - 0x7cc]
call fcn.004e7440
test al, al
je 0x4df643
mov eax, dword [0x6cce68]
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 0x4df625
inc eax
push eax
push ecx
mov ecx, dword [0x6cce68]
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 0x4df643
mov edx, dword [0x6cce68]
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 str.https
lea ecx, [ebp - 0x7cc]
call fcn.004e7440
test al, al
je 0x4df6b4
mov eax, dword [0x6cce68]
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 0x4df696
inc eax
push eax
push ecx
mov ecx, dword [0x6cce68]
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 0x4df6b4
mov edx, dword [0x6cce68]
inc eax
push eax
push ecx
push ebx
push 0
push str.HttpsPort
push edx
call esi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4df6ce
mov eax, dword [ebp - 0x1c]
mov ecx, 0x6cccb8
push eax
call fcn.004a8180
mov dword [0x6cccc4], eax
mov ecx, dword [0x6cd890]
push 0
push 0
push 3
push ebx
push 0
push ecx
lea ecx, [ebp - 0x2864]
call fcn.004f52f0
lea ecx, [ebp - 0x2864]
mov byte [ebp - 4], 0x84
call fcn.005e7f15
lea ecx, [ebp - 0x2864]
mov byte [ebp - 4], 4
call fcn.004f54b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.005df266
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005df266
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005df266
lea ecx, [ebp - 0x7cc]
mov byte [ebp - 4], 0
call fcn.004df760
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4