Function at 0x41b2e0
Capabilities:
Prepare http request

Disassembly:
push 0xffffffffffffffff
push 0x453158
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x468d80]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468d80]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x84]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov esi, ecx
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov byte [esp + 0x16], bl
cmp eax, ebx
je 0x41b334
push eax
call edi
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x41b341
push eax
call edi
mov dword [esi + 8], ebx
mov ecx, dword [esi + 0x1a4]
push 4
mov dword [esi + 0x11c], ebx
call fcn.00418e50
test al, al
jne 0x41b369
mov dword [esi + 0x114], 2
mov al, bl
jmp 0x41b53e
push 0xffffffffffffffff
push ebx
xor eax, eax
mov edi, 7
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], ax
call fcn.00408900
mov dword [esp + 0x7c], ebx
lea ebp, [edi + 1]
cmp dword [esi + 0x28], ebx
je 0x41b51d
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0041aa90
test al, al
je 0x41b51d
mov ecx, esi
call fcn.0041a490
test al, al
je 0x41b527
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi + 0x19c]
mov ecx, dword [esi + 0x198]
push edx
mov edx, dword [esi + 0x194]
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov ecx, dword [esi + 4]
push ebx
push 0x10000
push 0x41a1c0
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
xor edx, edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], ax
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
push ecx
sub esp, 0x1c
lea edx, [esi + 0x14]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0xac], 2
call fcn.0040d060
mov ecx, esi
call fcn.0041acf0
cmp al, bl
je 0x41b509
mov eax, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebp
jae 0x41b461
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 4]
push ebx
push ecx
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x41b502
movzx ecx, byte [esp + 0x17]
mov edi, dword [esp + 0x3c]
neg ecx
sbb ecx, ecx
and ecx, 0x800000
cmp dword [esp + 0x50], ebp
jae 0x41b49a
lea edi, [esp + 0x3c]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x41b4a8
lea edx, [esp + 0x20]
push ecx
push ebx
push ebx
push ebx
push edi
push edx
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x41b502
cmp byte [esi + 0x10], bl
jne 0x41b4cf
cmp byte [esp + 0x17], bl
je 0x41b4cf
push eax
mov ecx, esi
call fcn.00419ae0
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xdc]
push eax
push ecx
mov ecx, esi
call fcn.0041a4e0
test al, al
je 0x41b502
mov eax, dword [esi + 0xc]
lea edx, [esi + 0xb8]
push edx
push eax
mov ecx, esi
call fcn.0041b1f0
test al, al
je 0x41b502
mov byte [esp + 0x16], 1
jmp 0x41b509
mov ecx, esi
call fcn.0041a180
lea ecx, [esp + 0x38]
call fcn.00408610
lea ecx, [esp + 0x54]
call fcn.00408610
jmp 0x41b527
mov dword [esi + 0x114], 0x57
cmp dword [esp + 0x34], ebp
jb 0x41b53a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043e5e6
add esp, 4
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0043eed8
add esp, 0x6c
ret 4