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

Disassembly:
mov eax, dword [0x55a0c4]
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
cmp eax, ebx
push edi
je 0x46495b
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
mov edx, dword [0x546564]
jge 0x4648dc
lea esi, [eax - 0xc]
cmp esi, edx
jne 0x4648e6
mov edi, dword [ebx - 0xc]
lea esi, [ebx - 0xc]
test edi, edi
jge 0x46492b
mov ebp, dword [ebx - 8]
mov ecx, 0x55a0c4
push ebp
call fcn.00405660
test eax, eax
je 0x46495b
mov edi, dword [0x55a0c4]
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 [0x55a0c4]
mov dword [ecx - 8], ebp
mov edx, dword [0x55a0c4]
mov word [eax + edx], 0
jmp 0x46495b
add eax, 0xfffffff4
cmp eax, edx
je 0x46494e
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46494e
mov eax, dword [0x55a0c4]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
push esi
mov dword [0x55a0c4], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x14]
mov dword [0x55a0d0], eax
xor eax, eax
push ecx
push 0x464650
mov dword [0x55a0c8], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x55a0c8], 1
jl 0x4649ba
mov eax, dword [0x546564]
mov esi, dword [0x55a0d4]
lea edx, [ebx - 0xc]
cmp edx, eax
je 0x4649b3
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4649b3
push ebx
call fcn.00531732
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [0x546564]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x4649de
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4649de
push ebx
call fcn.00531732
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x466b00
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.004689b0
mov ecx, dword [esi + 0x1f8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.004667e0
mov ecx, esi
call fcn.00466b70
lea ecx, [esi + 0x49c4]
call fcn.004da9f0
lea ecx, [esi + 0x507c]
call fcn.004da9f0
lea ecx, [esi + 0x5734]
call fcn.004da9f0
lea ecx, [esi + 0x5dec]
call fcn.004da9f0
mov eax, 1
pop esi
ret 0x10
Function at 0x466b70
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 [0x55ab80], edi
mov dword [0x54a324], edi
call fcn.00472c60
lea eax, [ebx + 0x64a4]
mov dword [0x54a324], 0
test eax, eax
je 0x466bac
lea eax, [ebx + 0x64a8]
jmp 0x466bae
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 0x466be2
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 [0x55ab78]
sub eax, edx
mov edx, dword [0x546560]
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 0x466c75
mov edx, dword [ecx - 4]
test edx, edx
jge 0x466cce
mov ebp, dword [ecx - 8]
test ebp, ebp
jle 0x466c82
jne 0x466d54
mov edi, dword [0x546560]
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 [0x546564]
cmp eax, ecx
je 0x466cca
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x466cca
mov edx, dword [esp + 0x14]
push edx
call fcn.00531732
add esp, 4
mov ecx, dword [esp + 0x10]
mov edi, 1
mov eax, dword [0x55ab40]
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 [0x55ab84], edi
call fcn.00486720
lea ecx, [esp + 0x18]
call fcn.0048c930
lea ecx, [esp + 0x18]
call fcn.00486750
mov eax, dword [esp + 0x10]
mov ecx, dword [0x546564]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x466d50
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x466d50
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
add esp, 0x1c
ret
lea ecx, [ebp + ebp + 0xe]
push ecx
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x466d84
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 0x466c8c
xor ecx, ecx
jmp 0x466cd3
Function at 0x468900
Capabilities:
Create thread

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

Disassembly:
sub esp, 0x210
push ebx
push esi
mov esi, dword [0x546560]
mov ebx, ecx
mov ecx, dword [0x55e300]
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 [0x546560]
lea eax, [esp + 0x14]
test eax, eax
mov dword [esp + 0xc], edx
je 0x46a418
lea ecx, [esp + 0x14]
shr ecx, 0x10
jne 0x46a3dc
xor edx, edx
lea eax, [esp + 0x14]
mov dx, ax
lea ecx, [esp + 0xc]
push edx
call fcn.00413c90
jmp 0x46a418
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x46a414
push esi
lea ecx, [esp + 0x10]
call fcn.00405530
test eax, eax
je 0x46a414
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 [0x55aba0], 2
jne 0x46a4d3
mov eax, dword [esp + 0xc]
push 5
push 0
mov dword [0x55aba0], 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 [0x546564]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, eax
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46a47f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x46a47f
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [0x546564]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x46a49e
add esi, 0xfffffff4
push esi
call edi
test eax, eax
jg 0x46a49e
push esi
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x220]
mov ecx, dword [0x546564]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46a4c5
lea esi, [eax - 0xc]
push esi
call edi
test eax, eax
jg 0x46a4c5
push esi
call fcn.00531732
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 [0x546564]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x46a527
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x46a527
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [0x546564]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x46a546
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x46a546
push esi
call fcn.00531732
add esp, 4
mov eax, dword [0x546564]
lea edx, [edi - 0xc]
cmp edx, eax
je 0x46a565
lea esi, [edi - 0xc]
push esi
call ebx
test eax, eax
jg 0x46a565
push esi
call fcn.00531732
add esp, 4
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x210
ret 4
Function at 0x46c300
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 0x46c342
mov ecx, dword [esi + 4]
push 5
push ecx
call edi
lea ecx, [esi + 0x1d0]
call fcn.00525280
mov dword [0x55ab14], 0
mov edx, dword [esi + 4]
push edx
call fcn.005186d0
add esp, 4
pop edi
pop esi
ret
push 1
push 0
push ecx
mov dword [0x55ab14], 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.005258f0
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.005255e0
pop edi
pop esi
ret
Function at 0x46fed0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [0x54a328]
sub esp, 8
cmp eax, 0xffffffff
jne 0x46ff7e
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 SHChangeNotifyDeregister
mov dword [0x54a328], 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 0x46ff6b
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push 0xf003f
push edi
push edi
push SHChangeNotifyDeregister
mov dword [0x54a328], 1
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46ff55
cmp esi, edi
je 0x46ff51
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 0x46ff6b
mov dword [0x54a328], edi
mov ebx, dword [0x54a328]
cmp esi, edi
je 0x46ff78
push esi
call ebp
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 8
ret
Function at 0x4714e0
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 [0x546560]
mov dword [esp + 0x1c], ecx
jne 0x47154b
mov eax, str.Connect
test eax, eax
je 0x47151a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
jmp 0x47151c
xor esi, esi
cmp dword [ecx - 0xc], 1
jg 0x471527
cmp esi, dword [ecx - 4]
jle 0x471542
lea ecx, [esp + 0x1c]
call fcn.00412670
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4715ac
mov ecx, dword [esp + 0x1c]
inc esi
push esi
push str.Connect
jmp 0x471598
cmp ax, 0x8046
jne 0x4715b0
mov edx, str.Disconnect
test edx, edx
je 0x471569
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x1c]
mov esi, eax
jmp 0x47156b
xor esi, esi
cmp dword [ecx - 0xc], 1
jg 0x471576
cmp esi, dword [ecx - 4]
jle 0x471591
lea ecx, [esp + 0x1c]
call fcn.00412670
push esi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4715ac
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 0x4715ea
mov edx, dword [0x546564]
lea eax, [ecx - 0xc]
cmp eax, edx
je 0x4715e2
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4715e2
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
push ecx
call fcn.00531732
add esp, 4
pop edi
xor eax, eax
pop esi
pop ecx
ret 0x10
mov dword [edi], 1
mov edx, dword [0x546560]
mov eax, str.shell32.dll_SHHelpShortcuts_RunDLL
mov dword [esp + 8], edx
test eax, eax
je 0x471612
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 0x471641
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x471655
mov edx, dword [0x546560]
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 [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4716aa
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716aa
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4716d5
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716d5
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
Function at 0x472400
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x55ab64]
sub esp, 8
test eax, eax
push edi
mov edi, ecx
je 0x4724d9
push ebx
push esi
lea eax, [esp + 0x10]
push 0xea60
push eax
call fcn.004bc8d0
mov esi, dword [eax]
lea ecx, [esp + 0x14]
push 0xb7
push ecx
call fcn.004bc8d0
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 [0x546564]
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 0x47247d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x47247d
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4724a8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4724a8
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
pop esi
test bl, bl
pop ebx
je 0x4724cf
mov ecx, edi
call fcn.004656d0
lea ecx, [edi + 0x1d0]
call fcn.00525280
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 0x4781e0
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 0x478201
cmp esi, dword [eax - 4]
jle 0x478256
cmp esi, ebp
jge 0x478207
mov esi, ebp
test esi, esi
jne 0x47834b
mov edi, dword [0x546560]
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 [0x546564]
cmp ebx, eax
je 0x478252
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478252
push ebx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x38]
mov ebx, eax
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
jle 0x47829d
lea ecx, [esp + 0x38]
call fcn.00412670
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405530
test eax, eax
je 0x478299
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 0x4782bf
mov edi, dword [sym.imp.USER32.dll_CharNextW]
cmp word [eax], 0xa
jne 0x4782b8
mov word [eax], 0
push eax
call edi
cmp eax, esi
jb 0x4782ad
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 [0x546564]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x478342
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x478342
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, 1
add esp, 0x20
ret
lea eax, [esi + esi + 0xe]
push eax
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x478377
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 0x478215
mov eax, dword [esp + 0x38]
xor ebx, ebx
jmp 0x478258
Function at 0x47ef80
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 [0x55a510]
xor edi, edi
cmp eax, edi
je 0x47edf1
mov eax, dword [0x55a518]
xor esi, esi
cmp eax, edi
jle 0x47eddc
mov eax, dword [0x55a510]
lea ecx, [eax + esi*4]
call fcn.00405700
mov ecx, dword [0x55a514]
lea ecx, [ecx + esi*4]
call fcn.00405700
mov eax, dword [0x55a518]
inc esi
cmp esi, eax
jl 0x47edb7
mov edx, dword [0x55a510]
push edx
call fcn.00531ee2
add esp, 4
mov dword [0x55a510], edi
mov eax, dword [0x55a514]
cmp eax, edi
je 0x47ee09
push eax
call fcn.00531ee2
add esp, 4
mov dword [0x55a514], edi
xor esi, esi
mov dword [0x55a518], 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 0x47ef53
mov ecx, dword [0x546560]
push 1
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x47ee50
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 0x47ee95
lea ecx, [esp + 0x10]
call fcn.00412670
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x47ee95
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 0x47eec0
mov dword [ebx], eax
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x47ef0d
mov eax, dword [0x546560]
mov dword [ebx], eax
mov eax, dword [esp + 0x14]
test eax, eax
mov esi, eax
jne 0x47eed5
xor ebp, ebp
jmp 0x47eede
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00405660
test eax, eax
je 0x47ef0d
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, 0x55a510
call fcn.00456680
mov eax, dword [esp + 0x10]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47ef53
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47ef53
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00531732
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 0x47ee1d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
jmp 0x47ed90
Function at 0x480340
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [0x54a30c], 1
call edi
mov si, ax
and esi, 0x3ff
call edi
shr ax, 0xa
cmp si, 7
jne 0x480376
pop edi
mov dword [0x54a30c], 0
pop esi
ret
cmp si, 9
jne 0x480389
pop edi
mov dword [0x54a30c], 1
pop esi
ret
cmp si, 0xc
jne 0x48039c
pop edi
mov dword [0x54a30c], 2
pop esi
ret
cmp si, 0x10
jne 0x4803af
pop edi
mov dword [0x54a30c], 3
pop esi
ret
cmp si, 0xa
jne 0x4803d6
cmp ax, 0xb
mov dword [0x54a30c], 4
jne 0x480576
pop edi
mov dword [0x54a30c], 0xe
pop esi
ret
cmp si, 4
jne 0x4803fd
cmp ax, 1
mov dword [0x54a30c], 9
jne 0x480576
pop edi
mov dword [0x54a30c], 5
pop esi
ret
cmp si, 0x11
jne 0x480410
pop edi
mov dword [0x54a30c], 6
pop esi
ret
cmp si, 0x12
jne 0x480423
pop edi
mov dword [0x54a30c], 7
pop esi
ret
cmp si, 0x15
jne 0x480436
pop edi
mov dword [0x54a30c], 8
pop esi
ret
cmp si, 0x19
jne 0x480449
pop edi
mov dword [0x54a30c], 0xa
pop esi
ret
cmp si, 0x13
jne 0x48045c
pop edi
mov dword [0x54a30c], 0xb
pop esi
ret
cmp si, 0x1f
jne 0x48046f
pop edi
mov dword [0x54a30c], 0xc
pop esi
ret
cmp si, 8
jne 0x480482
pop edi
mov dword [0x54a30c], 0xd
pop esi
ret
cmp si, 0x1b
jne 0x480495
pop edi
mov dword [0x54a30c], 0xf
pop esi
ret
cmp si, 5
jne 0x4804a8
pop edi
mov dword [0x54a30c], 0x10
pop esi
ret
cmp si, 6
jne 0x4804bb
pop edi
mov dword [0x54a30c], 0x11
pop esi
ret
cmp si, 0x16
jne 0x4804ce
pop edi
mov dword [0x54a30c], 0x12
pop esi
ret
cmp si, 0x18
jne 0x4804e1
pop edi
mov dword [0x54a30c], 0x13
pop esi
ret
cmp si, 0x1a
jne 0x4804f4
pop edi
mov dword [0x54a30c], 0x17
pop esi
ret
cmp si, 0x24
jne 0x480507
pop edi
mov dword [0x54a30c], 0x18
pop esi
ret
cmp si, 0xb
jne 0x48051a
pop edi
mov dword [0x54a30c], 0x15
pop esi
ret
cmp si, 1
jne 0x48052d
pop edi
mov dword [0x54a30c], 0x19
pop esi
ret
cmp si, 0xe
jne 0x480540
pop edi
mov dword [0x54a30c], 0x16
pop esi
ret
cmp si, 0x22
jne 0x480553
pop edi
mov dword [0x54a30c], 0x1a
pop esi
ret
cmp si, 0x25
jne 0x480566
pop edi
mov dword [0x54a30c], 0x1b
pop esi
ret
cmp si, 0x14
jne 0x480576
mov dword [0x54a30c], 0x1d
pop edi
pop esi
ret

Function at 0x482820
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x55aa4c]
test eax, eax
jne 0x48283c
mov eax, dword [ecx + 4]
mov ecx, 0x55aa48
push eax
call fcn.00444d00
mov eax, dword [0x55aa4c]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x48286e
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 [0x55aa4c]
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