Function at 0x402830
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472d00
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x90
mov eax, dword [0x48f4f4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 2
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xa0]
add eax, 0x8c
push eax
lea ecx, [ebp - 0x34]
call fcn.00401500
mov byte [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00403370
movzx ecx, al
test ecx, ecx
jne 0x4028d3
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x34]
call fcn.00403290
mov ecx, dword [ebp - 0xa0]
add ecx, 0x38
call fcn.00403370
movzx eax, al
test eax, eax
jne 0x402907
push 0x482104
lea ecx, [ebp - 0x34]
call fcn.004032c0
mov ecx, dword [ebp - 0xa0]
add ecx, 0x38
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403290
mov ecx, dword [ebp - 0xa0]
add ecx, 0x54
call fcn.00403370
movzx edx, al
test edx, edx
jne 0x40293b
push 0x482118
lea ecx, [ebp - 0x34]
call fcn.004032c0
mov eax, dword [ebp - 0xa0]
add eax, 0x54
push eax
lea ecx, [ebp - 0x34]
call fcn.00403290
mov ecx, dword [ebp - 0xa0]
add ecx, 0x1c
call fcn.00403370
movzx ecx, al
test ecx, ecx
jne 0x40296f
push 0x482124
lea ecx, [ebp - 0x34]
call fcn.004032c0
mov edx, dword [ebp - 0xa0]
add edx, 0x1c
push edx
lea ecx, [ebp - 0x34]
call fcn.00403290
mov ecx, dword [ebp - 0xa0]
call fcn.00403370
movzx eax, al
test eax, eax
jne 0x40299d
push 0x482134
lea ecx, [ebp - 0x34]
call fcn.004032c0
mov ecx, dword [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403290
mov ecx, dword [ebp - 0xa0]
add ecx, 0x70
call fcn.00403370
movzx edx, al
test edx, edx
jne 0x4029d1
push 0x482140
lea ecx, [ebp - 0x34]
call fcn.004032c0
mov eax, dword [ebp - 0xa0]
add eax, 0x70
push eax
lea ecx, [ebp - 0x34]
call fcn.00403290
lea ecx, [ebp + 0x44]
call fcn.00403370
movzx ecx, al
test ecx, ecx
jne 0x4029f9
push 0x48214c
lea ecx, [ebp - 0x34]
call fcn.004032c0
lea edx, [ebp + 0x44]
push edx
lea ecx, [ebp - 0x34]
call fcn.00403290
lea ecx, [ebp + 0x28]
call fcn.00403370
movzx eax, al
test eax, eax
jne 0x402a21
push 0x482154
lea ecx, [ebp - 0x34]
call fcn.004032c0
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00403290
mov byte [ebp - 4], 4
push 0
push 0
push 0
push 1
push 0x482160
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x402ad8
push 0x20
lea ecx, [ebp - 0x34]
call fcn.00408330
push eax
lea ecx, [ebp - 0x78]
call fcn.00403250
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x78]
call fcn.004032f0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403320
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x34]
call fcn.004032f0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.00404a80
add esp, 0x1c
lea ecx, [ebp - 0x78]
call fcn.00403350
mov dword [ebp - 0x7c], eax
push 0
push 0x84000000
push 0
push 0
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x78]
call fcn.00401540
jmp 0x402ae7
mov dword [ebp - 4], 3
cmp dword [ebp - 0x3c], 0
je 0x402afe
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x4c], 0
je 0x402b0e
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00401540
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.00401540
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.00401540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.00401540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00443a0f
mov esp, ebp
pop ebp
ret 0x58