Function at 0x4181d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452904
mov eax, dword fs:[0]
push eax
sub esp, 0x340
mov eax, dword [0x4642d8]
xor eax, esp
mov dword [esp + 0x33c], eax
push ebx
push esi
mov eax, dword [0x4642d8]
xor eax, esp
push eax
lea eax, [esp + 0x34c]
mov dword fs:[0], eax
lea esi, [esp + 0x20]
mov dword [esp + 0x354], 2
call fcn.00416be0
lea ebx, [esp + 0xc]
mov ecx, esi
call fcn.00416c60
lea eax, [esp + 0x2c]
mov bl, 3
mov byte [esp + 0x354], bl
push eax
mov dword [esp + 0x30], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4182c7
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x14a]
push edx
mov word [esp + reloc.winhttp.dll_WinHttpReceiveResponse], cx
call fcn.00435a70
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
push str._OSVer:_d._d._d___d__s_
lea edx, [esp + 0x164]
push 0x104
push edx
call fcn.0043419f
lea eax, [esp + 0x16c]
add esp, 0x2c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4182a2
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x368]
push ecx
call fcn.00416370
mov eax, dword [esp + 0x364]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00404120
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x358], 4
mov eax, dword [esp + 0x364]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00404120
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x35c], 5
mov eax, dword [esp + 0x364]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
call fcn.00404120
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x360], 6
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
call fcn.00404120
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x364], bl
call fcn.004184f0
mov byte [esp + 0x364], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41837f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x354], 1
mov eax, dword [esp + 0x35c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x354], 0
mov eax, dword [esp + 0x360]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4183d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x354], 0xffffffff
mov eax, dword [esp + 0x364]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418403
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x33c]
xor ecx, esp
call fcn.00432079
add esp, 0x34c
ret