joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465e50
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x465e7a
push 0xd3
push 0x11cd
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x46cf20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x46cfc2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x46cf78
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x46cfc0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 1
jmp 0x46cf9a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jl 0x46cfc0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x46cfbe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x46cf8f
jmp 0x46cfe8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x30], eax
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x34]
push 0x3c56
push 0x1a11
call fcn.0046c7f1
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x46d07c
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x46d0ca
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x46d0ac
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x46d0c8
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x46d0c8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x46d0de
push 0x5ef1
push 0x65da
push 0
call fcn.00482704
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x46d3ec
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x46d417
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push 0x47de
push dword [ebp - 8]
push 1
call fcn.0046d4a6
add esp, 0xc
jmp 0x46d4a2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x46d457
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x46d455
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x46d4a2
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x46d485
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x46d4a2
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.00409fe1
mov dword [eax], 2
jmp 0x46d47a
mov esp, ebp
pop ebp
ret
Function at 0x46e3b6
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aff77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x46e59a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x1a0e
mov dword [ebp - 0x44], str.jtvlh_fbgnh_yqdccm_grcxaqala_ohbzgiss_qzqn_ycyxyyiwx_dyhtabmw
cmp dword [ebp - 0x2c], 0x1bb1
jle 0x46e45e
push 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and dword [ebp - 0x14], 0
jmp 0x46e41c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6adf
jge 0x46e45e
and dword [ebp - 0x18], 0
jmp 0x46e432
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4704
jge 0x46e45c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
shl eax, cl
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x46e42b
jmp 0x46e415
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x46e475
push 0
call dword [sym.imp.KERNEL32.dll_GlobalLock]
jmp 0x46e555
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0x5b90
mov dword [ebp - 0x40], str.jdhzfnfgx_ciyembs_okizhh_jfsjhus_zbf_hlfmzo_nhovon
cmp dword [ebp - 0x28], 0x5ed2
jle 0x46e503
and dword [ebp - 0x1c], 0
jmp 0x46e4a5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x701e
jge 0x46e503
and dword [ebp - 0x20], 0
jmp 0x46e4bb
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4334
jge 0x46e501
and dword [ebp - 0x24], 0
jmp 0x46e4d1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x25bf
jge 0x46e4ff
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
mov eax, edx
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x46e4ca
jmp 0x46e4b4
jmp 0x46e49e
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x46e515
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x5846
jge 0x46e52f
mov edx, dword [ebp - 0x40]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x46e54b
or dword [ebp - 4], 0xffffffff
jmp 0x46e555
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x17b7
jge 0x46e572
mov edx, dword [ebp - 0x44]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x46e58e
or dword [ebp - 4], 0xffffffff
jmp 0x46e598
jmp 0x46e5a2
push 0
call fcn.004700b1
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46e5b3
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x46e614
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x46e5ef
push 0xd3
push 0x11cd
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x46e612
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x46e612
push 0
push 0xcd5
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
jmp 0x46e62c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push 0x6a8a
push 0
push dword [ebp - 0x14]
call fcn.0046e876
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x470965
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x47099e
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push 0x26ac
push 0
push dword [ebp - 0x10]
push 0x36be
call fcn.004825db
add esp, 0x14
jmp 0x470a42
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x470a3a
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x4709fa
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xfffffff3
jg 0x470a38
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x470a18
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jg 0x470a36
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.00409fe1
cmp dword [eax], 0
je 0x470a34
jmp 0x470a36
jmp 0x470a0d
jmp 0x4709ef
jmp 0x470a42
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret
Function at 0x470c31
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4affd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x470c78
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
push 1
push 0x7c08
push dword [ebp - 0x28]
call fcn.00470dc4
add esp, 0xc
jmp 0x470db3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x470d68
mov dword [ebp - 0x24], 0x6372
mov dword [ebp - 0x30], str.nvtcsjswg_agxslq_zgcjn_bjet_apsp_zqtmbuthk_qppnrl_lji_rivwjnc_tnvnzvm_fjhsk_njacp
cmp dword [ebp - 0x24], 0x650d
jle 0x470d1a
and dword [ebp - 0x20], 0
jmp 0x470cbc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4820
jge 0x470d1a
and dword [ebp - 0x18], 0
jmp 0x470cd2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1af5
jge 0x470d18
and dword [ebp - 0x1c], 0
jmp 0x470ce8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x585f
jge 0x470d16
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
or edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x470ce1
jmp 0x470ccb
jmp 0x470cb5
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x624a
jge 0x470d40
mov edx, dword [ebp - 0x30]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x470d5c
or dword [ebp - 4], 0xffffffff
jmp 0x470d66
jmp 0x470db3
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x470d96
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x470db3
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.00409fe1
mov dword [eax], 0x24f84b81
jmp 0x470d8b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4751aa
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b00a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4751f1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 1
push 0x44bd
call fcn.00475300
add esp, 0xc
jmp 0x4752ef
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x4752e7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], 0xa7a
mov dword [ebp - 0x38], str.ydh_ipgd_kvfe
cmp dword [ebp - 0x20], 0xae7
jle 0x475296
and dword [ebp - 0x14], 0
jmp 0x475235
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x21c6
jge 0x475296
and dword [ebp - 0x18], 0
jmp 0x47524b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5201
jge 0x475294
and dword [ebp - 0x1c], 0
jmp 0x475261
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3ff0
jge 0x475292
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov ecx, 0xae33d8
call fcn.00409bc4
jmp 0x47525a
jmp 0x475244
jmp 0x47522e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xffffcb1a
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x90b
jge 0x4752bf
mov edx, dword [ebp - 0x38]
mov ecx, 0xae33d8
call fcn.0040c802
jmp 0x4752db
or dword [ebp - 4], 0xffffffff
jmp 0x4752e5
jmp 0x4752ef
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477c1d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x477cb7
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x477c9f
mov dword [ebp - 0xc], 0x1928
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x477c81
push 1
push 0x17c6
push 0x79e9
push 0x57fd
push 0x10c4
push 0x7019
push 0
push 0x42cc
push 0x378a
call fcn.004724f7
add esp, 0x24
mov byte [ebp - 2], 0
push 0
lea eax, [ebp - 2]
push eax
push 0xc22
push 0x6683
call fcn.0047a9f3
add esp, 0x10
jmp 0x477cb5
push 0xd3
push 0x11cd
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x477ccb
push 0
push 0x5b10
push 0x4754
call fcn.00475fa9
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x478356
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x47837e
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x6809
push 1
call fcn.004783c8
add esp, 0xc
jmp 0x4783c4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4783be
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x4783c4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esp, ebp
pop ebp
ret
Function at 0x480bad
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x480bcf
push 0x10bf
push 0x35cc
push 1
call fcn.00480c24
add esp, 0xc
jmp 0x480c20
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x480bed
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x480c20
push 0xf20
push 0x214b
push 0x340
push 0x1c8a
push 0xebb
push 0x1582
push 0x241c
push 0x1b9
push 0xaad
call dword [sym.imp.GDI32.dll_Arc]
mov esp, ebp
pop ebp
ret
Function at 0x4aaf4e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4b37e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0049d8fb
mov dword [ebp - 0x14], eax
cmp dword [0xae453c], esi
jne 0x4ab041
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4aafce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4ab121
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4ab121
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4ab121
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xae453c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xae4540], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xae4544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xae454c], eax
test eax, eax
je 0x4ab03e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xae4548], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4ab066
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4ab059
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4ab07b
push 4
pop eax
jmp 0x4ab123
cmp dword [ebp - 0x14], esi
je 0x4ab07b
push dword [0xae453c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4ab060
mov eax, dword [0xae4548]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4ab0d9
cmp dword [0xae454c], edi
je 0x4ab0d9
push eax
call ebx
push dword [0xae454c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4ab0d9
test eax, eax
je 0x4ab0d9
call ecx
test eax, eax
je 0x4ab0ce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4ab0ce
test byte [ebp - 8], 1
jne 0x4ab0d9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4ab109
mov eax, dword [0xae4540]
cmp eax, edi
je 0x4ab106
push eax
call ebx
test eax, eax
je 0x4ab106
call eax
mov esi, eax
test esi, esi
je 0x4ab106
mov eax, dword [0xae4544]
cmp eax, edi
je 0x4ab106
push eax
call ebx
test eax, eax
je 0x4ab106
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xae453c]
call ebx
test eax, eax
je 0x4ab121
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4ab123
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ad5b
mov esp, ebp
pop ebp
ret
Function at 0x402fc4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x469008], 0x8088405
inc edx
mov dword [ebx + 0x469008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x469024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403768
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403748
xor eax, eax
push ebp
push 0x403741
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403784
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403748
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x469024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x469024], ax
mov esp, ebp
pop ebp
ret

Function at 0x40457c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x61204c], 0
je 0x4045dd
cmp word [0x612220], 0xd7b2
jne 0x4045a5
cmp dword [0x612228], 0
jbe 0x4045a5
mov eax, 0x61221c
call dword [0x612238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404604
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x469030], 0
jne 0x4045f9
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4084c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408550
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408550
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408503
test edx, 3
jne 0x4084f2
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4084fd
jmp 0x408503
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408503
cmp dword [ecx - 8], 1
je 0x40850d
mov edx, ebx
or edx, 3
call fcn.00404e48
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40851f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046fc

Function at 0x40855c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x4085ec
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x4085ec
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x40859f
test edx, 3
jne 0x40858e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x408599
jmp 0x40859f
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x40859f
cmp dword [ecx - 8], 1
je 0x4085a9
mov edx, ebx
or edx, 3
call fcn.00404e48
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4085bb
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046fc

Function at 0x40ba20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047ec
jmp 0x40ba62
mov eax, ebx
mov edx, esi
call fcn.00404750
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ba6c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40ba8e
movzx eax, byte [esp]
jmp 0x40ba90
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret