Function at 0x426180
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c829
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24b4
call fcn.00441a30
mov eax, dword [0x47b038]
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 0x42656c
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x42656c
mov eax, dword [ebp - 0x2494]
cmp eax, ebx
je 0x42656c
push eax
call esi
test eax, eax
je 0x42656c
mov dword [ebp - 0x24b4], ebx
mov ax, word [ebp + 0x14]
cmp ax, bx
je 0x42627c
cmp ax, 1
je 0x42627c
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 0x426316
cmp word [ebp - 0x24a0], bx
mov byte [ebp - 4], bl
je 0x42626f
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x426592
lea eax, [ebp - 0x24a8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esi, [ebp - 0x2480]
call fcn.0040ee65
mov eax, esi
call fcn.0040e752
mov edx, esi
push edx
mov ecx, dword [ebp - 0x2494]
call fcn.0040e7aa
cmp eax, ebx
je 0x42656c
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x4262b5
cmp eax, 3
jne 0x42656c
lea esi, [edi - 4]
push esi
call fcn.00425fd0
cmp eax, ebx
jl 0x426592
cmp dword [ebp - 0x30], 3
jne 0x4262db
mov dword [ebp - 0x24b4], 0x800000
call fcn.004260f0
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.00427be0
add esp, 4
test al, al
jne 0x42632e
mov ax, word [edi + 0x58]
cmp ax, word [ebp - 0x34]
jne 0x42632e
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x2498], ecx
jmp 0x426362
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x426592
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 0x42635c
call fcn.00403147
mov byte [ebp - 4], 0
jmp 0x426592
mov dword [ebp - 0x2498], eax
lea edx, [ebp - 0x2490]
push edx
lea esi, [ebp - 0x2038]
call fcn.00425a00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1036]
push eax
lea ecx, [ebp - 0x2490]
call fcn.004092d0
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 0x4263fc
call fcn.00403147
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2490]
push edx
call fcn.0040ec04
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
cmp eax, ebx
je 0x4263f5
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x426592
cmp dword [ebp - 0x30], 3
jne 0x426456
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 0x426435
or dword [ebp - 0x248c], 0x3300
jmp 0x42643f
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 0x4264d0
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.00425cf0
mov edx, dword [edi + 0x60]
mov ebx, eax
call fcn.00429540
test eax, eax
jne 0x4264a8
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 0x4264bd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x4264ce
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 0x4264fc
mov esi, dword [ebp - 0x2484]
mov dword [ebp - 0x2484], ebx
mov edi, eax
call fcn.00425cc0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24ac]
lea eax, [edi + 0x28]
call fcn.00427fa0
lea edx, [ebp - 0x243e]
mov edi, dword [ebp - 0x24bc]
call fcn.00425c70
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.00425cc0
lea edi, [ebx + 0x6c]
mov esi, dword [ebp - 0x2488]
call fcn.00429290
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2490]
push eax
call fcn.0040ec04
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
test eax, eax
je 0x426568
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x426592
mov eax, 0x80070057
jmp 0x426592
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.0043af43
mov esp, ebp
pop ebp
ret 0x1c