Function at 0x424a80
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a3c9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24b4
call fcn.004400d0
mov eax, dword [0x478030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov dword [ebp - 0x24ac], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2488], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2494], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x424e6c
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x424e6c
mov eax, dword [ebp - 0x2494]
cmp eax, ebx
je 0x424e6c
push eax
call esi
test eax, eax
je 0x424e6c
mov dword [ebp - 0x24b4], ebx
mov ax, word [ebp + 0x14]
cmp ax, bx
je 0x424b7c
cmp ax, 1
je 0x424b7c
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 1
push 0xb
push ebx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
cmp esi, ebx
jl 0x424c16
cmp word [ebp - 0x24a0], bx
mov byte [ebp - 4], bl
je 0x424b6f
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x424e92
lea eax, [ebp - 0x24a8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esi, [ebp - 0x2480]
call fcn.0040e017
mov eax, esi
call fcn.0040d904
mov edx, esi
push edx
mov ecx, dword [ebp - 0x2494]
call fcn.0040d95c
cmp eax, ebx
je 0x424e6c
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x424bb5
cmp eax, 3
jne 0x424e6c
lea esi, [edi - 4]
push esi
call fcn.004248d0
cmp eax, ebx
jl 0x424e92
cmp dword [ebp - 0x30], 3
jne 0x424bdb
mov dword [ebp - 0x24b4], 0x800000
call fcn.004249f0
mov dword [ebp - 0x2484], ebx
mov byte [ebp - 4], 2
lea eax, [edi + 0x5c]
mov dword [ebp - 0x24bc], eax
push eax
lea ecx, [ebp - 0x243e]
call fcn.004263e0
add esp, 4
test al, al
jne 0x424c2e
mov ax, word [edi + 0x58]
cmp ax, word [ebp - 0x34]
jne 0x424c2e
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x2498], ecx
jmp 0x424c62
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x424e92
push ebx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x243e]
push eax
mov ecx, dword [edi + 0x60]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2484], eax
cmp eax, ebx
jne 0x424c5c
call fcn.00403116
mov byte [ebp - 4], 0
jmp 0x424e92
mov dword [ebp - 0x2498], eax
lea edx, [ebp - 0x2490]
push edx
lea esi, [ebp - 0x2038]
call fcn.00424300
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1036]
push eax
lea ecx, [ebp - 0x2490]
call fcn.004086e8
mov ecx, dword [ebp - 0x24b4]
push ecx
push ebx
push ebx
push ebx
mov edx, dword [ebp - 0x2490]
push edx
mov eax, dword [ebp - 0x2488]
push eax
mov ecx, dword [ebp - 0x2498]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x24c0], esi
mov dword [ebp - 0x24b8], esi
mov eax, 4
mov byte [ebp - 4], al
cmp esi, ebx
jne 0x424cfc
call fcn.00403116
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2490]
push edx
call fcn.0040ddb6
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
cmp eax, ebx
je 0x424cf5
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x424e92
cmp dword [ebp - 0x30], 3
jne 0x424d56
mov dword [ebp - 0x248c], ebx
mov dword [ebp - 0x24b0], eax
lea eax, [ebp - 0x24b0]
push eax
lea ecx, [ebp - 0x248c]
push ecx
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryOption]
test eax, eax
je 0x424d35
or dword [ebp - 0x248c], 0x3300
jmp 0x424d3f
mov dword [ebp - 0x248c], 0x3300
mov edx, dword [ebp - 0x24b0]
push edx
lea eax, [ebp - 0x248c]
push eax
push 0x1f
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp dword [edi + 0x24], ebx
jne 0x424dd0
mov dword [ebp - 0x24a4], 1
mov dword [ebp - 0x24a0], ebx
mov dword [ebp - 0x249c], ebx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24a4]
push ecx
mov edx, dword [ebp - 0x2494]
push edx
call fcn.004245f0
mov edx, dword [edi + 0x60]
mov ebx, eax
call fcn.00427d40
test eax, eax
jne 0x424da8
push 0xc
lea eax, [ebp - 0x24a4]
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x24a0]
test eax, eax
je 0x424dbd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x424dce
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor ebx, ebx
lea eax, [edi + 0x64]
mov ecx, dword [ebp - 0x2498]
cmp ecx, dword [eax]
je 0x424dfc
mov esi, dword [ebp - 0x2484]
mov dword [ebp - 0x2484], ebx
mov edi, eax
call fcn.004245c0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24ac]
lea eax, [edi + 0x28]
call fcn.004267a0
lea edx, [ebp - 0x243e]
mov edi, dword [ebp - 0x24bc]
call fcn.00424570
mov dx, word [ebp - 0x34]
mov ebx, dword [ebp - 0x24ac]
mov word [ebx + 0x58], dx
mov dword [ebp - 0x24b8], 0
lea edi, [ebx + 0x68]
call fcn.004245c0
lea edi, [ebx + 0x6c]
mov esi, dword [ebp - 0x2488]
call fcn.00427a90
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2490]
push eax
call fcn.0040ddb6
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
test eax, eax
je 0x424e68
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x424e92
mov eax, 0x80070057
jmp 0x424e92
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439767
mov esp, ebp
pop ebp
ret 0x1c