Function at 0x424a90
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a3d9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24b4
call fcn.004400e0
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 0x424e7c
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x424e7c
mov eax, dword [ebp - 0x2494]
cmp eax, ebx
je 0x424e7c
push eax
call esi
test eax, eax
je 0x424e7c
mov dword [ebp - 0x24b4], ebx
mov ax, word [ebp + 0x14]
cmp ax, bx
je 0x424b8c
cmp ax, 1
je 0x424b8c
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 0x424c26
cmp word [ebp - 0x24a0], bx
mov byte [ebp - 4], bl
je 0x424b7f
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x424ea2
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 0x424e7c
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x424bc5
cmp eax, 3
jne 0x424e7c
lea esi, [edi - 4]
push esi
call fcn.004248e0
cmp eax, ebx
jl 0x424ea2
cmp dword [ebp - 0x30], 3
jne 0x424beb
mov dword [ebp - 0x24b4], 0x800000
call fcn.00424a00
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.004263f0
add esp, 4
test al, al
jne 0x424c3e
mov ax, word [edi + 0x58]
cmp ax, word [ebp - 0x34]
jne 0x424c3e
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x2498], ecx
jmp 0x424c72
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x424ea2
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 0x424c6c
call fcn.00403116
mov byte [ebp - 4], 0
jmp 0x424ea2
mov dword [ebp - 0x2498], eax
lea edx, [ebp - 0x2490]
push edx
lea esi, [ebp - 0x2038]
call fcn.00424310
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 0x424d0c
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 0x424d05
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x424ea2
cmp dword [ebp - 0x30], 3
jne 0x424d66
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 0x424d45
or dword [ebp - 0x248c], 0x3300
jmp 0x424d4f
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 0x424de0
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.00424600
mov edx, dword [edi + 0x60]
mov ebx, eax
call fcn.00427d50
test eax, eax
jne 0x424db8
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 0x424dcd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x424dde
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 0x424e0c
mov esi, dword [ebp - 0x2484]
mov dword [ebp - 0x2484], ebx
mov edi, eax
call fcn.004245d0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24ac]
lea eax, [edi + 0x28]
call fcn.004267b0
lea edx, [ebp - 0x243e]
mov edi, dword [ebp - 0x24bc]
call fcn.00424580
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.004245d0
lea edi, [ebx + 0x6c]
mov esi, dword [ebp - 0x2488]
call fcn.00427aa0
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 0x424e78
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x424ea2
mov eax, 0x80070057
jmp 0x424ea2
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.00439777
mov esp, ebp
pop ebp
ret 0x1c