Function at 0x426250
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c9a9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24b4
call fcn.00441c30
mov eax, dword [0x47b040]
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 0x42663c
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x42663c
mov eax, dword [ebp - 0x2494]
cmp eax, ebx
je 0x42663c
push eax
call esi
test eax, eax
je 0x42663c
mov dword [ebp - 0x24b4], ebx
mov ax, word [ebp + 0x14]
cmp ax, bx
je 0x42634c
cmp ax, 1
je 0x42634c
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 0x4263e6
cmp word [ebp - 0x24a0], bx
mov byte [ebp - 4], bl
je 0x42633f
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x426662
lea eax, [ebp - 0x24a8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esi, [ebp - 0x2480]
call fcn.0040ef1a
mov eax, esi
call fcn.0040e807
mov edx, esi
push edx
mov ecx, dword [ebp - 0x2494]
call fcn.0040e85f
cmp eax, ebx
je 0x42663c
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x426385
cmp eax, 3
jne 0x42663c
lea esi, [edi - 4]
push esi
call fcn.004260b0
cmp eax, ebx
jl 0x426662
cmp dword [ebp - 0x30], 3
jne 0x4263ab
mov dword [ebp - 0x24b4], 0x800000
call fcn.004261d0
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.00427cd0
add esp, 4
test al, al
jne 0x4263fe
mov ax, word [edi + 0x58]
cmp ax, word [ebp - 0x34]
jne 0x4263fe
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x2498], ecx
jmp 0x426432
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x426662
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 0x42642c
call fcn.00403129
mov byte [ebp - 4], 0
jmp 0x426662
mov dword [ebp - 0x2498], eax
lea edx, [ebp - 0x2490]
push edx
lea esi, [ebp - 0x2038]
call fcn.00425ae0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1036]
push eax
lea ecx, [ebp - 0x2490]
call fcn.004092fc
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 0x4264cc
call fcn.00403129
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2490]
push edx
call fcn.0040ecb9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
cmp eax, ebx
je 0x4264c5
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x426662
cmp dword [ebp - 0x30], 3
jne 0x426526
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 0x426505
or dword [ebp - 0x248c], 0x3300
jmp 0x42650f
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 0x4265a0
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.00425dd0
mov edx, dword [edi + 0x60]
mov ebx, eax
call fcn.00429630
test eax, eax
jne 0x426578
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 0x42658d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x42659e
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 0x4265cc
mov esi, dword [ebp - 0x2484]
mov dword [ebp - 0x2484], ebx
mov edi, eax
call fcn.00425da0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24ac]
lea eax, [edi + 0x28]
call fcn.00428090
lea edx, [ebp - 0x243e]
mov edi, dword [ebp - 0x24bc]
call fcn.00425d50
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.00425da0
lea edi, [ebx + 0x6c]
mov esi, dword [ebp - 0x2488]
call fcn.00429380
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2490]
push eax
call fcn.0040ecb9
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
test eax, eax
je 0x426638
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x426662
mov eax, 0x80070057
jmp 0x426662
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.0043b023
mov esp, ebp
pop ebp
ret 0x1c