joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411748
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
xor esi, esi
push esi
call fcn.00410e18
cmp dword [ebp + 8], esi
jne 0x411766
xor eax, eax
jmp 0x411784
push ebx
push esi
push esi
push 3
push esi
push esi
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
jne 0x411789
xor eax, eax
pop ebx
pop esi
leave
ret 8
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 8], esi
jle 0x4117a4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x411783
push edi
push dword [ebp - 0xc]
call fcn.0044b367
mov edi, eax
pop ecx
cmp edi, esi
je 0x4117df
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0xc]
mov dword [ebp + 8], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [ebp - 0xc]
push edi
call fcn.00411695
push edi
mov esi, eax
call fcn.00449e4b
pop ecx
pop edi
jmp 0x411799

Function at 0x415e37
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x480200]
mov dword [ebp - 0xc], eax
mov eax, dword [0x480204]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x415e74
xor eax, eax
xor edx, edx
jmp 0x415ea0
push 8
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x415e6e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00449c3a
leave
ret 4

Function at 0x4164f4
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1fa4]
mov eax, 0x2024
call fcn.0044b510
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x1fa0], eax
push esi
mov esi, dword [ebp + 0x1fac]
test esi, esi
jne 0x416522
xor eax, eax
jmp 0x416576
push 0x1e
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.00449bc0
push 0x2000
lea eax, [ebp - 0x60]
push 0
push eax
mov dword [ebp - 0x7c], 3
call fcn.00449bc0
push 0x1000
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.0044d4eb
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, 0x614
mov word [ebp - 0x70], ax
add esp, 0x24
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x1fa0]
xor ecx, ebp
pop esi
call fcn.00449c3a
add ebp, 0x1fa4
leave
ret
Function at 0x416cda
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov eax, dword [eax - 8]
test eax, eax
jne 0x416cfe
xor eax, eax
jmp 0x416d6c
cmp eax, 0x104
jg 0x416cfa
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x2710
push 0x4802c0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [ebp - 0x414], 0
je 0x416cfa
lea eax, [ebp - 0x414]
push 0x4802bc
push eax
call fcn.0044d6ee
pop ecx
pop ecx
test eax, eax
je 0x416cfa
push eax
call fcn.0044d5ac
pop ecx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00449c3a
leave
ret 4

Function at 0x418413
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00417d2d
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x418497
cmp word [ebp - 0x804], 0
push esi
lea esi, [ebp - 0x804]
je 0x418493
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x418482
push esi
mov ecx, edi
call fcn.004182e1
push esi
call fcn.0044aa75
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
pop ecx
jne 0x41846e
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00449c3a
leave
ret 4
Function at 0x4184a6
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x2c
mov eax, 0x47a0d3
call fcn.0044b17d
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, dword [eax - 8]
test edx, edx
jne 0x4184cb
xor eax, eax
call fcn.0044b200
ret 4
cmp edx, 0x80
jg 0x4184c1
movzx ebx, word [eax + 2]
movzx ecx, bx
cmp cx, 0x3a
jne 0x4184ea
movzx ecx, word [eax + 4]
cmp cx, 0x5c
jne 0x4184c1
and dword [ebp - 0x14], 0
test edx, edx
jle 0x418537
mov esi, eax
movzx ecx, word [esi]
cmp cx, 0x3a
jne 0x418503
cmp dword [ebp - 0x14], 1
jne 0x4184c1
cmp cx, 0x2a
je 0x4184c1
cmp cx, 0x3f
je 0x4184c1
cmp cx, 0x22
je 0x4184c1
cmp cx, 0x3c
je 0x4184c1
cmp cx, 0x3e
je 0x4184c1
cmp cx, 0x7c
je 0x4184c1
cmp cx, 0x2f
je 0x4184c1
inc dword [ebp - 0x14]
inc esi
inc esi
cmp dword [ebp - 0x14], edx
jl 0x4184f4
cmp edx, 4
jge 0x41854e
cmp edx, 1
jle 0x4184c1
movzx ecx, bx
cmp cx, 0x3a
jne 0x4184c1
cmp edx, 2
jl 0x418560
movzx ecx, bx
cmp cx, 0x3a
jne 0x4184c1
cmp edx, 1
jle 0x418591
mov ecx, dword [0x480380]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x480384]
mov dword [ebp - 0x14], ecx
mov ax, word [eax]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4184c1
lea ecx, [ebp - 0x38]
call fcn.00417ba5
push dword [edi]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4185db
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push edi
call fcn.0040f623
lea ecx, [ebp - 0x38]
call fcn.00418368
cmp eax, esi
je 0x4185e8
cmp eax, 0x50
je 0x4185db
cmp eax, 0xb7
je 0x4185db
lea ecx, [ebp - 0x38]
call fcn.0041813c
jmp 0x4184c1
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00416cda
test eax, eax
je 0x4185ce
mov eax, dword [0x49c290]
mov ecx, dword [edi]
shl eax, 0x14
cdq
push edx
push eax
push ecx
call fcn.0043bfe9
add esp, 0xc
test eax, eax
jne 0x418611
lea ecx, [ebp - 0x38]
call fcn.0041813c
mov eax, esi
jmp 0x4184c3
xor esi, esi
inc esi
jmp 0x418602
Function at 0x418672
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 0x18
mov eax, 0x47a13b
call fcn.0044b114
mov eax, dword [0x49501c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
push dword [ebp + 0x41c]
and dword [ebp - 4], 0
call fcn.00415e37
mov esi, 0x200
push esi
lea ecx, [ebp - 0x10]
mov ebx, eax
mov edi, edx
call fcn.00416f4b
mov ecx, dword [ebp - 0x1c]
push esi
push eax
push edi
push ebx
call fcn.00415eae
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040e5e6
mov eax, dword [0x49c290]
shl eax, 0x14
cdq
xor esi, esi
mov dword [ebp - 0x24], esi
cmp edi, edx
ja 0x4186f7
jb 0x4186f0
cmp ebx, eax
ja 0x4186f7
mov dword [ebp - 0x24], 1
xor eax, eax
push 0x206
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push esi
push eax
call fcn.00449bc0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp + 0x208], 0x61
movzx eax, word [ebp + 0x208]
jb 0x41874e
cmp word [ebp + 0x208], 0x7a
ja 0x41874e
mov eax, dword [ebp + 0x208]
add eax, 0xffffffe0
movzx eax, ax
mov edi, dword [ebp + 0x424]
lea ecx, [edi - 0x61]
cmp cx, 0x19
ja 0x418763
add edi, 0xffe0
cmp di, ax
jne 0x41876b
xor esi, esi
inc esi
mov eax, dword [0x49501c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
push 0x208
xor ebx, ebx
lea eax, [ebp]
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.00449bc0
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4187dd
push str.360360safe
lea ecx, [ebp - 0x18]
call fcn.0041077d
push dword [ebp - 0x18]
lea eax, [ebp]
push eax
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov word [ebp], di
call fcn.0040e910
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040bf88
jmp 0x4187f2
movzx eax, di
push eax
lea eax, [ebp - 0x14]
push 0x48038c
push eax
call fcn.00417af3
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00418616
push esi
push ecx
mov ebx, eax
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0040f623
mov ecx, dword [ebp - 0x1c]
push edi
push ebx
push dword [ebp - 0x24]
push dword [ebp + 0x420]
call fcn.00417b22
lea ecx, [ebp - 0x20]
call fcn.0040bf88
lea ecx, [ebp - 0x14]
call fcn.0040bf88
lea ecx, [ebp - 0x10]
call fcn.0040bf88
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x414
leave
ret 0xc
Function at 0x4194de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
push dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x419503
xor eax, eax
jmp 0x4195ac
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, edi
je 0x419556
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x419556
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
jne 0x41953d
push edi
jmp 0x419550
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
jne 0x41955a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4195ab
push ebx
push dword [ebp + 0xc]
push eax
call fcn.0044ce90
add esp, 0xc
push esi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp + 0x10]
xor ebx, ebx
call fcn.00410e02
push eax
push edi
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x419595
push edi
push dword [ebp + 0x10]
call fcn.00410af9
pop ecx
pop ecx
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x4195a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4195b2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x7e]
push eax
mov esi, ecx
call fcn.00449bc0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x80], 0x61
movzx eax, word [ebp - 0x80]
jb 0x419612
cmp word [ebp - 0x80], 0x7a
ja 0x419612
mov eax, dword [ebp - 0x80]
add eax, 0xffffffe0
movzx eax, ax
movzx eax, ax
push eax
push 0x48042c
push 0x400
add esi, 0x140
push esi
call fcn.004193d0
mov ecx, dword [ebp + 0x188]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.00449c3a
add ebp, 0x18c
leave
ret
Function at 0x41971b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xcc]
sub esp, 0x14c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0xc8], eax
mov eax, dword [ebp + 0xd4]
push ebx
push esi
push edi
mov esi, 0x11c
push esi
mov dword [ebp - 0x6c], eax
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
mov edi, ecx
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor esi, esi
cmp dword [ebp - 0x50], 5
jne 0x419775
cmp dword [ebp - 0x4c], 1
jne 0x419775
inc esi
xor eax, eax
cmp dword [edi + 0x944], ebx
sete al
lea eax, [eax + eax + 7]
mov dword [ebp - 0x58], eax
call fcn.0040bc02
fild dword [ebp - 0x58]
push ebx
push 3
push ebx
push ecx
fstp dword [esp]
push dword [eax + 8]
lea ecx, [ebp - 0x74]
call fcn.00418ee9
fld dword [0x480474]
fstp dword [ebp - 0x68]
fld dword [0x480470]
fstp dword [ebp - 0x64]
cmp dword [edi + 0x944], ebx
je 0x4197c5
fld dword [0x48046c]
fstp dword [ebp - 0x68]
cmp esi, ebx
je 0x4197d2
fld dword [0x480468]
fstp dword [ebp - 0x64]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x58], 0x91919191
call fcn.0041923d
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
mov dword [ebp - 0x60], ebx
call fcn.0043ba26
push 1
push dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
call fcn.0043b9f6
cmp eax, ebx
je 0x419807
mov dword [ebp - 0x5c], eax
mov ecx, edi
call fcn.004195b2
lea eax, [ebp - 0x58]
push eax
push 0x800
lea esi, [edi + 0x140]
push esi
mov dword [ebp - 0x58], ebx
call fcn.00419427
shr dword [ebp - 0x58], 1
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x58]
push esi
call fcn.004192d7
push dword [ebp - 0x60]
call fcn.0043b9a9
push dword [ebp - 0x7c]
call fcn.0043b7bc
push dword [ebp - 0x74]
call fcn.0043b979
mov ecx, dword [ebp + 0xc8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00449c3a
add ebp, 0xcc
leave
ret 4

Function at 0x419e41
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
mov dword [0x49bbf0], eax
call fcn.00419d13
push dword [esi + 4]
mov ecx, esi
call fcn.00418c3a
lea eax, [ebp - 0x10]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x940]
lea edi, [esi + 0x3c]
mov ecx, edi
call fcn.00415fdc
mov eax, dword [esi + 0x38]
sub eax, 0x31
push eax
mov eax, dword [esi + 0x34]
dec eax
dec eax
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x169
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xd3
push eax
mov ecx, edi
call fcn.00415e18
push 0
push dword [esi + 4]
mov ecx, edi
call fcn.00419cc3
push 0
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 8
Function at 0x41a034
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00449bc0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.360Safetray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp + 0x190]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.00449c3a
add ebp, 0x194
leave
ret

Function at 0x41a902
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x47a27d
call fcn.0044b114
push 5
pop ecx
push 0x1f4
xor ebx, ebx
lea eax, [ebp + 0x21c]
push ebx
mov esi, str._unknown_
lea edi, [ebp + 0x208]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00449bc0
add esp, 0xc
push dword [ebp + 0x41c]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x41a98e
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x41a98e
push 0x104
lea eax, [ebp + 0x208]
push eax
push dword [ebp - 0x10]
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
mov esi, 0x208
push esi
lea eax, [ebp]
push ebx
push eax
call fcn.00449bc0
mov eax, dword [0x49501c]
add esp, 0xc
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x208]
push eax
push str.360tray.exe
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41a9f6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
call fcn.0040bf88
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.00449c3a
add ebp, 0x414
leave
ret
push esi
lea eax, [ebp]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x41a9c2
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e910
lea eax, [ebp - 0x10]
push eax
call fcn.0041a85e
pop ecx
push edi
test eax, eax
je 0x41a9c3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x10]
call fcn.004102aa
pop ecx
pop ecx
test eax, eax
jne 0x41aa41
lea ecx, [ebp - 0x10]
call fcn.0040bf88
mov eax, ebx
jmp 0x41a9d3
xor ebx, ebx
inc ebx
jmp 0x41aa35
Function at 0x41b1cb
Capabilities:
Get disk information

Disassembly:
push 0x18
mov eax, 0x47a3a8
call fcn.0044b114
push 0x20a
mov dword [ebp - 0x10], 0x105
call fcn.00449a5a
jmp 0x41b21e
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x41b227
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x41b270
push esi
call fcn.0044a46e
mov eax, dword [ebp - 0x10]
add eax, eax
push eax
call fcn.00449a5a
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x41b1ea
jmp 0x41b27b
push esi
call fcn.0044aa75
pop ecx
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], esi
call fcn.0041aad2
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x49bc04
call fcn.0041b0fd
lea ecx, [ebp - 0x14]
call fcn.0040bf88
lea ecx, [ebp - 0x18]
call fcn.0040bf88
test esi, esi
je 0x41b27b
push esi
call fcn.0044a46e
pop ecx
call fcn.0044b1ec
ret

Function at 0x41b281
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x398]
sub esp, 0x418
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x394], eax
push edi
xor edi, edi
xor eax, eax
cmp dword [0x49bc00], edi
je 0x41b2af
inc eax
jmp 0x41b3c3
push esi
mov esi, 0x206
push esi
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push edi
push eax
call fcn.00449bc0
xor eax, eax
push esi
mov word [ebp + 0x18c], ax
lea eax, [ebp + 0x18e]
push edi
push eax
call fcn.00449bc0
add esp, 0x18
mov edi, 0x104
push edi
lea eax, [ebp + 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
jne 0x41b306
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41b3c2
lea eax, [ebp + 0x18c]
push ebx
push eax
call fcn.0044aa75
pop ecx
push 0x5c
pop ebx
jmp 0x41b39c
cmp word [ebp + 0x18e], bx
jne 0x41b3aa
cmp word [ebp + 0x190], 0x3f
jne 0x41b3aa
cmp word [ebp + 0x192], bx
jne 0x41b3aa
lea esi, [ebp + eax*2 + 0x18c]
cmp word [esi], bx
jne 0x41b3aa
xor eax, eax
mov word [esi], ax
push edi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, ebx
mov word [esi], cx
test eax, eax
je 0x41b3d9
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x18c]
push eax
call fcn.0041b1cb
pop ecx
pop ecx
push edi
lea eax, [ebp + 0x18c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x41b3e1
lea eax, [ebp + 0x18c]
push eax
call fcn.0044aa75
pop ecx
dec eax
cmp word [ebp + 0x18c], bx
je 0x41b31c
xor esi, esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [0x49bc00], 1
mov eax, esi
pop ebx
pop esi
mov ecx, dword [ebp + 0x394]
xor ecx, ebp
pop edi
call fcn.00449c3a
add ebp, 0x398
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41b3aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0x12
neg esi
sbb esi, esi
inc esi
jmp 0x41b3ac
Function at 0x41b3f3
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0044b510
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x41b41b
leave
ret
push edi
mov edi, dword [ebp - 4]
shr edi, 2
call fcn.0041b281
test eax, eax
je 0x41b451
push esi
xor esi, esi
test edi, edi
jbe 0x41b44e
mov eax, dword [ebp + esi*4 - 0x1004]
test eax, eax
je 0x41b449
push eax
call fcn.0041a902
pop ecx
cmp eax, 1
je 0x41b454
inc esi
cmp esi, edi
jb 0x41b432
xor eax, eax
pop esi
pop edi
leave
ret
xor eax, eax
inc eax
jmp 0x41b450

Function at 0x41bf6d
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x49a010]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
mov esi, dword [ebp + 0x1a4]
push edi
lea edi, [esi + 0x48]
push edi
push dword [edi + 0xc]
lea ecx, [ebp - 0x78]
call fcn.00413805
push edi
push dword [edi + 0x10]
jmp 0x41c013
lea ecx, [ebp - 0x78]
call fcn.004130d3
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push eax
call fcn.00449bc0
add esp, 0xc
lea ecx, [ebp - 0x78]
call fcn.004130d3
push dword [eax + 0x1c]
lea eax, [ebp - 0x70]
push dword [esi + 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41c007
lea ecx, [ebp - 0x78]
call fcn.004130d3
lea ecx, [ebp - 0x70]
push ecx
push dword [eax]
lea ecx, [esi + 0xd0]
call fcn.004129d7
lea ecx, [ebp - 0x78]
call fcn.00412ee1
push edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x80]
call fcn.00413805
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x78]
call fcn.00412f38
test al, al
je 0x41bfa5
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.00449c3a
add ebp, 0x19c
leave
ret 4