Function at 0x41b6e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d1e2
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 0x41b728
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.00410ed0
cmp dword [eax + 0x14], 8
jb 0x41b740
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 0x41b9b3
push 0x30
call fcn.00422276
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b7af
mov ecx, dword [edi + 0x10]
call fcn.0040eaa0
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.00410eb0
push eax
call fcn.00416b90
mov ecx, dword [ebp - 0x24]
push eax
push ebx
push esi
push edi
call fcn.004183a0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jmp 0x41b7b1
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41b7c5
mov ecx, dword [edi + 0x14]
push eax
call fcn.00417cb0
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.00411220
cmp dword [eax + 0x14], 8
jb 0x41b819
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 0x41b9ac
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.00422513
push 0x800
mov esi, eax
mov dword [ebp - 0x14], 0x800
push 0
push esi
call fcn.00424350
mov ecx, dword [edi + 0x10]
add esp, 0x10
call fcn.0040eaa0
test al, 0x20
je 0x41b909
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 0x41b909
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41b909
cmp dword [ebp - 0x14], 0
jbe 0x41b909
push esi
call fcn.0042251c
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.00422513
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.00424350
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 0x41b909
mov word [esi], ax
push esi
push dword [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 0xd], 1
push 0
call fcn.0041b560
test esi, esi
je 0x41b927
push esi
call fcn.0042251c
add esp, 4
cmp dword [edi + 0x14], 0
je 0x41b9a3
push 0x14
call fcn.00422276
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41b953
push dword [edi + 0x18]
mov ecx, eax
call fcn.0041ba20
mov edx, eax
jmp 0x41b955
xor edx, edx
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x41b969
mov ecx, dword [edi + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push 0x14
call fcn.00422276
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x41b98d
push dword [edi + 0x14]
mov ecx, eax
call fcn.0041b9f0
jmp 0x41b98f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41b9a3
mov ecx, dword [edi + 0x14]
push eax
call fcn.00417cb0
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