Function at 0x4dcfd0
Capabilities:
Access peb ldr_data
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Get common file path
Get file version info
Get number of processors
Set current directory
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5a19e2
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x60aecc]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
fld1
mov eax, dword [esp + 0x488]
mov ebp, dword [esp + 0x47c]
mov edi, ecx
xor ebx, ebx
fst dword [edi + 8]
fstp dword [edi + 0xc]
mov dword [edi], eax
mov byte [edi + 4], bl
mov byte [edi + 5], bl
mov byte [edi + 0x10], 1
mov dword [edi + 0x14], ebx
mov dword [esp + 0x4c], edi
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [esp + 0x474], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
lea esi, [edi + 0x860]
mov ecx, esi
mov byte [esp + 0x474], 1
mov byte [edi + 0x34], 1
mov byte [edi + 0x35], bl
mov byte [edi + 0x36], 1
mov byte [edi + 0x37], bl
mov byte [edi + 0x38], bl
mov byte [edi + 0x39], 1
mov byte [edi + 0x3a], bl
mov byte [edi + 0x3b], bl
mov byte [edi + 0x3c], bl
call fcn.004a33a0
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
lea esi, [edi + 0x888]
mov ecx, esi
mov byte [esp + 0x474], 2
mov dword [edi + 0x86c], ebx
mov dword [edi + 0x870], ebx
mov dword [edi + 0x874], ebx
mov byte [edi + 0x878], bl
mov dword [edi + 0x87c], ebx
mov byte [edi + 0x880], bl
mov byte [edi + 0x881], bl
mov byte [edi + 0x882], bl
mov dword [edi + 0x884], ebx
call fcn.004dcb80
mov dword [esi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x894], ebx
mov dword [edi + 0x898], ebx
mov dword [edi + 0x89c], ebx
mov dword [edi + 0x8a0], ebx
mov dword [edi + 0x8a4], ebx
mov dword [edi + 0x8ac], ebx
mov dword [edi + 0x8b0], ebx
mov dword [edi + 0x8b4], ebx
mov dword [edi + 0x8b8], ebx
mov byte [esp + 0x474], 3
mov dword [edi + 0x8bc], ebx
mov dword [edi + 0x8c0], ebx
lea ecx, [edi + 0x8c4]
call fcn.004aea80
lea ecx, [edi + 0x1288]
call fcn.004993d0
mov dword [edi + 0x12b0], ebp
mov dword [edi + 0x12b4], ebx
mov dword [edi + 0x12b8], ebx
mov dword [edi + 0x12bc], ebx
mov dword [edi + 0x12c0], ebx
mov dword [edi + 0x12c4], ebx
mov dword [edi + 0x12c8], ebx
mov dword [edi + 0x12cc], ebx
lea ecx, [edi + 0x12d0]
mov byte [esp + 0x474], 5
call fcn.00496d90
lea ecx, [edi + 0x12d4]
mov byte [esp + 0x474], 6
call fcn.00496d90
lea ecx, [edi + 0x12d8]
mov byte [esp + 0x474], 7
call fcn.00496d90
mov edx, dword [str.utf8mode]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x47c], 8
call fcn.00496da0
call fcn.00401000
add esp, 4
push 1
mov byte [edi + 0x12dc], al
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov eax, dword [esp + 0x484]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x6142fc], eax
push ebx
mov dword [edi + 0x8a8], ebx
call esi
push 1
mov dword [edi + 0x12e4], eax
call esi
push 0x64
mov dword [edi + 0x12e8], eax
call fcn.0055d3fe
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x474], 9
je 0x4dd250
mov ecx, eax
call fcn.004a1480
jmp 0x4dd252
xor eax, eax
push 0x10
mov byte [esp + 0x478], 8
mov dword [edi + 0x898], eax
call fcn.0055d3fe
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x474], 0xa
je 0x4dd283
mov ecx, eax
call fcn.004f6e10
jmp 0x4dd285
xor eax, eax
push 0x10
mov byte [esp + 0x478], 8
mov dword [edi + 0x89c], eax
call fcn.0055d3fe
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x474], 0xb
je 0x4dd2b6
mov ecx, eax
call fcn.004aa3c0
jmp 0x4dd2b8
xor eax, eax
push 0x104
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x47c], 8
mov dword [edi + 0x8a4], eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004ffec0
add esp, 8
push 0x104
lea ecx, [esp + 0x3c]
mov byte [esp + 0x478], 0xc
call fcn.00496ed0
push eax
lea ecx, [edi + 0x655]
push ecx
call fcn.0055e0b0
add esp, 0xc
push 0x104
lea edx, [esp + 0x5c]
push edx
push ebp
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.004ffec0
add esp, 8
push 0x104
lea ecx, [esp + 0x34]
mov byte [esp + 0x478], 0xd
lea ebp, [edi + 0x141]
call fcn.00496ed0
push eax
push ebp
call fcn.0055e0b0
lea esi, [edi + 0x245]
add esp, 0xc
mov eax, ebp
sub esi, ebp
mov cl, byte [eax]
mov byte [esi + eax], cl
add eax, 1
cmp cl, bl
jne 0x4dd361
push 0x5c
push ebp
call fcn.00560c80
add esp, 8
cmp eax, ebx
je 0x4dd37f
mov byte [eax + 1], bl
lea edx, [esp + 0x58]
push edx
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004ffec0
add esp, 8
push 0x104
lea ecx, [esp + 0x40]
mov byte [esp + 0x478], 0xe
lea esi, [edi + 0x759]
call fcn.00496ed0
push eax
push esi
call fcn.0055e0b0
push 0x104
call fcn.004d9f50
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push ebp
call fcn.00496da0
call fcn.004fff40
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
push 0x104
lea edx, [esp + 0x264]
push edx
push ecx
lea eax, [edi + 0x245]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.00496da0
call fcn.004fff40
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_GetShortPathNameW]
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004ffec0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 0xf
call fcn.00497f40
push ebx
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x5c7c58
mov byte [esp + 0x488], 0x10
call fcn.00496da0
lea ecx, [esp + 0x30]
mov byte [esp + 0x484], 0xf
call fcn.004981a0
push ebx
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5a8554
call fcn.00496da0
push ecx
mov byte [esp + 0x484], 0x11
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x5b4840
call fcn.00496da0
lea ecx, [esp + 0x30]
mov byte [esp + 0x484], 0xf
call fcn.004981a0
push str._MUTEX
lea ecx, [esp + 0x38]
call fcn.00496da0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x47c], 0x12
call fcn.004974a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x474], 0x14
call fcn.00497320
push str._WNDCLASS
lea ecx, [esp + 0x1c]
call fcn.00496da0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x47c], 0x15
call fcn.004974a0
push eax
mov ecx, 0x614300
mov byte [esp + 0x478], 0x16
call fcn.00497360
lea ecx, [esp + 0x1c]
mov byte [esp + 0x474], 0x15
call fcn.00497320
lea ecx, [esp + 0x18]
mov byte [esp + 0x474], 0x14
call fcn.00497320
push ebx
call dword [sym.imp.kernel32.dll_SetLastError]
cmp byte [esp + 0x48c], bl
mov dword [edi + 0x12e0], ebx
jne 0x4dd5bf
lea ecx, [esp + 0x2c]
call fcn.00496ed0
push eax
push 1
push ebx
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov dword [edi + 0x12e0], eax
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4dd5bf
push ebx
mov ecx, 0x614300
call fcn.00496ed0
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, ebx
je 0x4dd5b9
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00560f29
lea esi, [edi + 0x3d]
mov edx, esi
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
cmp cl, bl
jne 0x4dd5c8
mov eax, esi
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x4dd5e0
mov ecx, dword [0x5c8950]
mov dword [eax], ecx
mov edx, dword [0x5c8954]
push esi
mov ecx, 0x6142c8
mov dword [eax + 4], edx
call fcn.00497d30
call dword [sym.imp.WINMM.dll_timeGetTime]
lea edx, [edi + 0x349]
mov dword [edi + 0x86c], eax
mov dword [edi + 0x870], ebx
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
cmp cl, bl
jne 0x4dd622
lea edx, [edi + 0x44d]
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
cmp cl, bl
jne 0x4dd638
lea ecx, [edi + 0x551]
sub ecx, ebp
lea esp, [esp]
mov al, byte [ebp]
mov byte [ecx + ebp], al
add ebp, 1
cmp al, bl
jne 0x4dd650
lea eax, [esp + 0x54]
push eax
lea ebp, [edi + 0x245]
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jbe 0x4dd7fa
push esi
call fcn.0055ce46
add esp, 4
push eax
push esi
push ebx
push ebp
mov dword [esp + 0x2c], eax
call sub.VERSION.dll_GetFileVersionInfoA
cmp eax, ebx
mov esi, dword [esp + 0x1c]
je 0x4dd7f1
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x48]
push edx
push 0x5c7c58
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4dd704
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
movzx edx, ax
push edx
shr eax, 0x10
push eax
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
lea ecx, [esp + 0x34]
push str._d._d._d._d
push ecx
call fcn.00497f10
add esp, 0x18
push eax
lea ecx, [edi + 0x12d4]
mov byte [esp + 0x478], 0x17
call fcn.00497360
lea ecx, [esp + 0x24]
mov byte [esp + 0x474], 0x14
call fcn.00497320
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
push str.StringFileInfo040904b0ProductName
push esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4dd7c0
mov ecx, dword [esp + 0x18]
movsx edx, byte [ecx]
push edx
call fcn.0055f947
add esp, 4
test eax, eax
je 0x4dd75b
lea ecx, [ecx]
mov eax, dword [esp + 0x18]
add eax, 1
mov dword [esp + 0x18], eax
movsx eax, byte [eax]
push eax
call fcn.0055f947
add esp, 4
test eax, eax
jne 0x4dd740
mov edx, dword [esp + 0x18]
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call fcn.00496da0
mov eax, dword [0x60370c]
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x480], 0x18
call fcn.00496da0
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x480], 0x14
call fcn.00499f00
add esp, 0xc
push eax
lea ecx, [edi + 0x12d0]
mov byte [esp + 0x478], 0x19
call fcn.00497360
lea ecx, [esp + 0x24]
mov byte [esp + 0x474], 0x14
call fcn.00497320
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push str.StringFileInfo040904b0InternalName
push esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4dd7f1
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [edi + 0x12d8]
call fcn.00497d30
push esi
call fcn.0055f5cf
add esp, 4
lea esi, [edi + 0x12d0]
mov ecx, esi
call fcn.00496eb0
test eax, eax
jne 0x4dd86d
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Playground_Application
call fcn.00496da0
mov edx, dword [0x60370c]
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x480], 0x1a
call fcn.00496da0
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x480], 0x14
call fcn.00499f00
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x478], 0x1b
call fcn.00497360
lea ecx, [esp + 0x14]
mov byte [esp + 0x474], 0x14
call fcn.00497320
push 1
call fcn.0055d3fe
add esp, 4
mov dword [edi + 0x12c4], eax
mov byte [eax], bl
lea eax, [edi + 0x12bc]
push eax
push ebx
push edi
push 0x4d9eb0
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateThread]
push 0xf
push eax
mov dword [edi + 0x12c0], eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x474], 0xf
call fcn.00497320
lea ecx, [esp + 0x20]
mov byte [esp + 0x474], 0xe
call fcn.00497320
lea ecx, [esp + 0x3c]
mov byte [esp + 0x474], 0xd
call fcn.00497320
lea ecx, [esp + 0x30]
mov byte [esp + 0x474], 0xc
call fcn.00497320
lea ecx, [esp + 0x38]
mov byte [esp + 0x474], 8
call fcn.00497320
mov eax, edi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.0055d2d5
add esp, 0x464
ret 0x14