Function at 0x404b00
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524753
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x570454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
lea eax, [esi + 0xa0]
xor edi, edi
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], edi
call fcn.0041ad73
mov dword [ebp - 4], edi
cmp dword [esi + 0x70], edi
jne 0x404cf8
mov eax, dword [esi + 0x34]
sub eax, edi
je 0x404c5d
dec eax
je 0x404be3
dec eax
jne 0x404cf8
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx - 0xc]
lea eax, [esi + 0x24]
cmp ecx, edi
je 0x404b87
push eax
lea ecx, [ebp - 0x14]
call fcn.00403fd0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
lea ebx, [edi + 0x10]
jmp 0x404b9d
call fcn.0041b628
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00406620
mov ebx, 0x20
mov ecx, dword [esi + 0x10]
mov eax, dword [eax]
push edi
push edi
push ecx
push 3
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x70], eax
test bl, 0x20
je 0x404bdb
mov eax, dword [ebp - 0x18]
and ebx, 0xffffffdf
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404bdb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 0x10
jmp 0x404cd4
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx - 0xc]
lea eax, [esi + 0x24]
cmp ecx, edi
je 0x404c07
push eax
lea ecx, [ebp - 0x14]
call fcn.00403fd0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
mov ebx, 4
jmp 0x404c1d
call fcn.0041b628
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406620
mov ebx, 8
mov eax, dword [eax]
push edi
push edi
push edi
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x70], eax
test bl, 8
je 0x404c58
mov eax, dword [ebp - 0x1c]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404c58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 4
jmp 0x404cd4
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx - 0xc]
lea eax, [esi + 0x24]
cmp ecx, edi
je 0x404c81
push eax
lea ecx, [ebp - 0x14]
call fcn.00403fd0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov ebx, 1
jmp 0x404c97
call fcn.0041b628
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.00406620
mov ebx, 2
mov eax, dword [eax]
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x70], eax
test bl, 2
je 0x404cd1
mov eax, dword [ebp - 0x20]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [ebp - 0x10], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404cd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [ebp - 4], edi
je 0x404cf8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404cf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x70]
cmp eax, edi
jne 0x404d34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x1c]
push 0x6e
mov ecx, esi
call eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041ad4f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x406110
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
or edi, 0xffffffff
cmp eax, edi
jne 0x404d78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x1c]
push 0x6e
mov ecx, esi
call eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0041ad4f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call fcn.0041ad4f
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret