Function at 0x4bfe60
Capabilities:
Check os version
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9540
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x53ba20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor al, al
mov esi, dword [ebp + 0x10]
push 0x555f4c
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x9c], esi
mov byte [ebp - 0x91], al
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call fcn.0047c120
test eax, eax
je 0x4bff12
push edi
push 0
push 0x4be110
call fcn.004d5fba
push dword [ebp + 0x14]
push 1
call fcn.0047bd60
add esp, 0x14
test eax, eax
jne 0x4c05c5
push 0x10
push 0x4fc6f4
push str.Unable_to_extract_64_bit_image._Run_Process_Explorer_from_a_writable_directory.
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x5509ec], 0
cmp al, 0xa
jb 0x4bff32
mov dword [0x5509ec], 5
jmp 0x4bff76
cmp al, 6
jb 0x4bff76
movzx eax, ax
shr eax, 8
cmp eax, 3
ja case.0x4bff41.3
jmp dword [eax*4 + 0x4c05cc]
mov dword [0x5509ec], 1
jmp 0x4bff76
mov dword [0x5509ec], 2
jmp 0x4bff76
mov dword [0x5509ec], 3
jmp 0x4bff76
mov dword [0x5509ec], 4
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor edx, edx
mov dword [0x555f20], esi
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x90], esi
cmp word [esi], dx
je 0x4c0010
mov esi, dword [ebp + edx*4 - 0x90]
xor ecx, ecx
movzx eax, word [esi]
mov edi, eax
test ax, ax
je 0x4bffd0
cmp ax, 0x20
je 0x4bffc5
movzx eax, word [esi + ecx*2 + 2]
inc ecx
test ax, ax
jne 0x4bffb4
test ecx, ecx
je 0x4bffd0
inc edx
mov dword [ebp - 0x98], edx
mov eax, dword [ebp + edx*4 - 0x94]
cmp word [eax + ecx*2], 0
je 0x4c0010
xor edx, edx
mov word [eax + ecx*2], dx
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp + edx*4 - 0x94]
lea eax, [eax + ecx*2]
add eax, 2
mov dword [ebp + edx*4 - 0x90], eax
cmp edx, 0x20
je 0x4c0010
movzx eax, word [eax]
cmp eax, 0x20
je 0x4bffa1
test ax, ax
jne 0x4bffa1
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x4fc6f4
call fcn.004528d0
add esp, 0xc
test eax, eax
je 0x4bfef0
xor esi, esi
cmp dword [ebp - 0x98], esi
jle 0x4c01fb
mov edx, dword [ebp + esi*4 - 0x90]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0050
sub ecx, edi
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edx
call fcn.004c9a09
mov ecx, dword [ebp + esi*4 - 0x90]
add esp, 8
movzx eax, word [ecx]
cmp eax, 0x2f
je 0x4c0084
cmp eax, 0x2d
jne 0x4c0187
movzx eax, word [ecx + 2]
add eax, 0xffffffbb
cmp eax, 0xf
ja case.0x4c009b.70
movzx eax, byte [eax + 0x4c05f4]
jmp dword [eax*4 + 0x4c05dc]
mov byte [0x555f1c], 1
jmp case.0x4c0101.72
cmp word [ecx + 4], 0x3a
jne case.0x4c0101.73
lea eax, [ecx + 6]
push eax
call fcn.004d5d1b
add esp, 4
mov dword [0x538604], eax
jmp case.0x4c0101.72
cmp dword [0x5509ec], 1
jl case.0x4c0101.73
mov byte [ebp - 0x91], 1
jmp case.0x4c0101.72
cmp word [ecx + 4], 0x3a
jne case.0x4c0101.73
movzx eax, word [ecx + 6]
add eax, 0xffffffb8
cmp eax, 0xa
ja case.0x4c0101.73
movzx eax, byte [eax + 0x4c0618]
jmp dword [eax*4 + 0x4c0604]
push 0x100
jmp 0x4c0115
push 0x20
jmp 0x4c0115
push 0x40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
inc esi
cmp esi, dword [ebp - 0x98]
jl 0x4c0041
cmp byte [ebp - 0x91], 0
je 0x4c01fb
call fcn.0047d0f0
test al, al
jne 0x4c01fb
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x9c]
call fcn.0047c020
add esp, 0xc
test eax, eax
je 0x4c05c5
cmp eax, 0x4c7
je 0x4bfef0
push dword [0x555ec8]
push 0x512184
call fcn.004aad00
add esp, 8
jmp 0x4bfef0
push 0x5178c8
push ecx
call fcn.004c5729
add esp, 8
test eax, eax
jne 0x4c012f
call fcn.004bfd50
jmp 0x4bfef5
cmp word [ecx + 4], 0x54
jne case.0x4c0101.73
push 0
push 0
push 0
push 0
call fcn.004869a0
add esp, 0x10
xor eax, eax
jmp 0x4bfef5
cmp dword [0x5509ec], 1
push 0x40
push 0x4fc6f4
jl 0x4c01e6
push 0x517480
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x4bfef5
push 0x517630
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x4bfef5
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x407
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [0x5509e8]
mov ecx, 0x5703c4
push 0
call fcn.004bd880
mov eax, dword [0x540930]
xorps xmm0, xmm0
add eax, 0x10
mov dword [ebp - 0xdc], vtable.WTL::CMessageLoop.0
push eax
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xa8], 0
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5703f8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 8]
mov edi, eax
push 4
inc ecx
push ecx
push dword [esi]
call fcn.004d7d82
add esp, 0xc
test eax, eax
je 0x4c02e8
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004d7d82
add esp, 0xc
test eax, eax
je 0x4c02e8
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
je 0x4c02d6
mov dword [eax], edi
mov eax, dword [esi + 4]
add eax, ecx
je 0x4c02e5
lea ecx, [ebp - 0xdc]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00447c40
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
mov ecx, esi
call fcn.00448d80
push dword [ebp + 0x14]
push dword [ebp - 0xa4]
call fcn.004665e0
add esp, 8
test eax, eax
je 0x4c0577
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ecx, 1
xor esi, esi
mov dword [ebp - 0x9c], ecx
test ecx, ecx
je 0x4c0372
nop dword [eax]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call edi
test eax, eax
jne 0x4c0372
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push esi
inc esi
mov edx, dword [eax + 8]
call edx
test eax, eax
jne 0x4c0340
mov dword [ebp - 0x9c], eax
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp - 0x9c]
cmp eax, 0xffffffff
je 0x4c0335
test eax, eax
je 0x4c03f5
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xdc]
mov eax, dword [eax + 4]
call eax
test eax, eax
jne 0x4c03ca
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xdc]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [ebp - 0x9c]
test eax, eax
je 0x4c0335
jmp 0x4c0328
mov eax, dword [0x540930]
add eax, 0x10
push eax
mov dword [ebp - 0xa4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x5703f8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x4c043c
mov edx, dword [edi]
cmp dword [edx], eax
je 0x4c042f
inc ecx
add edx, 4
cmp ecx, esi
jl 0x4c0421
jmp 0x4c043c
cmp ecx, 0xffffffff
je 0x4c043c
push ecx
mov ecx, edi
call fcn.004bf320
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x540930]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5703fc]
test esi, esi
je 0x4c04aa
cmp dword [esi + 4], 0
jle 0x4c0478
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x5703fc]
test esi, esi
je 0x4c04aa
mov eax, dword [esi]
test eax, eax
je 0x4c0491
push eax
call fcn.004c8c7f
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004c3279
add esp, 8
push edi
mov dword [0x5703fc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5703f8]
test esi, esi
je 0x4c0503
mov eax, dword [esi]
test eax, eax
je 0x4c04da
push eax
call fcn.004c8c7f
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4c04f1
push eax
call fcn.004c8c7f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004c3279
add esp, 8
mov esi, dword [0x5703f0]
mov dword [ebp - 4], 0
test esi, esi
je 0x4c0543
cmp dword [esi], 0
je 0x4c0543
nop dword [eax]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4c052d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x4c0520
mov esi, dword [0x53b608]
mov ecx, dword [0x53b60c]
cmp esi, ecx
jae 0x4c056d
mov eax, dword [esi]
test eax, eax
je 0x4c0566
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x53b60c]
add esi, 4
cmp esi, ecx
jb 0x4c0553
mov ecx, 0x5703c4
call fcn.004bf540
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], vtable.WTL::CMessageLoop.0
test eax, eax
je 0x4c059e
push eax
call fcn.004c8c7f
add esp, 4
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
test eax, eax
je 0x4c05c5
push eax
call fcn.004c8c7f
add esp, 4
xor eax, eax
jmp 0x4bfef5