Function at 0x424660
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a7f9
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x24b4
call fcn.0043fcd0
mov eax, dword [0x477fc0]
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 0x424a4c
push eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantInit]
call esi
test eax, eax
je 0x424a4c
mov eax, dword [ebp - 0x2494]
cmp eax, ebx
je 0x424a4c
push eax
call esi
test eax, eax
je 0x424a4c
mov dword [ebp - 0x24b4], ebx
mov ax, word [ebp + 0x14]
cmp ax, bx
je 0x42475c
cmp ax, 1
je 0x42475c
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 0x4247f6
cmp word [ebp - 0x24a0], bx
mov byte [ebp - 4], bl
je 0x42474f
lea edx, [ebp - 0x24a8]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 0x80004001
jmp 0x424a72
lea eax, [ebp - 0x24a8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea esi, [ebp - 0x2480]
call fcn.0040ea87
mov eax, esi
call fcn.0040e374
mov edx, esi
push edx
mov ecx, dword [ebp - 0x2494]
call fcn.0040e3cc
cmp eax, ebx
je 0x424a4c
mov eax, dword [ebp - 0x30]
cmp eax, 2
je 0x424795
cmp eax, 3
jne 0x424a4c
lea esi, [edi - 4]
push esi
call fcn.004244b0
cmp eax, ebx
jl 0x424a72
cmp dword [ebp - 0x30], 3
jne 0x4247bb
mov dword [ebp - 0x24b4], 0x800000
call fcn.004245d0
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.004260d0
add esp, 4
test al, al
jne 0x42480e
mov ax, word [edi + 0x58]
cmp ax, word [ebp - 0x34]
jne 0x42480e
mov ecx, dword [edi + 0x64]
mov dword [ebp - 0x2498], ecx
jmp 0x424842
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24a8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
jmp 0x424a72
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 0x42483c
call fcn.00403179
mov byte [ebp - 4], 0
jmp 0x424a72
mov dword [ebp - 0x2498], eax
lea edx, [ebp - 0x2490]
push edx
lea esi, [ebp - 0x2038]
call fcn.00423ee0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1036]
push eax
lea ecx, [ebp - 0x2490]
call fcn.0040949e
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 0x4248dc
call fcn.00403179
mov esi, eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x2490]
push edx
call fcn.0040e826
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
cmp eax, ebx
je 0x4248d5
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, esi
jmp 0x424a72
cmp dword [ebp - 0x30], 3
jne 0x424936
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 0x424915
or dword [ebp - 0x248c], 0x3300
jmp 0x42491f
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 0x4249b0
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.004241d0
mov edx, dword [edi + 0x60]
mov ebx, eax
call fcn.00427a30
test eax, eax
jne 0x424988
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 0x42499d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x249c]
test eax, eax
je 0x4249ae
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 0x4249dc
mov esi, dword [ebp - 0x2484]
mov dword [ebp - 0x2484], ebx
mov edi, eax
call fcn.004241a0
mov esi, dword [ebp - 0x24c0]
mov edi, dword [ebp - 0x24ac]
lea eax, [edi + 0x28]
call fcn.00426490
lea edx, [ebp - 0x243e]
mov edi, dword [ebp - 0x24bc]
call fcn.00424150
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.004241a0
lea edi, [ebx + 0x6c]
mov esi, dword [ebp - 0x2488]
call fcn.00427780
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2490]
push eax
call fcn.0040e826
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2484]
test eax, eax
je 0x424a48
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor eax, eax
jmp 0x424a72
mov eax, 0x80070057
jmp 0x424a72
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.004390c2
mov esp, ebp
pop ebp
ret 0x1c