joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c74e0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4c74ee
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4c7531
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4c751a
mov eax, dword [esi + 0x88]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x88], 0
ret

Function at 0x4c7c90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58a948
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x8c]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0xa4]
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 4]
mov ebp, dword [ecx]
mov dword [esp + 0xc], eax
nop
cmp eax, eax
mov esi, dword [eax + 4]
je 0x4c7cf0
call fcn.00565fa7
mov eax, dword [esp + 0xc]
cmp ebp, esi
je 0x4c7de2
cmp ebp, dword [eax + 4]
jne 0x4c7d06
call fcn.00565fa7
mov eax, dword [esp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
mov dword [esp + 0x10], esi
je 0x4c7dcc
mov edx, dword [ebx + 4]
test edx, edx
jne 0x4c7d20
xor ecx, ecx
jmp 0x4c7d28
mov ecx, dword [ebx + 8]
sub ecx, edx
sar ecx, 2
test edx, edx
je 0x4c7d45
mov eax, dword [ebx + 0xc]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x4c7d45
mov eax, dword [ebx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 8], eax
jmp 0x4c7d64
mov esi, dword [ebx + 8]
cmp edx, esi
jbe 0x4c7d51
call fcn.00565fa7
push esi
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, ebx
call fcn.00522680
mov ecx, dword [esp + 0xc]
cmp ebp, dword [ecx + 4]
jne 0x4c7d72
call fcn.00565fa7
mov eax, dword [edi + 4]
test eax, eax
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x10], esi
jne 0x4c7d84
xor edx, edx
jmp 0x4c7d8c
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x4c7da9
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x4c7da9
mov eax, dword [edi + 8]
mov dword [eax], esi
add eax, 4
mov dword [edi + 8], eax
jmp 0x4c7dc8
mov esi, dword [edi + 8]
cmp eax, esi
jbe 0x4c7db5
call fcn.00565fa7
push esi
push edi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, edi
call fcn.004fafa0
mov eax, dword [esp + 0xc]
cmp ebp, dword [eax + 4]
jne 0x4c7dda
call fcn.00565fa7
mov eax, dword [esp + 0xc]
mov ebp, dword [ebp]
jmp 0x4c7ce0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x28
ret
Function at 0x4ca470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58a8f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, str.SoftwareKingsoftKVip10001kybox
call fcn.00481430
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, SysReAllocStringLen
mov dword [esp + 0x38], 0
call fcn.0047b9d0
mov byte [esp + 0x30], 2
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ca4e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.initmute
call fcn.00481430
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 0
call fcn.00479280
test eax, eax
je 0x4ca519
cmp dword [esp + 0x14], 2
jne 0x4ca51d
xor eax, eax
jmp 0x4ca521
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ca547
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ca566
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ca586
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x4ca5a0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58a8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
mov ecx, str.SoftwareKingsoftKVip10001kybox
call fcn.00481430
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
mov ecx, SysReAllocStringLen
mov dword [esp + 0x30], 0
call fcn.0047b9d0
mov byte [esp + 0x28], 2
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ca613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 8]
push ecx
mov ecx, str.initmute
call fcn.00481430
mov edx, dword [esp + 0x30]
mov ecx, dword [edx]
lea eax, [esp + 0xc]
test eax, eax
je 0x4ca638
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4ca642
mov dword [esp + 0xc], 0xd
jmp 0x4ca661
mov edx, dword [esp + 8]
push 4
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ca681
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ca6a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ca6c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret 4
Function at 0x4cae10
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x58a88d
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
lea eax, [esi + 0xbc]
mov dword [esp + 0x18], ebx
call fcn.00477a90
lea edi, [esi + 0xa4]
call fcn.00501ee0
mov eax, dword [edi + 4]
push eax
call fcn.00563626
add esp, 4
lea eax, [esi + 0x8c]
push eax
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x88]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4caeaf
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4caea0
mov ecx, dword [esi + 0x88]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x88]
push edx
call edi
mov dword [esi + 0x88], ebx
cmp dword [esi + 0x78], ebx
je 0x4caec1
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x4caec1
push eax
call edi
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0x7c]
sub eax, 0x10
mov dword [esi + 0x74], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4caee3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esi + 0x6c], ebx
je 0x4caef5
mov eax, dword [esi + 0x68]
cmp eax, ebx
je 0x4caef5
push eax
call edi
mov dword [esi + 0x68], ebx
mov eax, dword [esi + 0x70]
sub eax, 0x10
mov dword [esi + 0x68], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4caf17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x38]
push ecx
call fcn.004c8d70
add esi, 8
push esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004c8d70
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x4cc600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0700
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 0x30]
push 0
push eax
mov edi, 0x5ae3a0
call fcn.0047e9b0
add esp, 8
test eax, eax
jne 0x4cc69f
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cc688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jne 0x4cc6b6
mov dword [esp + 0x20], 0xffffffff
lea eax, [edi - 0x10]
jmp 0x4cc66f
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
call fcn.004cb000
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
mov byte [esp + 0x2c], 1
call fcn.004cc4d0
mov esi, eax
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cc70e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4cc732
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x18
Function at 0x4d1ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
cmp ebp, 0x86
push esi
push edi
mov ebx, eax
mov esi, ecx
jne 0x4d1f2c
cmp dword [esp + 0x1c], 0
mov dword [esi + 0x380], 1
jne 0x4d1f11
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx], 1
cmp dword [esi + 0x380], 0
je 0x4d1f53
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ebp, 0x4e
jne 0x4d1f53
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 4], 0x3e8
jne 0x4d1f53
mov eax, esi
mov dword [esi + 0x380], 1
call fcn.004d1dd0
mov dword [ebx], eax
jmp 0x4d1f17
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edi, dword [esi + 0x37c]
push 0
push ecx
push ebp
push edx
mov ecx, esi
call fcn.004ff220
test eax, eax
mov dword [esi + 0x37c], edi
jne 0x4d1f20
cmp ebp, 0x110
jne 0x4d1fc4
push ecx
mov eax, esp
mov dword [esi + 0x380], 1
mov dword [eax], 0
mov eax, dword [esi + 0x390]
push eax
lea ecx, [esi + 0x394]
push ecx
call fcn.004f4050
mov dword [ebx], 1
cmp dword [esi + 0x380], 0
je 0x4d1ff8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
cmp ebp, 0x113
jne 0x4d1ff8
cmp dword [esp + 0x1c], 0x3e9
mov dword [esi + 0x380], 1
jne 0x4d1fe5
call fcn.004d1cd0
mov dword [ebx], 0
cmp dword [esi + 0x380], 0
jne 0x4d1f20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x4d2300
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4d23a4
sub ecx, 0x2329
je 0x4d237f
sub ecx, 1
jne 0x4d23a4
call fcn.004d23b0
test eax, eax
jne 0x4d23a4
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push 0x232a
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x10]
test eax, eax
jbe 0x4d2351
mov edx, dword [edi + 4]
push 0
push 0
push eax
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x14], 0
je 0x4d2369
push esi
mov esi, dword [edi + 4]
call fcn.004795c0
pop esi
mov dword [edi], 0
pop edi
ret
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi], 0
pop edi
ret
mov eax, dword [eax]
push 0x2329
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [edx]
push 0
push ecx
push 0x232a
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], 0
pop edi
ret
Function at 0x4d2420
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x590c08
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x4d24f0
lea edx, [esp + 0x20]
push edx
call fcn.00481970
lea esi, [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.004f5070
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4d24c8
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
call fcn.0047e1c0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d24b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d24f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 8
Function at 0x4d2600
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5940b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
call fcn.00481430
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d2685
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea edi, [esp + 0xc]
call fcn.004f22a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
push 5
push ecx
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, 0x20
cmp edx, eax
sbb esi, esi
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
neg esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d26dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x4d336c
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jg 0x4d3373
xor eax, eax
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x4d3393
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4d3398
call fcn.00565fa7
mov ecx, dword [esi + 8]
lea eax, [edi + edi*2]
lea ecx, [ecx + eax*4]
jmp 0x4d2600

Function at 0x4d2700
Capabilities:
Check if file exists

Disassembly:
push ecx
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x4d270d
xor eax, eax
pop ecx
ret
push esi
lea edx, [esp + 4]
push edx
call fcn.00481430
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d273d
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4d273d
mov esi, 1
jmp 0x4d273f
xor esi, esi
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d275f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4d3350
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5940b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0xc]
push eax
call fcn.00481430
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d2685
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d2671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
lea edi, [esp + 0xc]
call fcn.004f22a0
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov esi, dword [esi + 8]
push 5
push ecx
push eax
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, 0x20
cmp edx, eax
sbb esi, esi
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
neg esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d26dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x4d336c
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jg 0x4d3373
xor eax, eax
ret
mov eax, dword [esi + 8]
test eax, eax
je 0x4d3393
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4d3398
call fcn.00565fa7
mov ecx, dword [esi + 8]
lea eax, [edi + edi*2]
lea ecx, [ecx + eax*4]
jmp 0x4d2600
Function at 0x4d33b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x58dca8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call ebp
mov edi, eax
lea ebx, [edi - 1]
cmp ebx, edi
ja 0x4d342c
push edi
call fcn.00548a37
xor esi, esi
add esp, 4
test eax, eax
mov dword [esp + 0x14], esi
je 0x4d3403
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x20], 0
je 0x4d342c
push edi
push 0
push esi
call fcn.005695a0
add esp, 0xc
push esi
push edi
call ebp
cmp ebx, eax
je 0x4d3430
push esi
call fcn.00563626
add esp, 4
xor eax, eax
jmp 0x4d3475
xor eax, eax
test ebx, ebx
jbe 0x4d3447
cmp byte [eax + esi], 0
jne 0x4d3440
mov byte [eax + esi], 0x3b
add eax, 1
cmp eax, ebx
jb 0x4d3436
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4d3450
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x28]
push esi
call fcn.00472930
push esi
call fcn.00563626
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x4d39d0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x594350
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x384]
push str.class
add eax, 0x3e9
push eax
lea edi, [esi + 0x50]
push edi
mov ecx, str.mygamelist_item_000000
call fcn.004b7f20
push 0
mov ecx, 0x64
mov eax, edi
call fcn.004b65c0
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push ecx
mov dword [esi + 0x384], 0xffffffff
call edi
test eax, eax
jne 0x4d3a8c
push ecx
mov eax, esp
mov dword [eax], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
push esi
call fcn.004f51f0
mov edx, dword [esi + 4]
push edx
call edi
test eax, eax
jne 0x4d3a6e
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov edx, dword [esi + 4]
push 0xd
push 0
push 0
add eax, 0x27
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d3ac6
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
mov ecx, dword [esi + 4]
je 0x4d3aa8
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d3ac6
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push 0xd
push 0
push 0
add edx, 0x27
push edx
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.004d4280
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4d3ae0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, eax
mov eax, dword [ecx + 8]
cmp eax, 3
push edi
jne 0x4d3b04
mov eax, esi
call fcn.004d3df0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 4
jne 0x4d3b1b
mov edi, esi
call fcn.004d3e40
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4d3b73
mov edi, dword [ecx + 0xc]
cmp edi, 0x3e9
jb 0x4d3b5b
cmp edi, 0x3f3
ja 0x4d3b5b
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
add edi, 0xfffffc17
add esi, 0x3ac
call fcn.004d3350
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d1
jne 0x4d3b73
call fcn.004d3ed0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x380], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret