Function at 0x4482c0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4e7b62
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x512054]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp dword [esp + 0x64], ebp
je 0x4483d5
call dword [sym.imp.KERNEL32.dll_GetVersion]
movzx esi, al
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x1c], edi
cmp esi, 5
mov dword [esp + 0x5c], ebp
jle 0x4483eb
mov eax, dword [0x5195ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5195ac
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x60], 1
call fcn.00447540
mov ecx, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x448394
cmp dword [ecx - 0xc], ebp
jle 0x448394
lea edx, [esp + 0x1c]
push edx
call fcn.00447810
add esp, 4
test eax, eax
je 0x448380
mov edi, dword [esp + 0x1c]
cmp dword [edi - 0xc], ebp
jle 0x448380
lea ecx, [esp + 0x24]
call fcn.00406e40
jmp 0x44840a
lea ecx, [esp + 0x24]
call fcn.00406e40
lea ecx, [esp + 0x1c]
call fcn.00406e40
jmp 0x4483d5
lea eax, [ecx - 0x10]
mov byte [esp + 0x5c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4483b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x5c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4483d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.http
call fcn.00447810
mov edi, dword [esp + 0x20]
add esp, 4
test eax, eax
je 0x4483b5
cmp dword [edi - 0xc], ebp
jle 0x4483b5
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov byte [esp + 0x5c], 3
mov eax, dword [0x51a22c]
mov dword [esp + 0x28], ebp
cmp eax, ebp
je 0x44842d
lea edx, [esp + 0x28]
push edx
push 0x15
call eax
lea esi, [esp + 0x3c]
lea eax, [esp + 0x28]
call fcn.0044b590
mov byte [esp + 0x5c], 5
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
mov ebx, 1
mov dword [esp + 0x24], ebx
cmp eax, ebp
je 0x44845e
mov dword [esp + 0x20], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
cmp eax, ebp
je 0x448476
mov dword [esp + 0x18], ebp
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebp
mov eax, dword [esi]
mov eax, dword [eax + 0x18]
push edi
push esi
call eax
test eax, eax
je 0x4484c2
lea esi, [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.0044b590
mov dword [esp + 0x5c], 6
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov ebx, 3
push eax
mov dword [esp + 0x28], ebx
call edx
mov byte [esp + 0x17], 0
test eax, eax
ja 0x4484c7
mov byte [esp + 0x17], 1
mov dword [esp + 0x5c], 5
test bl, 2
je 0x4484e4
and ebx, 0xfffffffd
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call fcn.00409540
mov dword [esp + 0x5c], 4
test bl, 1
je 0x4484fa
lea ecx, [esp + 0x3c]
call fcn.00409540
cmp byte [esp + 0x17], 0
je 0x44854e
mov byte [esp + 0x5c], 3
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x448516
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x44852b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x448540
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00406e40
jmp 0x4483d5
lea esi, [esp + 0x3c]
lea eax, [esp + 0x18]
call fcn.0044b590
mov byte [esp + 0x5c], 7
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov edx, dword [esp + 0x64]
push eax
mov ecx, 0x104
call fcn.00416520
mov ecx, esi
mov byte [esp + 0x5c], 4
call fcn.00409540
mov byte [esp + 0x5c], 3
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x44859a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x5c], 2
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4485af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x5c], 0
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x4485c4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x1c]
call fcn.00406e40
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret