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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cd5d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2658
call fcn.00591b50
push ebx
push esi
push edi
lea ecx, [ebp - 0x70c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004cbe00
mov eax, dword [0x68d01c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x6662cc
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 3
call fcn.004cd380
test al, al
jne 0x4c5398
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x2a
call fcn.005adc4d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x29
call fcn.005adc4d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x28
call fcn.005adc4d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x27
call fcn.005adc4d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x26
call fcn.005adc4d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x25
call fcn.005adc4d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x24
call fcn.005adc4d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x23
call fcn.005adc4d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x22
call fcn.005adc4d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x21
call fcn.005adc4d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x20
call fcn.005adc4d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1f
call fcn.005adc4d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1e
call fcn.00474c60
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x1d
call fcn.005b58e1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x1c
call fcn.005b5759
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x1b
call fcn.005b5791
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x1a
call fcn.005b5791
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x19
call fcn.005b5791
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x18
call fcn.005b5791
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x17
call fcn.005b5791
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x16
call fcn.005b5759
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x15
call fcn.005b5791
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x14
call fcn.005b5759
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x13
call fcn.005b5759
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x12
call fcn.005b5759
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x11
call fcn.005b5759
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x10
call fcn.005b5759
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0xf
call fcn.005b5759
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xe
call fcn.005b58e1
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 0xd
call fcn.005b58e1
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0xc
call fcn.005b58e1
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 0xb
call fcn.005b58e1
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 0xa
call fcn.005b58e1
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 9
call fcn.005b58e1
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 8
call fcn.005b58e1
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 7
call fcn.005b5759
lea ecx, [ebp - 0x608]
mov byte [ebp - 4], 6
call fcn.005b58e1
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], 5
call fcn.005b5791
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x680]
call fcn.005b5759
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.005b6053
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4c55d7
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x51
call fcn.005adc4d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x50
call fcn.005adc4d
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x4f
call fcn.005adc4d
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x4e
call fcn.005adc4d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x4d
call fcn.005adc4d
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x4c
call fcn.005adc4d
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x4b
call fcn.005adc4d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x4a
call fcn.005adc4d
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x49
call fcn.005adc4d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x48
call fcn.005adc4d
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x47
call fcn.005adc4d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x46
call fcn.005adc4d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x45
call fcn.00474c60
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x44
call fcn.005b58e1
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x43
call fcn.005b5759
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0x42
call fcn.005b5791
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x41
call fcn.005b5791
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0x40
call fcn.005b5791
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 0x3f
call fcn.005b5791
lea ecx, [ebp - 0x20c]
mov byte [ebp - 4], 0x3e
call fcn.005b5791
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x3d
call fcn.005b5759
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x3c
call fcn.005b5791
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x3b
call fcn.005b5759
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 0x3a
call fcn.005b5759
lea ecx, [ebp - 0x338]
mov byte [ebp - 4], 0x39
call fcn.005b5759
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0x38
call fcn.005b5759
lea ecx, [ebp - 0x3b0]
mov byte [ebp - 4], 0x37
call fcn.005b5759
lea ecx, [ebp - 0x3ec]
mov byte [ebp - 4], 0x36
call fcn.005b5759
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x35
call fcn.005b58e1
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 0x34
call fcn.005b58e1
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 0x33
call fcn.005b58e1
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 0x32
call fcn.005b58e1
lea ecx, [ebp - 0x518]
mov byte [ebp - 4], 0x31
call fcn.005b58e1
lea ecx, [ebp - 0x554]
mov byte [ebp - 4], 0x30
call fcn.005b58e1
lea ecx, [ebp - 0x590]
mov byte [ebp - 4], 0x2f
call fcn.005b58e1
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 0x2e
call fcn.005b5759
lea ecx, [ebp - 0x608]
mov byte [ebp - 4], 0x2d
call fcn.005b58e1
lea ecx, [ebp - 0x644]
mov byte [ebp - 4], 0x2c
call fcn.005b5791
mov byte [ebp - 4], 0x2b
jmp 0x4c536d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4c5619
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.004c5950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
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 0x4c5632
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 0x4c564a
mov ebx, 1
push str.localhost
push eax
call fcn.00592305
add esp, 8
test eax, eax
je 0x4c5660
test ebx, ebx
je 0x4c5698
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.004c5950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x80c]
mov edx, dword [0x691b84]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x80c]
push eax
push ecx
push 0
push 0
push str.HttpProxy
push edx
mov dword [ebp - 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c5732
lea edi, [ebp - 0x80c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4c5732
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x80c]
push eax
push ecx
call fcn.00592305
add esp, 8
test eax, eax
jne 0x4c5732
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.004c5950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x692624]
mov eax, dword [0x692628]
push 0x50004
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x4c5789
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.004c5950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x691b84]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push 0
push str.UseHttpProxy
push edx
mov dword [ebp - 0x1c], 1
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [0x691b84]
push 1
push 0
push str.HttpProxy
push eax
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c57e7
inc eax
push eax
push ecx
mov ecx, dword [0x691b84]
push 1
push 0
push str.HttpPort
push ecx
call esi
lea edx, [ebp - 0x18]
push 0
lea eax, [ebp - 0x14]
push edx
push eax
push str.ftp
lea ecx, [ebp - 0x70c]
call fcn.004cd380
test al, al
je 0x4c585a
mov edx, dword [0x691b84]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push 0
push str.UseFtpProxy
push edx
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c583b
inc eax
push eax
mov eax, dword [0x691b84]
push ecx
push 1
push 0
push str.FtpProxy
push eax
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c585a
inc eax
push eax
push ecx
mov ecx, dword [0x691b84]
push 1
push 0
push str.FtpPort
push ecx
call esi
lea edx, [ebp - 0x18]
push 0
lea eax, [ebp - 0x14]
push edx
push eax
push 0x6662d4
lea ecx, [ebp - 0x70c]
call fcn.004cd380
test al, al
je 0x4c58cd
mov edx, dword [0x691b84]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push 0
push str.UseHttpsProxy
push edx
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c58ae
inc eax
push eax
mov eax, dword [0x691b84]
push ecx
push 1
push 0
push str.HttpsProxy
push eax
call esi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4c58cd
inc eax
push eax
push ecx
mov ecx, dword [0x691b84]
push 1
push 0
push str.HttpsPort
push ecx
call esi
mov edx, dword [0x692474]
push 0
push 0
push 3
push 1
push 0
push edx
lea ecx, [ebp - 0x2668]
call fcn.004da6f0
lea ecx, [ebp - 0x2668]
mov byte [ebp - 4], 0x52
call fcn.005b68f9
lea ecx, [ebp - 0x2668]
mov byte [ebp - 4], 3
call fcn.004da8b0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.005adc4d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.005adc4d
lea ecx, [ebp - 0x70c]
mov byte [ebp - 4], 0
call fcn.004c5950
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret