joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e6d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5293f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x308
mov dword [ebp - 0x314], ecx
mov word [ebp - 0x304], 0
push 0xd2
push 0
lea eax, [ebp - 0x302]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x304]
push ecx
push 0x69
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x46e738
xor eax, eax
jmp 0x46e863
mov eax, dword [ebp - 0x228]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x14], eax
mov word [ebp - 0x224], 0
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.0049e730
add esp, 0xc
lea eax, [ebp - 0x304]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x314]
add ecx, 4
call fcn.0046f180
mov dword [ebp - 0x308], 0
jmp 0x46e7a1
mov ecx, dword [ebp - 0x308]
add ecx, 1
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x308]
cmp edx, dword [ebp - 0x14]
jge 0x46e85e
mov eax, dword [ebp - 0x10]
mov word [eax + 4], 0
push 0x104
lea ecx, [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x46e850
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x30c]
call fcn.00406b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30c]
push ecx
mov ecx, dword [ebp - 0x314]
add ecx, 4
call fcn.00467bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30c]
call fcn.004070b0
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x310]
call fcn.00406b50
mov dword [ebp - 4], 1
lea eax, [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x314]
add ecx, 4
call fcn.00467bf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x310]
call fcn.004070b0
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x10], ecx
jmp 0x46e792
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4775f0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47762c
jmp 0x4776af
lea ecx, [ebp - 0x1c]
push ecx
push 0x545c80
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x477648
jmp 0x4776af
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], 2
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x477678
jmp 0x4776af
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10], 6
push 0x40000
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x4776a0
jmp 0x4776af
mov dword [ebp - 4], 1
xor edx, edx
jne 0x47760b
cmp dword [ebp - 8], 0
je 0x4776bf
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x486140
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529801
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
cmp dword [eax + 4], 0
je 0x48617e
mov ecx, dword [ebp - 0x220]
mov eax, dword [ecx + 4]
jmp 0x4862f2
mov ecx, dword [ebp - 0x220]
add ecx, 0x60
call fcn.00477060
push eax
lea ecx, [ebp - 0x110]
call fcn.0044c800
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x228], edx
mov dword [ebp - 4], 0
push 0x545e2c
mov eax, dword [ebp - 0x220]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x228]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 8]
push edx
call fcn.0047def0
add esp, 0x10
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.0040d580
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.0040b3b0
movzx edx, al
test edx, edx
jne 0x4862ed
push 0x400000
lea eax, [ebp - 0x114]
push eax
call fcn.0050dba0
add esp, 8
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], ecx
mov dword [ebp - 4], 1
push str.data_skin_skincfg.ini
mov edx, dword [ebp - 0x230]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x238], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0x64
call fcn.00477060
push eax
lea ecx, [ebp - 0x21c]
call fcn.0044c800
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x238]
call fcn.00477060
push eax
push 0xff
mov ecx, dword [ebp - 0x23c]
call fcn.00477060
push eax
push str.alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x220]
mov dword [edx + 0x30], eax
lea ecx, [ebp - 0x21c]
call fcn.0040d580
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x114]
call fcn.004070b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4886f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5281b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
lea ecx, [ebp - 0x70]
call fcn.004070d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x545b9c
lea edx, [ebp - 0x70]
push edx
call fcn.00407e40
add esp, 0x10
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call fcn.0049e730
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
mov word [ebp - 0x3c], 0
cmp dword [ebp + 0x10], 0
je 0x48876a
mov word [ebp - 0x3c], 0xa
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00477060
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
je 0x4887d1
cmp dword [ebp - 0x10], 0
je 0x4887c0
cmp dword [ebp + 0x14], 0
je 0x4887c0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
jmp 0x4887d1
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x4887e8
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.004070b0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x488810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529749
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.004070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.004070d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x220]
call fcn.00406b50
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.0040b3b0
movzx edx, al
test edx, edx
je 0x4888a9
lea eax, [ebp - 0x220]
push eax
call fcn.0045c480
add esp, 4
push str.data_baseconfig.dat
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x228]
push edx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x224]
call fcn.00404380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call fcn.004070b0
lea ecx, [ebp - 0x224]
call fcn.00477060
push eax
push 0x208
lea edx, [ebp - 0x21c]
push edx
push 0x544bf4
push str.TryNo
push str.common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x48893b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407020
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406750
mov edx, dword [ebp - 0x22c]
or edx, 1
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x220]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x224]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d11f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0xffffffff
mov word [ebp - 0x218], 0
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.0049e730
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4d127c
jmp 0x4d12fe
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 8], eax
push 0
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx + 8]
push eax
push 0
push 2
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 0x21c]
mov dword [edx], eax
cmp dword [ebp - 0xc], 0
jne 0x4d12bf
jmp 0x4d12fe
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 8]
push ecx
push 0
push 0
push 4
mov edx, dword [ebp - 0x21c]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x21c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x21c]
cmp dword [edx + 4], 0
jne 0x4d12f7
jmp 0x4d12fe
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0xffffffff
je 0x4d130e
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4d1700
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525af4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004d14a0
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d1775
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x1c], 1
jmp 0x4d17c9
call fcn.00522930
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4d1785
jmp 0x4d17c9
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4d17c2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x2c]
jmp 0x4d1813
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x14]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
jne 0x4d17e7
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x20], 0
je 0x4d17fb
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d4240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524d71
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406b50
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406b50
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00406b50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004d40b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.004070b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004070b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.004070b0
lea ecx, [ebp - 0x10]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x4d42f7
mov byte [ebp - 0x25], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov al, byte [ebp - 0x25]
jmp 0x4d43aa
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], 0
jmp 0x4d4315
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 0x14]
call fcn.0044ee50
cmp dword [ebp - 0x18], eax
jae 0x4d4388
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.00404380
lea ecx, [ebp - 0x14]
push ecx
call fcn.0050d6a0
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.00474180
push eax
lea ecx, [ebp - 0x14]
call fcn.00408180
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d4386
mov byte [ebp - 0x26], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov al, byte [ebp - 0x26]
jmp 0x4d43aa
jmp 0x4d430c
mov byte [ebp - 0x27], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov al, byte [ebp - 0x27]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d4b00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push 0x5346e8
push 0x534744
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x4d4b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0
push 0
push str.http:__www.xsso.net_dksq_userliscense.html
push 0x5346d8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esp, ebp
pop ebp
ret

Function at 0x4d4cb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
mov ecx, dword [ebp - 4]
call fcn.00487070
cmp dword [ebp + 8], 0x61
je 0x4d4ccd
cmp dword [ebp + 8], 0x41
jne 0x4d4cf3
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
and eax, 0x80
je 0x4d4cf3
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x528
call fcn.00488cc0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d4d90
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.004d4ba0
add esp, 4
test eax, eax
je 0x4d4e38
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4d4dd7
jmp 0x4d4e38
push 0
push 0x100000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004b0a00
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0x7fffffff
fild qword [ebp - 0x28]
and dword [ebp - 0x2c], 0x80000000
mov dword [ebp - 0x30], 0
fild qword [ebp - 0x30]
fchs
faddp st(1)
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x5469a0]
fstp qword [ebp - 0x20]
fld1
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 0x41
jp 0x4d4e38
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4d5280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x558], 0
jne 0x4d52d0
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004d51c0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.00477060
push eax
push 2
push 0x5336e0
push 0x5336ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 8]
mov dword [edx + 0x558], eax
lea ecx, [ebp - 4]
call fcn.004070b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x558]
mov esp, ebp
pop ebp
ret
Function at 0x4d57e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x964], 0
jne 0x4d580c
jmp 0x4d5877
push 0
push str.drvmaster_9C20A70B_E65D_4ef5_9744_A0D0B52A1BEE
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
jne 0x4d5877
lea ecx, [ebp - 0x10]
push ecx
call fcn.0050d9e0
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call fcn.0050d6a0
add esp, 4
push str.wmtray.exe
lea ecx, [ebp - 0x10]
call fcn.00407250
push 1
push 0
push str._from:autorun
lea ecx, [ebp - 0x10]
call fcn.00477060
push eax
push 0x5348d8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x4d5970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
call fcn.00477060
push eax
lea eax, [ebp - 4]
push eax
call fcn.004dc430
add esp, 8
lea ecx, [ebp - 4]
call fcn.004070b0
mov ecx, dword [ebp + 8]
call fcn.00406ac0
cmp eax, 3
jl 0x4d59c7
mov ecx, dword [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d59d1
mov ecx, dword [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
jne 0x4d59d1
mov eax, 1
jmp 0x4d5a86
push 3
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004075c0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.00477060
push eax
call fcn.004d4ba0
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 5], al
lea ecx, [ebp - 0xc]
call fcn.004070b0
movzx edx, byte [ebp - 5]
test edx, edx
je 0x4d5a14
mov eax, 2
jmp 0x4d5a86
mov eax, dword [ebp + 8]
push eax
call fcn.004d4ff0
add esp, 4
test eax, eax
je 0x4d5a2b
mov eax, 3
jmp 0x4d5a86
push 3
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004075c0
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
call fcn.00477060
push eax
call fcn.004d4d90
add esp, 4
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x14]
call fcn.004070b0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x4d5a6e
mov eax, 4
jmp 0x4d5a86
mov ecx, dword [ebp + 8]
call fcn.00406ac0
cmp eax, 0x96
jle 0x4d5a84
mov eax, 5
jmp 0x4d5a86
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4d60d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525c1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x454
mov dword [ebp - 0x458], ecx
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x21c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0x11
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x224]
call fcn.004070d0
mov dword [ebp - 4], 0
push 0x105
lea ecx, [ebp - 0x224]
call fcn.00406830
push 0
lea ecx, [ebp - 0x224]
call fcn.004067e0
push 0x534148
lea ecx, [ebp - 0x224]
call fcn.00407020
mov edx, dword [ebp - 0x458]
mov eax, dword [edx + 4]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x240], ecx
lea ecx, [ebp - 0x224]
call fcn.0040ed60
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0x534154
mov dword [ebp - 0x234], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea edx, [ebp - 0x244]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4d62f4
mov word [ebp - 0x44c], 0
push 0x206
push 0
lea eax, [ebp - 0x44a]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x450]
call fcn.004070d0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.004dc430
add esp, 8
mov dword [ebp - 0x45c], eax
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x460], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x460]
push eax
lea ecx, [ebp - 0x450]
call fcn.0040a960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.004070b0
mov ecx, dword [ebp - 0x458]
add ecx, 0x968
push ecx
lea ecx, [ebp - 0x450]
call fcn.0040a960
lea ecx, [ebp - 0x450]
call fcn.00477060
push eax
mov ecx, dword [ebp - 0x458]
add ecx, 0x528
call fcn.004930a0
push 0
lea edx, [ebp - 0x450]
push edx
call fcn.004d5970
add esp, 4
push eax
push 0x46c
mov ecx, dword [ebp - 0x458]
add ecx, 4
call fcn.0045b2b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.004070b0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x224]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d75e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526404
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d762c
lea ecx, [ebp + 8]
call fcn.00477060
push eax
call fcn.0047bc40
add esp, 4
call fcn.0047c9d0
push 0x2710
call fcn.00486520
add esp, 4
push 0x2711
call fcn.00486920
add esp, 4
push 0x2712
call fcn.00486b80
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004070b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4