Function at 0x419b60
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452647
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24a8
call fcn.0043c290
mov eax, dword [0x46fd08]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x2494], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2490], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24b4], edi
mov dword [ebp - 4], 0
test eax, eax
je 0x419ca3
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x419ca3
test edi, edi
je 0x419ca3
push edi
call esi
test eax, eax
je 0x419ca3
mov dword [ebp - 0x24a8], 0
mov ax, word [ebp + 0x14]
test ax, ax
je 0x419c5f
cmp ax, 1
je 0x419c5f
lea eax, [ebp - 0x24a4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 1
push 0xb
push 0
lea ecx, [ebp + 0x14]
push ecx
lea edx, [ebp - 0x24a4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov esi, eax
test esi, esi
jl 0x419cad
cmp word [ebp - 0x249c], 0
mov byte [ebp - 4], 0
je 0x419c52
lea eax, [ebp - 0x24a4]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x419f0c
lea ecx, [ebp - 0x24a4]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2480]
call fcn.0041c670
mov ecx, 2
lea eax, [ebp - 0x2480]
call fcn.0041d140
lea eax, [ebp - 0x2480]
call fcn.0041c670
mov ecx, edi
lea edx, [ebp - 0x2480]
call fcn.0041c6d0
test eax, eax
je 0x419ca3
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x419cc5
cmp eax, 3
je 0x419cca
mov eax, 0x80070057
jmp 0x419f0c
mov byte [ebp - 4], 0
lea edx, [ebp - 0x24a4]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x419f0c
cmp eax, 3
jne 0x419cd4
mov dword [ebp - 0x24a8], 0x800000
mov dword [ebp - 0x2488], 0
mov byte [ebp - 4], 2
lea eax, [ebx + 0x74]
mov dword [ebp - 0x24b0], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x243e]
push ecx
push eax
call fcn.00437c6a
add esp, 8
test eax, eax
setne al
test al, al
jne 0x419db8
mov dx, word [ebx + 0x70]
cmp dx, word [ebp - 0x34]
jne 0x419db8
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x2484], eax
lea ecx, [ebp - 0x248c]
push ecx
lea esi, [ebp - 0x2038]
call fcn.004197d0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x1036]
push edx
lea ecx, [ebp - 0x248c]
call fcn.00409d87
mov eax, dword [ebp - 0x24a8]
push eax
xor edi, edi
push edi
push edi
push edi
mov ecx, dword [ebp - 0x248c]
push ecx
mov edx, dword [ebp - 0x2490]
push edx
mov eax, dword [ebp - 0x2484]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x24ac], esi
mov dword [ebp - 0x2490], esi
mov byte [ebp - 4], 4
cmp esi, edi
jne 0x419deb
call fcn.00403411
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248c]
call fcn.00419a70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2488]
cmp eax, edi
je 0x419db1
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x419f0c
push 0
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x243e]
push edx
mov eax, dword [ebx + 0x78]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x2488], eax
test eax, eax
jne 0x419d1b
call fcn.00403411
mov byte [ebp - 4], 0
jmp 0x419f0c
cmp dword [ebx + 0x3c], edi
jne 0x419e65
mov dword [ebp - 0x24a0], 1
mov dword [ebp - 0x249c], edi
mov dword [ebp - 0x2498], edi
mov byte [ebp - 4], 5
lea edi, [ebx + 0x24]
lea ebx, [ebp - 0x24a0]
mov ecx, dword [ebp - 0x24b4]
mov edx, dword [ebp - 0x2494]
mov edx, dword [edx + 0x78]
call fcn.0041d9f0
test eax, eax
jne 0x419e39
push 0xc
mov eax, ebx
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x419e4e
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x2498]
test eax, eax
je 0x419e5f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ebx, dword [ebp - 0x2494]
lea eax, [ebx + 0x7c]
mov ecx, dword [ebp - 0x2484]
cmp ecx, dword [eax]
je 0x419e89
mov esi, dword [ebp - 0x2488]
mov dword [ebp - 0x2488], 0
mov edi, eax
call fcn.00419aa0
lea eax, [ebx + 0x40]
call fcn.0041b3d0
lea esi, [ebp - 0x243e]
mov edi, dword [ebp - 0x24b0]
call fcn.00419a40
mov dx, word [ebp - 0x34]
mov word [ebx + 0x70], dx
mov dword [ebp - 0x2490], 0
lea edi, [ebx + 0x80]
mov esi, dword [ebp - 0x24ac]
call fcn.00419aa0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x248c]
call fcn.00419a70
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2488]
test eax, eax
je 0x419ee9
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x419f0c
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.00437b68
mov esp, ebp
pop ebp
ret 0x1c