Function at 0x425e10
Capabilities:
Get number of processors
Initialize winhttp library
Prepare http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5594
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5254e0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x5254e0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [ecx]
mov edx, dword [edx]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
push 1
push eax
mov dword [esp + 0x20], ebx
call edx
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x10], eax
jbe 0x425ea2
mov dword [esp + 0x28], 0x3100
xor ecx, ecx
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], eax
mov word [esp + 0xf0], cx
mov dword [esp + 0x138], eax
cmp byte [ebp + 0x1c], cl
je 0x425f2f
lea ecx, [esp + 0x10c]
call fcn.004265b0
push eax
lea ecx, [esp + 0xf4]
mov byte [esp + 0x13c], 1
call fcn.0041f640
mov ebx, 8
cmp dword [esp + 0x120], ebx
jb 0x425f09
mov edx, dword [esp + 0x10c]
push edx
call fcn.004a9dd8
add esp, 4
mov eax, dword [esp + 0x100]
test eax, eax
je 0x425f2f
cmp dword [esp + 0x104], ebx
jb 0x425f26
mov ecx, dword [esp + 0xf0]
jmp 0x425f31
lea ecx, [esp + 0xf0]
jmp 0x425f31
xor ecx, ecx
push 0x10000000
neg eax
push 0
sbb eax, eax
push ecx
and eax, 3
push eax
push str.Mozilla_4.0__compatible__MSIE_5.22_
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov ebx, eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x138], 2
test ebx, ebx
jne 0x425f9b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
movzx eax, byte [esi + 4]
push str.WinHttpOpen_failed___d_
push eax
push ebx
call fcn.00432650
add esp, 0x10
cmp dword [esp + 0x104], 8
jb 0x426111
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004a9dd8
add esp, 4
jmp 0x426111
push 0x7530
push 0x7530
push 0x7530
push 0
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x425ffc
call dword [sym.imp.KERNEL32.DLL_GetLastError]
movzx edx, byte [esi + 4]
push eax
push str.WinHttpSetTimeouts_failed___d_
push edx
push 0
call fcn.00432650
add esp, 0x10
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x104], 8
jb 0x426111
mov eax, dword [esp + 0xf0]
push eax
call fcn.004a9dd8
add esp, 4
jmp 0x426111
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x10]
push 0
push ecx
push edx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esp + 0x10], eax
mov byte [esp + 0x138], 3
test eax, eax
jne 0x426063
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
movzx eax, byte [esi + 4]
push str.WinHttpConnect_failed___d_
push eax
push 0
call fcn.00432650
add esp, 0x10
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
cmp dword [esp + 0x104], 8
jb 0x426111
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004a9dd8
add esp, 4
jmp 0x426111
test edi, edi
jne 0x426077
cmp dword [esp + 0x20], edi
mov edi, 0x4fd908
jne 0x426077
mov edi, 0x4fd914
mov edx, dword [esp + 0x1c]
push 0x800000
push 0
push 0
push 0
push edx
push edi
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edi, eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x138], 4
test edi, edi
jne 0x4260c3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
movzx eax, byte [esi + 4]
push str.WinHttpOpenRequest_failed___d_
push eax
push edi
call fcn.00432650
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 0x10
jmp 0x4260fb
push 4
lea edx, [esp + 0x2c]
push edx
push 0x1f
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x426139
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.WinHttpSetOption_failed___d_
movzx eax, byte [esi + 4]
push eax
push 0
call fcn.00432650
add esp, 0x10
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
push ebx
call esi
lea ecx, [esp + 0xf0]
call fcn.00428ed0
xor al, al
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004a91d2
mov esp, ebp
pop ebp
ret 0x28
push 0
push 0xffffffffffffffff
push 0x425b20
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x426179
call dword [sym.imp.KERNEL32.DLL_GetLastError]
movzx edx, byte [esi + 4]
push eax
push str.WinHttpSetStatusCallback_failed___d_
push edx
push 0
call fcn.00432650
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 0x10
push edi
call esi
mov eax, dword [esp + 0x10]
push eax
jmp 0x426100
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x426229
push 1
push 3
lea ecx, [esp + 0x4c]
call fcn.0041cae0
push str.:_CreateEvent_failed._Out_of_memory
push ecx
push 0x16c
push ecx
push 0x4e4b14
push ecx
lea ecx, [esp + 0x6c]
push str.HTTPSRequest::MakeRequest
push ecx
mov byte [esp + 0x158], 5
call fcn.0040b990
add esp, 0xc
push eax
call fcn.0040b990
add esp, 0xc
mov ecx, eax
call fcn.004069e0
add esp, 4
push eax
call fcn.0040b990
add esp, 8
lea edx, [esp + 0x10c]
push edx
lea ecx, [esp + 0x48]
call fcn.0041cca0
mov byte [esp + 0x138], 6
cmp dword [eax + 0x14], 0x10
jb 0x426208
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x28], eax
call fcn.004a936f
push 0x515244
lea edx, [esp + 0x3c]
push edx
call fcn.004aba66
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esi + 0x14]
call fcn.00408200
lea ecx, [esi + 0x30]
push 0x4e10ad
mov byte [esi + 0x10], 0
mov dword [esp + 0x1c], ecx
call fcn.00406940
mov edx, dword [esp + 0x14]
test edx, edx
je 0x426273
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x426260
sub eax, dword [esp + 0x14]
sar eax, 1
jmp 0x426275
xor eax, eax
mov ecx, dword [ebp + 0x28]
push esi
push ecx
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push eax
push edx
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
mov edx, dword [esi + 0xc]
test eax, eax
jne 0x4262af
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.WinHttpSendRequest_failed___d_
jmp 0x4260e3
push 0x64
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x4262e9
nop
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [eax + 4]
mov edx, dword [edx]
push 0
push eax
call edx
test eax, eax
jne 0x426340
mov eax, dword [esi + 0xc]
push 0x64
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x4262c0
test eax, eax
jne 0x426340
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [esi + 0x10], 0
mov dword [esi + 0xc], 0
je 0x4260f2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
push 0
push edx
call fcn.00408200
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
push ebx
call esi
lea ecx, [esp + 0xf0]
call fcn.00428ed0
mov al, 1
jmp 0x426113
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
mov ecx, dword [esi + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
push eax
mov dword [esi + 0xc], 0
call edi
push ebx
call edi
jmp 0x426105