joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465180
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x55b164]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
cmp eax, ebx
push edi
je 0x46522b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x547574]
jge 0x4651ac
lea esi, [eax - 0xc]
cmp esi, edx
jne 0x4651b6
mov edi, dword [ebx - 0xc]
lea esi, [ebx - 0xc]
test edi, edi
jge 0x4651fb
mov ebp, dword [ebx - 8]
mov ecx, 0x55b164
push ebp
call fcn.00405660
test eax, eax
je 0x46522b
mov edi, dword [0x55b164]
lea eax, [ebp + ebp]
mov ecx, eax
mov esi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x55b164]
mov dword [ecx - 8], ebp
mov edx, dword [0x55b164]
mov word [eax + edx], 0
jmp 0x46522b
add eax, 0xfffffff4
cmp eax, edx
je 0x46521e
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46521e
mov eax, dword [0x55b164]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
push esi
mov dword [0x55b164], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x14]
mov dword [0x55b170], eax
xor eax, eax
push ecx
push 0x464f20
mov dword [0x55b168], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x55b168], 1
jl 0x46528a
mov eax, dword [0x547574]
mov esi, dword [0x55b174]
lea edx, [ebx - 0xc]
cmp edx, eax
je 0x465283
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x465283
push ebx
call fcn.00532222
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [0x547574]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x4652ae
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4652ae
push ebx
call fcn.00532222
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4673d0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x10]
push esi
mov esi, ecx
mov dword [eax], 1
mov dword [esi + 0x1cc], 1
call fcn.00469280
mov ecx, dword [esi + 0x1f8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004670b0
mov ecx, esi
call fcn.00467440
lea ecx, [esi + 0x49c4]
call fcn.004db5b0
lea ecx, [esi + 0x507c]
call fcn.004db5b0
lea ecx, [esi + 0x5734]
call fcn.004db5b0
lea ecx, [esi + 0x5dec]
call fcn.004db5b0
mov eax, 1
pop esi
ret 0x10
Function at 0x467440
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, 1
mov ebx, ecx
push edi
mov dword [0x55bc20], edi
mov dword [0x54b36c], edi
call fcn.00473530
lea eax, [ebx + 0x64a4]
mov dword [0x54b36c], 0
test eax, eax
je 0x46747c
lea eax, [ebx + 0x64a8]
jmp 0x46747e
xor eax, eax
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x1f8]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x1c]
push eax
push ecx
call esi
test eax, eax
je 0x4674b2
mov eax, dword [ebx + 0x1f8]
lea edx, [esp + 0x24]
push edx
push eax
call esi
mov ecx, dword [ebx + 0x64a8]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x40
push 0x14
push 0x14
push 0
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub edx, eax
push 0x40
push edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0x64a8]
push ecx
push 0
push eax
call esi
mov ecx, dword [ebx + 0x1f8]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x55bc18]
sub eax, edx
mov edx, dword [0x547570]
push eax
lea eax, [esp + 0x14]
push str._0d_msek
push eax
mov dword [esp + 0x1c], edx
call fcn.00405cb0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, edi
mov dword [esp + 0x14], eax
jg 0x467545
mov edx, dword [ecx - 4]
test edx, edx
jge 0x46759e
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x467552
jne 0x467624
mov edi, dword [0x547570]
mov dword [esp + 0x10], edi
lea ecx, [ebp + ebp + 2]
lea esi, [eax + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebp
mov ecx, dword [0x547574]
cmp eax, ecx
je 0x46759a
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46759a
mov edx, dword [esp + 0x14]
push edx
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, 1
mov eax, dword [0x55bbe0]
push ecx
push edi
push 0x40b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 4]
push 0
push 0xfa0
push 0x30e26
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x18]
mov dword [0x55bc24], edi
call fcn.00487050
lea ecx, [esp + 0x18]
call fcn.0048d880
lea ecx, [esp + 0x18]
call fcn.00487080
mov eax, dword [esp + 0x10]
mov ecx, dword [0x547574]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x467620
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x467620
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
add esp, 0x1c
ret
lea ecx, [ebp + ebp + 0xe]
push ecx
call fcn.00532695
add esp, 4
test eax, eax
je 0x467654
mov dword [eax], edi
mov word [eax + ebp*2 + 0xc], 0
lea edi, [eax + 0xc]
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edi
jmp 0x46755c
xor ecx, ecx
jmp 0x4675a3
Function at 0x4691d0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0
push ecx
push 0x469200
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x46ac50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [0x547570]
mov ebx, ecx
mov ecx, dword [0x55f3b8]
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
push ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, dword [0x547570]
lea eax, [esp + 0x14]
test eax, eax
mov dword [esp + 0xc], edx
je 0x46ace8
lea ecx, [esp + 0x14]
shr ecx, 0x10
jne 0x46acac
xor edx, edx
lea eax, [esp + 0x14]
mov dx, ax
lea ecx, [esp + 0xc]
push edx
call fcn.00413ae0
jmp 0x46ace8
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x46ace4
push esi
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x46ace4
mov edi, dword [esp + 0xc]
lea ecx, [esi + esi]
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
cmp dword [0x55bc40], 2
jne 0x46ada3
mov eax, dword [esp + 0xc]
push 5
push 0
mov dword [0x55bc40], 0
mov ecx, dword [ebx + 4]
push eax
push str.explorer.exe
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, eax
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46ad4f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x46ad4f
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [0x547574]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x46ad6e
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x46ad6e
push esi
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x220]
mov ecx, dword [0x547574]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46ad95
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46ad95
push esi
call fcn.00532222
add esp, 4
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x210
ret 4
mov edi, dword [esp + 0x220]
mov eax, dword [esp + 0xc]
mov ecx, dword [ebx + 4]
push ebp
push 1
push 0
push edi
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [0x547574]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46adf7
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x46adf7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [0x547574]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x46ae16
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x46ae16
push esi
call fcn.00532222
add esp, 4
mov eax, dword [0x547574]
lea edx, [edi - 0xc]
cmp edx, eax
je 0x46ae35
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x46ae35
push esi
call fcn.00532222
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x210
ret 4
Function at 0x46cbe0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 8
push eax
call edi
test eax, eax
jne 0x46cc22
mov ecx, dword [esi + 4]
push 5
push ecx
call edi
lea ecx, [esi + 0x1d0]
call fcn.00525d50
mov dword [0x55bbb4], 0
mov edx, dword [esi + 4]
push edx
call fcn.00519330
add esp, 4
pop edi
pop esi
ret
push 1
push 0
push ecx
mov dword [0x55bbb4], 1
mov ecx, esp
push 0x80
lea edi, [esi + 0x1d0]
call fcn.00405730
mov eax, dword [esi + 0x1f0]
mov ecx, edi
push eax
push 0x80
call fcn.005263c0
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.005260b0
pop edi
pop esi
ret
Function at 0x4707a0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [0x54b370]
sub esp, 8
cmp eax, 0xffffffff
jne 0x47084e
push ebx
push ebp
push esi
lea eax, [esp + 0x10]
push edi
lea ecx, [esp + 0x10]
xor edi, edi
push eax
push ecx
push edi
push 2
push edi
push edi
push edi
push str.Q_Dir_Admin_Test
push SHChangeNotifyRegister
mov dword [0x54b370], edi
xor esi, esi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
jne 0x47083b
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push edi
push edi
push SHChangeNotifyRegister
mov dword [0x54b370], 1
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x470825
cmp esi, edi
je 0x470821
push esi
call ebp
mov esi, dword [esp + 0x10]
push str.Q_Dir_Admin_Test
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x47083b
mov dword [0x54b370], edi
mov ebx, dword [0x54b370]
cmp esi, edi
je 0x470848
push esi
call ebp
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x471db0
Capabilities:
Create process on windows

Disassembly:
push ecx
mov ax, word [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x1c]
cmp ax, 0x8045
mov dword [edi], 0
mov ecx, dword [0x547570]
mov dword [esp + 0x1c], ecx
jne 0x471e1b
mov eax, str.Connect
test eax, eax
je 0x471dea
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
jmp 0x471dec
xor esi, esi
cmp dword [ecx - 0xc], 1
jg 0x471df7
cmp esi, dword [ecx - 4]
jle 0x471e12
lea ecx, [esp + 0x1c]
call fcn.004124c0
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x471e7c
mov ecx, dword [esp + 0x1c]
inc esi
push esi
push str.Connect
jmp 0x471e68
cmp ax, 0x8046
jne 0x471e80
mov edx, str.Disconnect
test edx, edx
je 0x471e39
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
jmp 0x471e3b
xor esi, esi
cmp dword [ecx - 0xc], 1
jg 0x471e46
cmp esi, dword [ecx - 4]
jle 0x471e61
lea ecx, [esp + 0x1c]
call fcn.004124c0
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x471e7c
mov ecx, dword [esp + 0x1c]
inc esi
push esi
push str.Disconnect
push ecx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x471eba
mov edx, dword [0x547574]
lea eax, [ecx - 0xc]
cmp eax, edx
je 0x471eb2
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x471eb2
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
push ecx
call fcn.00532222
add esp, 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 0x10
mov dword [edi], 1
mov edx, dword [0x547570]
mov eax, str.shell32.dll_SHHelpShortcuts_RunDLL
mov dword [esp + 8], edx
test eax, eax
je 0x471ee2
push str.shell32.dll_SHHelpShortcuts_RunDLL
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [ecx - 8]
push ecx
push str.shell32.dll_SHHelpShortcuts_RunDLL
push eax
lea ecx, [esp + 0x18]
call fcn.004059f0
mov ecx, dword [esp + 8]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x471f11
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x471f25
mov edx, dword [0x547570]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00405920
lea ecx, [esp + 8]
call fcn.00405700
mov eax, dword [esp + 0x14]
push 5
push 0
push eax
push str.rundll32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471f7a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471f7a
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471fa5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471fa5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
Function at 0x472cd0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x55bc04]
sub esp, 8
test eax, eax
push edi
mov edi, ecx
je 0x472da9
push ebx
push esi
lea eax, [esp + 0x10]
push 0xea60
push eax
call fcn.004bd990
mov esi, dword [eax]
lea ecx, [esp + 0x14]
push 0xb7
push ecx
call fcn.004bd990
mov eax, dword [eax]
add esp, 0x10
push 0x31
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [0x547574]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, 2
mov eax, dword [esp + 0xc]
sete bl
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x472d4d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x472d4d
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x472d78
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x472d78
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
pop esi
test bl, bl
pop ebx
je 0x472d9f
mov ecx, edi
call fcn.00465fa0
lea ecx, [edi + 0x1d0]
call fcn.00525d50
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
pop edi
add esp, 8
ret
xor eax, eax
pop edi
add esp, 8
ret
Function at 0x478ab0
Capabilities:
Delete file
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
mov ecx, dword [eax - 0xc]
push ebx
lea ebx, [eax - 0xc]
push ebp
mov ebp, dword [eax - 8]
push esi
cmp ecx, 1
push edi
lea esi, [ebp + 1]
jg 0x478ad1
cmp esi, dword [eax - 4]
jle 0x478b26
cmp esi, ebp
jge 0x478ad7
mov esi, ebp
test esi, esi
jne 0x478c1b
mov edi, dword [0x547570]
lea ecx, [ebp + ebp + 2]
lea esi, [ebx + 0xc]
mov edx, ecx
mov dword [esp + 0x38], edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
mov dword [eax - 8], ebp
mov eax, dword [0x547574]
cmp ebx, eax
je 0x478b22
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478b22
push ebx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x38]
mov ebx, eax
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jle 0x478b6d
lea ecx, [esp + 0x38]
call fcn.004124c0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405530
test eax, eax
je 0x478b69
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x38]
add esi, 0xc
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 8]
lea esi, [eax + ecx*2]
cmp eax, esi
jae 0x478b8f
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp word [eax], 0xa
jne 0x478b88
mov word [eax], 0
push eax
call edi
cmp eax, esi
jb 0x478b7d
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
mov edx, dword [esp + 0x34]
mov word [ebx + ebp*2], 0
push 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
lea edx, [esp + 0x10]
test ax, ax
setge cl
dec ecx
push edx
and ecx, 0xffffffc0
add ecx, 0x40
mov word [esp + 0x24], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [esp + 0x38]
mov edx, dword [0x547574]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x478c12
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478c12
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, 1
add esp, 0x20
ret
lea eax, [esi + esi + 0xe]
push eax
call fcn.00532695
add esp, 4
test eax, eax
je 0x478c47
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea edi, [eax + 0xc]
jmp 0x478ae5
mov eax, dword [esp + 0x38]
xor ebx, ebx
jmp 0x478b28
Function at 0x47f850
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x1c], eax
mov eax, dword [0x55b5b0]
xor edi, edi
cmp eax, edi
je 0x47f6c1
mov eax, dword [0x55b5b8]
xor esi, esi
cmp eax, edi
jle 0x47f6ac
mov eax, dword [0x55b5b0]
lea ecx, [eax + esi*4]
call fcn.00405700
mov ecx, dword [0x55b5b4]
lea ecx, [ecx + esi*4]
call fcn.00405700
mov eax, dword [0x55b5b8]
inc esi
cmp esi, eax
jl 0x47f687
mov edx, dword [0x55b5b0]
push edx
call fcn.005329d2
add esp, 4
mov dword [0x55b5b0], edi
mov eax, dword [0x55b5b4]
cmp eax, edi
je 0x47f6d9
push eax
call fcn.005329d2
add esp, 4
mov dword [0x55b5b4], edi
xor esi, esi
mov dword [0x55b5b8], edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
test eax, ecx
je 0x47f823
mov ecx, dword [0x547570]
push 1
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x47f720
mov edx, dword [esp + 0x10]
add esi, 0x41
mov word [edx], si
mov eax, dword [esp + 0x10]
lea esi, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x47f765
lea ecx, [esp + 0x10]
call fcn.004124c0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x47f765
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [esp + 0x10]
push ecx
mov ebx, esp
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x47f790
mov dword [ebx], eax
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x47f7dd
mov eax, dword [0x547570]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, eax
jne 0x47f7a5
xor ebp, ebp
jmp 0x47f7ae
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00405660
test eax, eax
je 0x47f7dd
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [edx + eax], 0
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
push eax
call fcn.00405440
mov ecx, 0x55b5b0
call fcn.00456ab0
mov eax, dword [esp + 0x10]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47f823
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47f823
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
shl edx, 1
inc esi
mov dword [esp + 0x14], edx
cmp esi, 0x1a
mov dword [esp + 0x18], esi
jl 0x47f6ed
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
jmp 0x47f660
Function at 0x480c10
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [0x54b354], 1
call edi
mov si, ax
and esi, 0x3ff
call edi
shr ax, 0xa
cmp si, 7
jne 0x480c46
pop edi
mov dword [0x54b354], 0
pop esi
ret
cmp si, 9
jne 0x480c59
pop edi
mov dword [0x54b354], 1
pop esi
ret
cmp si, 0xc
jne 0x480c6c
pop edi
mov dword [0x54b354], 2
pop esi
ret
cmp si, 0x10
jne 0x480c7f
pop edi
mov dword [0x54b354], 3
pop esi
ret
cmp si, 0xa
jne 0x480ca6
cmp ax, 0xb
mov dword [0x54b354], 4
jne 0x480e46
pop edi
mov dword [0x54b354], 0xe
pop esi
ret
cmp si, 4
jne 0x480ccd
cmp ax, 1
mov dword [0x54b354], 9
jne 0x480e46
pop edi
mov dword [0x54b354], 5
pop esi
ret
cmp si, 0x11
jne 0x480ce0
pop edi
mov dword [0x54b354], 6
pop esi
ret
cmp si, 0x12
jne 0x480cf3
pop edi
mov dword [0x54b354], 7
pop esi
ret
cmp si, 0x15
jne 0x480d06
pop edi
mov dword [0x54b354], 8
pop esi
ret
cmp si, 0x19
jne 0x480d19
pop edi
mov dword [0x54b354], 0xa
pop esi
ret
cmp si, 0x13
jne 0x480d2c
pop edi
mov dword [0x54b354], 0xb
pop esi
ret
cmp si, 0x1f
jne 0x480d3f
pop edi
mov dword [0x54b354], 0xc
pop esi
ret
cmp si, 8
jne 0x480d52
pop edi
mov dword [0x54b354], 0xd
pop esi
ret
cmp si, 0x1b
jne 0x480d65
pop edi
mov dword [0x54b354], 0xf
pop esi
ret
cmp si, 5
jne 0x480d78
pop edi
mov dword [0x54b354], 0x10
pop esi
ret
cmp si, 6
jne 0x480d8b
pop edi
mov dword [0x54b354], 0x11
pop esi
ret
cmp si, 0x16
jne 0x480d9e
pop edi
mov dword [0x54b354], 0x12
pop esi
ret
cmp si, 0x18
jne 0x480db1
pop edi
mov dword [0x54b354], 0x13
pop esi
ret
cmp si, 0x1a
jne 0x480dc4
pop edi
mov dword [0x54b354], 0x17
pop esi
ret
cmp si, 0x24
jne 0x480dd7
pop edi
mov dword [0x54b354], 0x18
pop esi
ret
cmp si, 0xb
jne 0x480dea
pop edi
mov dword [0x54b354], 0x15
pop esi
ret
cmp si, 1
jne 0x480dfd
pop edi
mov dword [0x54b354], 0x19
pop esi
ret
cmp si, 0xe
jne 0x480e10
pop edi
mov dword [0x54b354], 0x16
pop esi
ret
cmp si, 0x22
jne 0x480e23
pop edi
mov dword [0x54b354], 0x1a
pop esi
ret
cmp si, 0x25
jne 0x480e36
pop edi
mov dword [0x54b354], 0x1b
pop esi
ret
cmp si, 0x14
jne 0x480e46
mov dword [0x54b354], 0x1d
pop edi
pop esi
ret

Function at 0x4830f0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55baec]
test eax, eax
jne 0x48310c
mov eax, dword [ecx + 4]
mov ecx, 0x55bae8
push eax
call fcn.00444e30
mov eax, dword [0x55baec]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48313e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0x40
push 1
push 1
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x55baec]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc