Function at 0x4f797f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005399d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005399d0
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push 0
push 0x618809
call dword [sym.imp.wininet.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4f7a28
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4f7a3b
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4f7a4b
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4f7c3f
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.005399d0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esp
push 0
push SysReAllocString
push 0
push dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 4]
call dword [sym.imp.wininet.dll_InternetOpenUrlA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4f7ab5
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4f7ac8
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4f7c1d
mov dword [ebp - 0x1c], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 0x618809
push 0x16
push dword [ebp - 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4f7b0d
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x184
call fcn.005383c0
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4f7b43
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0x16
push dword [ebp - 8]
call dword [sym.imp.wininet.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4f7b7a
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4f7bfb
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x61901f
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.filename_
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004aebc9
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4f7bd3
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4f7be3
push ebx
call fcn.0053558f
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4f7bf7
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4f7c1d
push 6
call fcn.0053559b
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4f7c3f
push 6
call fcn.0053559b
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4f7c5b
push eax
mov ebx, eax
call fcn.0049d8e2
inc eax
push eax
call fcn.00535595
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4f7c60
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4f7c71
push ebx
call fcn.0053558f
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4f7c81
push ebx
call fcn.0053558f
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4