joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421860
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a1bd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
cmp esi, ebx
je 0x42191d
cmp dword [ebp - 0x1c], 2
jne 0x42191d
push 0x17
push str._systemFavoritesService
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
call fcn.00402150
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x58]
mov edi, 1
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.0043e1b0
add esp, 8
mov esi, dword [esi + 4]
mov ebx, 3
mov edx, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], ebx
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4218f7
mov ecx, dword [eax + 0x14]
sub edx, edi
sar edx, 1
push edx
push esi
push ecx
push 0
mov ecx, eax
call fcn.0040eaf0
mov byte [ebp - 0x11], 1
test eax, eax
je 0x421921
mov byte [ebp - 0x11], 0
test bl, 2
je 0x42194f
and ebx, 0xfffffffd
cmp dword [ebp - 0x40], 8
jb 0x42193b
mov edx, dword [ebp - 0x54]
push edx
call fcn.00469789
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x42196d
cmp dword [ebp - 0x24], 0x10
jb 0x42196d
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.00469789
add esp, 4
cmp byte [ebp - 0x11], 0
je 0x421991
call fcn.0041cca0
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push fcn.0040edd0
call fcn.0046a44d
add esp, 4
push 0
push 0x100
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualLock]
push 0x48
push 0x4b85d0
call esi
push 0x48
push 0x4b8618
call esi
push 0x64
push 0x4b8800
call esi
push 0x64
push 0x4b86d0
call esi
push 0x105
push 0x4b4e48
call esi
push 0x618
mov dword [ebp - 4], 2
call fcn.00469ae4
mov ecx, eax
add esp, 4
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 3
test ecx, ecx
je 0x421a0b
push 0
call fcn.00426c70
jmp 0x421a0d
xor eax, eax
mov dword [0x4b89d4], eax
cmp dword [0x4b89d4], 0
jne 0x421a28
push str.INIT_SYS_ENC
call fcn.0042fd10
add esp, 4
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.004388d0
push esi
call fcn.004308f0
add esp, 0xc
mov dword [0x4dc368], 0x48f024
call fcn.00438d90
test eax, eax
je 0x421a91
cmp eax, 1
jne 0x421a79
push 0
call fcn.00433e20
add esp, 4
jmp 0x421a84
push eax
push 0
call fcn.0043c5a0
add esp, 8
push str.NODRIVER
call fcn.0042fd10
add esp, 4
push edi
push 0x41e0a0
push 0
push 0x65
push esi
call dword [sym.imp.USER32.dll_DialogBoxParamW]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4221b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a31b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0
call fcn.00422640
cmp dword [esi + 0x30], 0x10
jb 0x4221f7
mov eax, dword [esi + 0x1c]
push eax
call fcn.00469789
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x423970
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48a4c0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
call fcn.00422db0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.00409750
mov esi, eax
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.00409750
mov edi, dword [esp + 0x34]
mov esi, dword [esi]
mov eax, dword [eax]
mov ecx, dword [0x4b8d94]
mov edx, dword [ecx]
push edi
push esi
push eax
mov eax, dword [edx + 0x38]
push ecx
mov byte [esp + 0x34], 1
call eax
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
mov esi, eax
call edi
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x28], 0xffffffff
call edi
test esi, esi
je 0x423a28
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp + 0x14], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
push 0x4a991c
lea eax, [esp + 0x18]
push eax
call fcn.00469b49
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c

Function at 0x423b40
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp byte [esi], 0
je 0x423b87
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
movzx eax, byte [esi + 0x14]
push ecx
lea edx, [esi + 0x18]
push edx
push eax
push 0
call fcn.00423840
mov eax, dword [esp + 0x34]
add esp, 0x20
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
pop esi
add esp, 8
ret 8
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x423bc7
mov dword [esp + 4], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea edx, [esp + 8]
push edx
mov dword [esp + 0x10], eax
call fcn.00469b49
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 8
Function at 0x423e50
Capabilities:
Copy file

Disassembly:
sub esp, 8
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
jne 0x423ea5
call fcn.00436e90
test eax, eax
jne 0x423e8d
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [esp], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
push 0x4a991c
lea eax, [esp + 4]
push eax
call fcn.00469b49
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.004236a0
add esp, 8
add esp, 8
ret 8
mov ecx, dword [esp + 0x10]
push 0
call fcn.00401310
mov ecx, dword [esp + 0x10]
push eax
call fcn.00401310
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x423e9f
mov dword [esp], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 4], eax
push 0x4a991c
lea eax, [esp + 4]
push eax
call fcn.00469b49
int3

Function at 0x423ef0
Capabilities:
Delete file

Disassembly:
sub esp, 8
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
jne 0x423f18
call fcn.00436e90
test eax, eax
je 0x423f18
mov eax, dword [esp + 0xc]
push eax
call fcn.00423790
add esp, 4
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
call fcn.00401310
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x423f12
mov dword [esp], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0xc], eax
call fcn.00469b49
int3

Function at 0x4244d0
Capabilities:
Delete file

Disassembly:
cmp dword [esi + 0x18], 0x10
push edi
lea edi, [esi + 4]
jb 0x4244de
mov eax, dword [edi]
jmp 0x4244e0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esi + 0x18], 0x10
jb 0x4244f8
mov eax, dword [edi]
push eax
call fcn.00469789
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [edi], 0
pop edi
ret

Function at 0x425100
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
push 0x104
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x425159
mov dword [esp + 4], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x10], eax
call fcn.00469b49
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425172
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00402150
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
ret 4
Function at 0x4251b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x10c], eax
push esi
mov esi, dword [esp + 0x118]
lea eax, [esp + 0xc]
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x425238
cmp eax, 0x104
ja 0x425238
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425208
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00402150
mov ecx, dword [esp + 0x110]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
ret 4
push 0x4a9954
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], vtable.TrueCrypt::ParameterIncorrect.0
mov dword [esp + 0x10], str.TrueCrypt::BootEncryption::GetTempPathA:715
call fcn.00469b49
int3

Function at 0x425260
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48a761
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push esi
push edi
mov eax, dword [0x4b38b4]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov edi, dword [esp + 0x184]
xor ebx, ebx
lea eax, [esp + 0x6c]
push eax
push ebx
push ebx
push 0x8023
push ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x4252df
mov dword [esp + 0x10], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], eax
call fcn.00469b49
lea eax, [esp + 0x6c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4252f6
sub eax, edx
push eax
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x20]
call fcn.00402150
push 0x490e40
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x188], ebx
call fcn.00413670
add esp, 0xc
mov esi, 0x10
mov byte [esp + 0x17c], 2
cmp dword [esp + 0x30], esi
jb 0x42534c
mov edx, dword [esp + 0x1c]
push edx
call fcn.00469789
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x68], esi
jae 0x42536a
lea eax, [esp + 0x54]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5c
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00413020
push str.Original_System_Loader
push eax
push edi
mov byte [esp + 0x194], 3
call fcn.00413670
add esp, 0x18
cmp dword [esp + 0x4c], esi
jb 0x4253ad
mov edx, dword [esp + 0x38]
push edx
call fcn.00469789
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x68], esi
jb 0x4253d0
mov eax, dword [esp + 0x54]
push eax
call fcn.00469789
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.00469f7b
add esp, 0x170
ret 4
Function at 0x427500
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x61c]
sub esp, 0x61c
push 0xffffffffffffffff
push 0x48ac18
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4b38b4]
xor eax, ebp
mov dword [ebp + 0x618], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x624]
mov edi, dword [ebp + 0x628]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ebx
cmp byte [esi], bl
je 0x4275a9
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [esi + 8]
push edi
push edx
push ecx
push eax
movzx eax, byte [esi + 0x14]
lea edx, [esi + 0x18]
push edx
push eax
push 1
call fcn.00423840
mov eax, dword [ebp - 0x14]
add esp, 0x20
add dword [esi + 8], eax
adc dword [esi + 0xc], ebx
cmp eax, edi
je 0x42765a
mov dword [ebp - 0x24], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x20], eax
call fcn.00469b49
push ebx
lea edx, [ebp - 0x14]
push edx
push edi
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4275c7
cmp dword [ebp - 0x14], edi
je 0x42765a
mov dword [ebp - 0x2c], vtable.TrueCrypt::SystemException.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4a991c
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x28], eax
call fcn.00469b49
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0x14], 0
je 0x427681
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x13
jne 0x427681
push 0
lea ecx, [ebp]
call fcn.00426c70
mov ebx, dword [ebp + 0x628]
mov byte [ebp - 4], 2
cmp ebx, 0x200
jb 0x427648
mov edi, dword [ebp - 0x18]
shr ebx, 9
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edi
push eax
push ecx
lea ecx, [ebp]
call fcn.00423f50
add dword [esi + 8], 0x200
adc dword [esi + 0xc], 0
add edi, 0x200
sub ebx, 1
jne 0x427621
lea ecx, [ebp]
mov byte [ebp - 4], 1
call fcn.004267d0
mov eax, 0x42765a
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.00469f7b
add ebp, 0x61c
mov esp, ebp
pop ebp
ret 8
push 0
push 0
call fcn.00469b49
int3
Function at 0x42a690
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x42a6c0
push eax
call fcn.00433e20
add esp, 4
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 4]
dec eax
cmp eax, 1
mov dword [esp + 4], eax
jge 0x42a6dc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
add esp, 0x10
ret
lea ecx, [eax*4]
push ecx
call fcn.0046af23
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [edx], eax
test eax, eax
jne 0x42a703
push str.OUTOFMEMORY
call fcn.0042fd10
add esp, 4
cmp dword [esp + 4], 0
mov dword [esp + 8], 0
jle 0x42a7bc
push ebx
mov eax, 0xfffffffc
push ebp
sub eax, esi
push edi
lea ebx, [esi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42a730
sub eax, edx
sar eax, 1
mov ebp, eax
lea edi, [ebp + 1]
push edi
call fcn.0046af23
mov esi, eax
add esp, 4
test esi, esi
jne 0x42a760
push str.OUTOFMEMORY
call fcn.0042fd10
add esp, 4
test ebp, ebp
jbe 0x42a78d
mov eax, dword [ebx]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x42a790
push eax
call fcn.00433e20
add esp, 4
call fcn.0042fd50
jmp 0x42a790
mov byte [esi], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
add ecx, ebx
mov dword [ecx + eax], esi
mov eax, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
jl 0x42a727
mov esi, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 4]
pop esi
add esp, 0x10
ret
Function at 0x42ac80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x110
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x10c], eax
push edi
mov edi, dword [esp + 0x118]
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x18], 0
call fcn.0046a470
add esp, 0xc
cmp dword [esp + 0x11c], 0
push 0x104
jne 0x42ad04
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0x14b
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0xc]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ad17
sub eax, edx
je 0x42adb5
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push esi
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push 0x158
push edi
call ebx
push 0
mov esi, eax
call fcn.0046c84f
add esp, 4
mov dword [esp + 0x14], edx
cmp esi, 0xffffffff
jne 0x42ad90
lea edx, [esp + 0x18]
push edx
push 0
push 0x143
push edi
mov ebp, eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x42ad9a
push ebp
push esi
push 0x151
push edi
call ebx
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
ret
push eax
push esi
push 0x151
push edi
call ebx
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
ret
push 0
push 0
push 0x147
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x110]
pop edi
xor ecx, esp
call fcn.00469f7b
add esp, 0x110
ret
Function at 0x42af90
Capabilities:
Delete file

Disassembly:
sub esp, 0x364
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x360], eax
cmp dword [esp + 0x36c], 0
push edi
mov edi, dword [esp + 0x36c]
je 0x42afe0
push str.History.xml
call fcn.004375f0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov ecx, dword [esp + 0x360]
xor ecx, esp
call fcn.00469f7b
add esp, 0x364
ret
push esi
push 0x48f098
push str.History.xml
call fcn.004375f0
add esp, 4
push eax
call fcn.0046a281
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
test esi, esi
je 0x42b0fe
push esi
call fcn.00458b10
push esi
push str._n_t_history_
call fcn.0046b432
add esp, 0xc
xor esi, esi
push esi
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0042ade0
mov dword [esp + esi*4 + 0x18], eax
inc esi
add esp, 0xc
cmp esi, 0x14
jl 0x42b020
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
xor ebp, ebp
push 0x103
lea ecx, [esp + 0x69]
push 0
push ecx
mov byte [esp + 0x70], 0
call fcn.0046a470
mov esi, dword [esp + ebp*4 + 0x20]
add esp, 0xc
push 0
push esi
push 0x149
push edi
call ebx
cmp eax, 0x104
jae 0x42b080
lea edx, [esp + 0x64]
push edx
push esi
push 0x148
push edi
call ebx
cmp byte [esp + 0x64], 0
je 0x42b0d4
push 0x207
lea eax, [esp + 0x16d]
push 0
push eax
mov byte [esp + 0x174], 0
call fcn.0046a470
push 0x208
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00458a40
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x180]
push eax
push str._n_t_t_volume__s__volume_
push ecx
call fcn.0046b316
add esp, 0x24
inc ebp
cmp ebp, 0x14
jl 0x42b043
mov esi, dword [esp + 0x10]
push esi
push str._n_t__history_
call fcn.0046b432
push esi
call fcn.00458b50
push esi
call fcn.0046a001
add esp, 0x10
pop ebp
pop ebx
mov ecx, dword [esp + 0x368]
pop esi
pop edi
xor ecx, esp
call fcn.00469f7b
add esp, 0x364
ret

Function at 0x42b170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
or eax, 0xffffffff
test ecx, ecx
je 0x42b19c
mov edx, dword [esp + 4]
push esi
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4b09c8]
dec ecx
inc edx
test ecx, ecx
jne 0x42b180
pop esi
not eax
ret

Function at 0x42b210
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
jmp 0x42b220
movzx edx, byte [ecx + 0x4b09c8]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b09c8]
movzx edx, byte [ecx + 0x4b09c9]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b09c8]
movzx edx, byte [ecx + 0x4b09ca]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b09c8]
movzx edx, byte [ecx + 0x4b09cb]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x4b09c8]
add ecx, 4
cmp ecx, 0x400
jl 0x42b220
xor ecx, ecx
not eax
cmp eax, 0x6fcf9e13
sete cl
push esi
push edi
mov edx, 0x4b09c8
or eax, 0xffffffff
mov esi, ecx
mov ecx, 0x400
lea esp, [esp]
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4b09c8]
dec ecx
inc edx
test ecx, ecx
jne 0x42b2b0
not eax
xor edx, edx
cmp eax, 0x6fcf9e13
sete dl
pop edi
and edx, esi
mov eax, edx
pop esi
ret
Function at 0x42fd10
Capabilities:
Terminate process

Disassembly:
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, dword [0x4dc368]
mov ecx, dword [esp + 4]
push 0x50010
push eax
push ecx
call fcn.0044ab30
add esp, 4
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42ff80
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10c8
call fcn.0046a9e0
mov eax, dword [0x4b38b4]
xor eax, esp
mov dword [esp + 0x10c4], eax
mov eax, dword [esp + 0x10d0]
push ebx
mov ebx, dword [esp + 0x10d0]
push ebp
mov ebp, dword [esp + 0x10e0]
push esi
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
and esi, 0xc00000
push 0x824
lea ecx, [esp + 0x90]
neg esi
push ecx
sbb esi, esi
push edi
inc esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebp
lea edx, [esp + 0x90]
push edx
push edi
call fcn.0042feb0
mov dword [esp + 0x20], eax
push ebp
lea eax, [esp + 0x9c]
push eax
push edi
call fcn.0042ff20
add esp, 0x18
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x1c], ecx
test edx, edx
jl 0x43014f
cmp dword [esp + 0x10e4], 0
je 0x430046
cmp eax, edx
jle 0x43014f
sub ecx, dword [esp + 0x10]
sub eax, edx
lea edx, [esp + 0x30]
push edx
push ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x40]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
test esi, esi
je 0x430074
xor eax, eax
jmp 0x43007c
push 8
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [esp + 0x3c]
sub ebx, eax
sub ebx, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
sub ebx, dword [esp + 0x34]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x50]
push edx
push edi
mov dword [esp + 0x58], 0x3c
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov al, byte [esp + 0x74]
test al, 1
je 0x4300bd
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
sar eax, 1
jmp 0x4300c5
test al, 2
je 0x430114
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
jle 0x430114
test esi, esi
je 0x4300d5
xor edx, edx
jmp 0x4300e3
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
sub ebp, dword [esp + 0x18]
push 1
push ecx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x3c]
push ebp
sub ecx, ebx
push ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
sub ecx, dword [esp + 0x40]
add ecx, eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x430131
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
sub ebp, dword [esp + 0x18]
push 6
push eax
push ebp
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 1
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x10d4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00469f7b
add esp, 0x10c8
ret