Function at 0x4a29f0
Capabilities:
Check os version
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511875
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x274], ebx
cmp dword [ebx + 0x84], 0
mov esi, dword [ebp + 8]
jne 0x4a2e11
cmp dword [ebx + 4], 0
je 0x4a2e11
push 0x110
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.004e0230
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x270]
add esp, 0xc
mov dword [ebp - 0x270], 0x114
push eax
call edi
test eax, eax
je 0x4a2cc2
cmp dword [ebp - 0x26c], 6
jb 0x4a2a93
jne 0x4a2cc2
cmp dword [ebp - 0x268], 0
jne 0x4a2cc2
mov ecx, esi
mov dword [ebp - 0x40], 0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2ab3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.0044a760
mov dword [ebp - 4], 0
xor eax, eax
mov ecx, 8
mov dword [ebp - 0x28], 0
cmp dword [ebp - 0x30], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovb ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.0044a760
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
jb 0x4a2b28
mov edi, ecx
mov edx, ecx
jmp 0x4a2b2d
lea ecx, [ebp - 0x28]
mov edi, ecx
lea esi, [ecx + eax*2]
cmp edi, esi
je 0x4a2b5d
sub edx, edi
mov dword [ebp - 0x278], edx
mov ebx, edx
nop
movzx eax, word [edi]
push eax
call fcn.004f37dc
mov word [ebx + edi], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x4a2b40
mov ebx, dword [ebp - 0x274]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push str.https:__
push eax
call fcn.0048f8f0
add esp, 8
test al, al
je 0x4a2b85
push 7
sub esp, 0xc
lea ecx, [ebp - 0x40]
call fcn.00472420
mov esi, dword [ebp - 0x28]
lea ecx, [ebx + 0x10]
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x4a2ba3
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0044a760
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4a2bde
lea ecx, [ecx*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x4a2bd4
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2e31
push ecx
push esi
call fcn.004de45a
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4a2c33
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2c29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2e31
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebx + 8]
test eax, eax
jne 0x4a2c56
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 8], eax
test eax, eax
je 0x4a2e11
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x4a2c77
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 0x80], 0
push 0x118
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.004e0230
add esp, 0xc
mov dword [ebp - 0x15c], 0x11c
lea eax, [ebp - 0x15c]
push eax
call edi
test eax, eax
je 0x4a2d35
cmp dword [ebp - 0x158], 5
jne 0x4a2cee
mov eax, dword [ebp - 0x154]
cmp eax, 1
jne 0x4a2ce5
cmp word [ebp - 0x48], ax
jmp 0x4a2cee
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a2cc7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebx + 0x10]
call fcn.0044a760
jmp 0x4a2c39
test eax, eax
jne 0x4a2d35
cmp word [ebp - 0x48], 3
jae 0x4a2d35
push 0x2c
call fcn.004de42a
add esp, 4
mov dword [ebp - 0x274], eax
xor ecx, ecx
mov dword [eax], 0x53a694
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 7
mov word [eax + 0xc], cx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [ebx + 0x80], eax
jmp 0x4a2d98
push 0x58
call fcn.004de42a
mov esi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x274], esi
mov dword [esi], 0x53a65c
mov dword [esi + 0xc], 0
mov word [esi + 0xc], ax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [ebx + 0x80], esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x4a3ba0
push 0xfffffffffffffffc
push eax
mov dword [ebx + 0x60], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x27c]
mov dword [ebx + 0x84], 1
push eax
push 0
push ebx
push 0x4a3250
push 0
push 0
mov dword [ebp - 0x27c], 0
call fcn.004e950d
mov ecx, eax
add esp, 0x18
mov dword [ebx + 0xc], ecx
test ecx, ecx
jne 0x4a2e08
mov dword [ebx + 0x84], eax
xor eax, eax
test ecx, ecx
setne al
jmp 0x4a2e13
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4
call fcn.004e364a
int3