Function at 0x404130
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56cd78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x564
mov eax, dword [0x5d2724]
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], eax
push 0x3fd
mov byte [ebp - 4], 1
call fcn.00551b63
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.0054f694
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x14]
mov edi, eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov eax, dword [edx - 8]
inc eax
push eax
call fcn.00552b58
push esi
push 0x80000100
push esi
push esi
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], esi
call fcn.00552ba7
test esi, esi
jne 0x4041f9
push 0x40
push 0x5c09a0
push 0x5c0ce8
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00552728
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x32
xor eax, eax
lea edi, [ebp - 0xec]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xec]
push eax
push 0xc8
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
lea edx, [ebp - 0xec]
push str.AAAA
push edx
call fcn.00533430
add esp, 8
test eax, eax
jne 0x404267
push 0x40
push 0x5c09a0
push 0x5c0ccc
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00552728
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x37c]
push eax
push 0x5c0ca4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [ebp - 0xec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffb
lea esi, [ebp - 0xec]
mov edx, ecx
lea edi, [ebp - 0x1b4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0xec]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x1b4]
dec ecx
sub eax, 4
mov byte [ecx + eax], 0
lea ecx, [ebp - 0x1b4]
push ecx
mov ecx, ebx
call fcn.004040f0
lea edi, [ebp - 0x1b4]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp - 0x1b4]
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffb
lea edi, [ebp - 0x27c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1b4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea eax, [ebp - 0x27c]
dec ecx
sub eax, 4
mov byte [ecx + eax], 0
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, ebx
call fcn.004040f0
lea edx, [ebp - 0x27c]
push edx
call fcn.00413eb0
add esp, 4
lea ecx, [ebp - 0x570]
push eax
lea eax, [ebp - 0x37c]
push eax
push str._s_n_n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x570]
push 0x40
push 0x5c09a0
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
push ecx
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00552728
jmp 0x404398
push 0
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
call fcn.00551083
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret