Function at 0x4c016c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7b60
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x535a40]
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 0x54ff20
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0xa0], esi
mov byte [ebp - 0x91], al
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call fcn.0047c3b0
test eax, eax
je 0x4c01c2
push edi
push 0
push 0x4be3f0
call fcn.004d6098
push dword [ebp + 0x14]
push 1
call fcn.0047bff0
add esp, 0x14
test eax, eax
jne 0x4c0865
push 0x10
push 0x4fa6f4
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.004c34b7
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x54a9bc], 0
cmp al, 0xa
jb 0x4c01e2
mov dword [0x54a9bc], 5
jmp 0x4c0226
cmp al, 6
jb 0x4c0226
movzx eax, ax
shr eax, 8
cmp eax, 3
ja case.0x4c01f1.3
jmp dword [eax*4 + 0x4c086c]
mov dword [0x54a9bc], 1
jmp 0x4c0226
mov dword [0x54a9bc], 2
jmp 0x4c0226
mov dword [0x54a9bc], 3
jmp 0x4c0226
mov dword [0x54a9bc], 4
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor edx, edx
mov dword [0x54fef4], esi
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x90], esi
cmp word [esi], dx
je 0x4c02c0
mov esi, dword [ebp + edx*4 - 0x90]
xor ecx, ecx
movzx eax, word [esi]
mov edi, eax
test ax, ax
je 0x4c0280
cmp ax, 0x20
je 0x4c0275
movzx eax, word [esi + ecx*2 + 2]
inc ecx
test ax, ax
jne 0x4c0264
test ecx, ecx
je 0x4c0280
inc edx
mov dword [ebp - 0x98], edx
mov eax, dword [ebp + edx*4 - 0x94]
cmp word [eax + ecx*2], 0
je 0x4c02c0
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 0x4c02c0
movzx eax, word [eax]
cmp eax, 0x20
je 0x4c0251
test ax, ax
jne 0x4c0251
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x98]
push eax
push 0x4fa6f4
call fcn.004522b0
add esp, 0xc
test eax, eax
je 0x4c01a0
xor esi, esi
cmp dword [ebp - 0x98], esi
jle 0x4c04ab
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 0x4c0300
sub ecx, edi
sar ecx, 1
lea eax, [ecx + 1]
push eax
push edx
call fcn.004c9ae9
mov ecx, dword [ebp + esi*4 - 0x90]
add esp, 8
movzx eax, word [ecx]
cmp eax, 0x2f
je 0x4c0334
cmp eax, 0x2d
jne 0x4c0437
movzx eax, word [ecx + 2]
add eax, 0xffffffbb
cmp eax, 0xf
ja case.0x4c034b.70
movzx eax, byte [eax + 0x4c0894]
jmp dword [eax*4 + 0x4c087c]
mov byte [0x54fc8c], 1
jmp case.0x4c03b1.72
cmp word [ecx + 4], 0x3a
jne case.0x4c03b1.73
lea eax, [ecx + 6]
push eax
call fcn.004d5dfb
add esp, 4
mov dword [0x532614], eax
jmp case.0x4c03b1.72
cmp dword [0x54a9bc], 1
jl case.0x4c03b1.73
mov byte [ebp - 0x91], 1
jmp case.0x4c03b1.72
cmp word [ecx + 4], 0x3a
jne case.0x4c03b1.73
movzx eax, word [ecx + 6]
add eax, 0xffffffb8
cmp eax, 0xa
ja case.0x4c03b1.73
movzx eax, byte [eax + 0x4c08b8]
jmp dword [eax*4 + 0x4c08a4]
push 0x100
jmp 0x4c03c5
push 0x20
jmp 0x4c03c5
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 0x4c02f1
cmp byte [ebp - 0x91], 0
je 0x4c04ab
call fcn.0047d390
test al, al
jne 0x4c04ab
push 0
push dword [ebp + 0x14]
push dword [ebp - 0xa0]
call fcn.0047c2b0
add esp, 0xc
test eax, eax
je 0x4c0865
cmp eax, 0x4c7
je 0x4c01a0
push dword [0x54fea0]
push 0x510174
call fcn.004aae60
add esp, 8
jmp 0x4c01a0
push 0x5158b8
push ecx
call fcn.004c580a
add esp, 8
test eax, eax
jne 0x4c03df
call fcn.004c0000
jmp 0x4c01a5
cmp word [ecx + 4], 0x54
jne case.0x4c03b1.73
push 0
push 0
push 0
push 0
call fcn.00486bd0
add esp, 0x10
xor eax, eax
jmp 0x4c01a5
cmp dword [0x54a9bc], 1
push 0x40
push 0x4fa6f4
jl 0x4c0496
push 0x515470
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x4c01a5
push 0x515620
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x4c01a5
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 8
push eax
mov dword [ebp - 0xa0], 0x407
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [0x54a9b8]
mov ecx, 0x56a394
push 0
call fcn.004bdc10
mov eax, dword [0x53a900]
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 - 0xa0], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x56a3c8]
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.004d714f
add esp, 0xc
test eax, eax
je 0x4c0598
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.004d714f
add esp, 0xc
test eax, eax
je 0x4c0598
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
lea ecx, [eax*4]
mov eax, dword [esi]
add eax, ecx
je 0x4c0586
mov dword [eax], edi
mov eax, dword [esi + 4]
add eax, ecx
je 0x4c0595
lea ecx, [ebp - 0xdc]
mov dword [eax], ecx
inc dword [esi + 8]
push dword [ebp - 0xa0]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00447450
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
mov ecx, esi
call fcn.004485d0
push dword [ebp + 0x14]
push dword [ebp - 0x9c]
call fcn.00466050
add esp, 8
test eax, eax
je 0x4c0817
mov edi, 1
xor esi, esi
nop dword [eax]
test edi, edi
je 0x4c0618
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4c0618
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
push esi
inc esi
mov edx, dword [eax + 8]
call edx
neg eax
sbb eax, eax
and edi, eax
jne 0x4c05e4
push 0
push 0
push 0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x4c05e0
test eax, eax
je 0x4c069a
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 0x4c066a
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]
lea eax, [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xdc]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
mov ecx, 1
cmovne edi, ecx
xor ecx, ecx
test eax, eax
cmove ecx, esi
mov esi, ecx
jmp 0x4c05e0
mov eax, dword [0x53a900]
add eax, 0x10
push eax
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x56a3c8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [edi + 8]
xor ecx, ecx
test esi, esi
jle 0x4c06e1
mov edx, dword [edi]
cmp dword [edx], eax
je 0x4c06d4
inc ecx
add edx, 4
cmp ecx, esi
jl 0x4c06c6
jmp 0x4c06e1
cmp ecx, 0xffffffff
je 0x4c06e1
push ecx
mov ecx, edi
call fcn.004bf5d0
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x53a900]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x56a3cc]
test esi, esi
je 0x4c074f
cmp dword [esi + 4], 0
jle 0x4c071d
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x56a3cc]
test esi, esi
je 0x4c074f
mov eax, dword [esi]
test eax, eax
je 0x4c0736
push eax
call fcn.004c8d5f
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004c34a9
add esp, 8
push edi
mov dword [0x56a3cc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x56a3c8]
test esi, esi
je 0x4c07a8
mov eax, dword [esi]
test eax, eax
je 0x4c077f
push eax
call fcn.004c8d5f
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4c0796
push eax
call fcn.004c8d5f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004c34a9
add esp, 8
mov esi, dword [0x56a3c0]
mov dword [ebp - 4], 0
test esi, esi
je 0x4c07e3
cmp dword [esi], 0
je 0x4c07e3
nop
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4c07cd
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 0x4c07c0
mov esi, dword [0x535618]
mov ecx, dword [0x53561c]
cmp esi, ecx
jae 0x4c080d
mov eax, dword [esi]
test eax, eax
je 0x4c0806
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x53561c]
add esi, 4
cmp esi, ecx
jb 0x4c07f3
mov ecx, 0x56a394
call fcn.004bf7f0
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xdc], vtable.WTL::CMessageLoop.0
test eax, eax
je 0x4c083e
push eax
call fcn.004c8d5f
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 0x4c0865
push eax
call fcn.004c8d5f
add esp, 4
xor eax, eax
jmp 0x4c01a5