Function at 0x41b3a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43824d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x44c040]
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 0x41b3e8
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.0040fd20
cmp dword [eax + 0x14], 8
jb 0x41b400
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 0x41b673
push 0x30
call fcn.0042187c
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x41b46f
mov ecx, dword [edi + 0x10]
call fcn.0040d5b0
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.0040fd00
push eax
call fcn.004164b0
mov ecx, dword [ebp - 0x24]
push eax
push ebx
push esi
push edi
call fcn.004180e0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x28]
jmp 0x41b471
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41b485
mov ecx, dword [edi + 0x14]
push eax
call fcn.004179c0
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.004100b0
cmp dword [eax + 0x14], 8
jb 0x41b4d9
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 0x41b66c
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.00421b68
push 0x800
mov esi, eax
mov dword [ebp - 0x14], 0x800
push 0
push esi
call fcn.004238c0
mov ecx, dword [edi + 0x10]
add esp, 0x10
call fcn.0040d5b0
test al, 0x20
je 0x41b5c9
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 0x41b5c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41b5c9
cmp dword [ebp - 0x14], 0
jbe 0x41b5c9
push esi
call fcn.00421b71
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.00421b68
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.004238c0
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 0x41b5c9
mov word [esi], ax
push esi
push dword [ebp - 0x1c]
mov ecx, edi
mov byte [ebp - 0xd], 1
push 0
call fcn.0041b280
test esi, esi
je 0x41b5e7
push esi
call fcn.00421b71
add esp, 4
cmp dword [edi + 0x14], 0
je 0x41b663
push 0x14
call fcn.0042187c
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x41b613
push dword [edi + 0x18]
mov ecx, eax
call fcn.0041b6e0
mov edx, eax
jmp 0x41b615
xor edx, edx
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x41b629
mov ecx, dword [edi + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
push 0x14
call fcn.0042187c
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x41b64d
push dword [edi + 0x14]
mov ecx, eax
call fcn.0041b6b0
jmp 0x41b64f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41b663
mov ecx, dword [edi + 0x14]
push eax
call fcn.004179c0
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