Function at 0x41b7d0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d1d2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45604c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov ecx, dword [edi + 0x10]
test ecx, ecx
jne 0x41b818
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x1c], 0
call fcn.00411020
cmp dword [eax + 0x14], 8
jb 0x41b830
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x41baa3
push 0x30
call fcn.00422267
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b89f
mov ecx, dword [edi + 0x10]
call fcn.0040ebf0
mov ecx, dword [ebp - 0x20]
mov bl, al
mov esi, dword [edi + 8]
and ebx, 0xffffff01
mov edi, dword [edi + 4]
mov ecx, dword [ecx + 0x10]
call fcn.00411000
push eax
call fcn.00416ce0
mov ecx, dword [ebp - 0x24]
push eax
push ebx
push esi
push edi
call fcn.004184f0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jmp 0x41b8a1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41b8b5
mov ecx, dword [edi + 0x14]
push eax
call fcn.00417e00
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
lea eax, [ebp - 0x18]
push 4
push eax
push 2
push ebx
mov dword [ebp - 0x18], 0xbb8
call esi
push 4
lea eax, [ebp - 0x18]
push eax
push 5
push ebx
call esi
push 4
lea eax, [ebp - 0x18]
push eax
push 6
push ebx
call esi
push 4
lea eax, [ebp - 0x18]
push eax
push 7
push ebx
call esi
push 4
lea eax, [ebp - 0x18]
push eax
push 8
push ebx
call esi
mov ecx, dword [edi + 0x10]
call fcn.00411370
cmp dword [eax + 0x14], 8
jb 0x41b909
mov eax, dword [eax]
push 0
push 0x84200000
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41ba9c
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 4
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 0x20000013
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
neg eax
push 0x800
sbb eax, eax
and dword [ebp - 0x1c], eax
call fcn.00422504
push 0x800
mov esi, eax
mov dword [ebp - 0x14], 0x800
push 0
push esi
call fcn.00424340
mov ecx, dword [edi + 0x10]
add esp, 0x10
call fcn.0040ebf0
test al, 0x20
je 0x41b9f9
push 0
lea eax, [ebp - 0x14]
push eax
push esi
push 0x16
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41b9f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41b9f9
cmp dword [ebp - 0x14], 0
jbe 0x41b9f9
push esi
call fcn.0042250d
mov eax, dword [ebp - 0x14]
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00422504
mov esi, eax
mov eax, dword [ebp - 0x14]
shr eax, 1
lea eax, [eax*2 + 2]
push eax
push 0
push esi
mov dword [ebp - 0x14], eax
call fcn.00424340
add esp, 0x14
lea eax, [ebp - 0x14]
push 0
push eax
push esi
push 0x16
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41b9f9
mov word [esi], ax
push esi
push dword [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 0xd], 1
push 0
call fcn.0041b650
test esi, esi
je 0x41ba17
push esi
call fcn.0042250d
add esp, 4
cmp dword [edi + 0x14], 0
je 0x41ba93
push 0x14
call fcn.00422267
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41ba43
push dword [edi + 0x18]
mov ecx, eax
call fcn.0041bb10
mov edx, eax
jmp 0x41ba45
xor edx, edx
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x41ba59
mov ecx, dword [edi + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push 0x14
call fcn.00422267
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x41ba7d
push dword [edi + 0x14]
mov ecx, eax
call fcn.0041bae0
jmp 0x41ba7f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41ba93
mov ecx, dword [edi + 0x14]
push eax
call fcn.00417e00
push dword [ebp - 0x20]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret