joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4132a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba7d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4132f8
mov eax, dword [eax]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x1c]
call fcn.00413a60
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x413334
mov eax, dword [ebp + 0x10]
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x413320
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp + 0xc]
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x413350
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov eax, edi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
cmp byte [esi + 0x70], 0
je 0x4143ba
call fcn.0049a3d9
mov ecx, 0x20119
test al, al
jne 0x4143bf
mov ecx, 0x20019
cmp dword [esi + 0x28], 8
lea eax, [esi + 0x14]
jb 0x4143ca
mov eax, dword [eax]
push ecx
push eax
push dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00413a60
mov edi, dword [ebp - 0x1c]
test eax, eax
je 0x4143e2
xor bl, bl
jmp 0x414416
cmp dword [esi + 0x54], 0
jne 0x4143ec
mov bl, 1
jmp 0x414416
add esi, 0x44
mov dword [ebp - 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4143fe
mov esi, dword [esi]
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
setne bl
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x41442f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x1c], 0
mov al, bl
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bb48f
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], vtable.CProperties.0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00462160
mov dword [esi], eax
mov dword [ebp - 4], 2
mov byte [edi + 0xc], 0
mov dword [ebp - 4], 3
mov dword [edi], vtable.CLanguageManager.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [ebp - 4], 4
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 5
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [ebp - 4], 6
lea esi, [edi + 0x44]
mov dword [edi + 0x34], 0x409
mov dword [edi + 0x38], 0x409
mov dword [edi + 0x3c], 0
mov word [edi + 0x40], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00431500
mov dword [esi], eax
mov byte [ebp - 4], 9
mov dword [edi + 0x4c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x429000
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c14d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
sub esp, 0x30
mov esi, dword [ebp + 0xc]
mov eax, esp
mov dword [ebp - 0x50], esp
push eax
call dword [edx + 4]
mov dword [ebp - 4], 0
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x48], esp
lea eax, [ebp - 0x41]
mov dword [ebp - 0x4c], ecx
push 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov dword [ecx], 0x4e7908
mov dword [ecx + 0x28], 0x4e793c
call fcn.00404190
mov byte [ebp - 4], 2
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.00499a72
add esp, 0x34
lea eax, [ebp - 0x41]
mov ecx, esp
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x48], ecx
push 0
push eax
push str.Reboot
mov dword [ecx], 0x4e7908
mov dword [ecx + 0x28], 0x4e793c
call fcn.00404190
mov dword [ebp - 4], 4
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0x48], esp
mov ecx, edi
push eax
call fcn.004411e0
mov byte [ebp - 4], 5
push SysReAllocString
mov dword [ebp - 4], 0xffffffff
call fcn.00499a72
add esp, 0x64
mov dword [ebp - 0x40], 0x4e7908
lea eax, [ebp - 0x41]
mov dword [ebp - 0x18], 0x4e793c
lea ecx, [ebp - 0x40]
push 0
push eax
push 0x4e23a8
call fcn.00404190
mov dword [ebp - 4], 7
lea eax, [ebp - 0x40]
push esi
mov esi, dword [ebp + 8]
mov ecx, edi
push eax
push esi
push 2
call fcn.004250e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret 8
Function at 0x436200
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3cce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], vtable.std::exception.0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [ebp - 4], eax
sub esp, 8
lea ecx, [edi + 0x30]
mov dword [edi], vtable.com_exception.0
call fcn.00404910
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [edi + 0x60]
call fcn.00404910
mov byte [ebp - 4], 2
lea ecx, [edi + 0x34]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x30]
mov dword [edi + 0xc], eax
lea eax, [edx + 4]
neg edx
sbb edx, edx
and edx, eax
cmp ecx, edx
je 0x436286
push 0xffffffffffffffff
push 0
push edx
call fcn.00404530
lea edx, [ebx + 0x60]
lea eax, [edx + 4]
neg edx
lea ecx, [edi + 0x64]
sbb edx, edx
and edx, eax
cmp ecx, edx
je 0x4362a3
push 0xffffffffffffffff
push 0
push edx
call fcn.00404530
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x436710
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3dde
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi], vtable.std::exception.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
sub esp, 8
mov dword [esi], vtable.com_exception.0
lea ecx, [esi + 0x30]
mov eax, dword [0x4dd5a8]
mov dword [esi + 0x10], eax
mov eax, dword [0x4dd5ac]
mov dword [esi + 0x14], eax
mov eax, dword [0x4dd5b0]
mov dword [esi + 0x18], eax
mov eax, dword [0x4dd5b4]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4dd5a8]
mov dword [esi + 0x20], eax
mov eax, dword [0x4dd5ac]
mov dword [esi + 0x24], eax
mov eax, dword [0x4dd5b0]
mov dword [esi + 0x28], eax
mov eax, dword [0x4dd5b4]
mov dword [esi + 0x2c], eax
call fcn.00404910
mov byte [ebp - 4], 1
sub esp, 8
lea ecx, [esi + 0x60]
call fcn.00404910
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.004364c0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x437120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x437191
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43715f
cmp eax, 2
jne 0x43717b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43718b
test ecx, ecx
je 0x437186
test cl, 1
jne 0x43717b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43718b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x437980
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c41ea
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x254], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], esi
push eax
push 0x104
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x437a49
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x220], 0
call fcn.004a1386
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x5270e4
push eax
call fcn.004a315a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7908
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e793c
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a30
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7908
mov dword [esi + 0x28], 0x4e793c
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret
Function at 0x437af0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c429a
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 0x254], esi
mov dword [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x437bb4
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov dword [ebp - method.is::win32_exception.virtual_0], vtable.is::win32_exception.0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
mov byte [ebp - 0x220], 0
call fcn.004a1386
add esp, 4
mov dword [eax], 1
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0
lea eax, [ebp - 0x234]
push 0x5270e4
push eax
call fcn.004a315a
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7908
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e793c
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a30
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7908
mov dword [esi + 0x28], 0x4e793c
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret
Function at 0x437c50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c434a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x25c], esi
push 0
push eax
mov dword [ebp - 0x258], 0
call fcn.004a3000
add esp, 0xc
mov dword [ebp - 0x24c], 0
mov dword [ebp - 4], 1
mov eax, 0x20019
test edi, edi
jns 0x437cd2
mov eax, 0x20119
and edi, 0x7fffffff
lea ecx, [ebp - 0x24c]
push ecx
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x437d29
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0x208
push eax
lea eax, [ebp - 0x218]
cmp edi, 1
push eax
push 0
mov ecx, 0x4e9658
mov eax, str.CommonFilesDir
push 0
cmovne eax, ecx
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
lea eax, [ebp - 0x24d]
mov dword [ebp - 0x248], 0x4e7908
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e793c
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x248]
push 0x4e7a30
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7908
mov dword [esi + 0x28], 0x4e793c
call fcn.00406fd0
mov byte [ebp - 4], 4
mov dword [ebp - 0x258], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
je 0x437dc4
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x437dc4
push ecx
call eax
mov dword [ebp - 0x24c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret
Function at 0x439070
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4885
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x254], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x258], esi
push 0
push eax
mov dword [ebp - 0x250], 0
call fcn.004a3000
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x439132
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x439132
push 0
lea eax, [ebp - 0x249]
mov dword [esi], 0x4e7908
push eax
push 0x4e23a8
mov ecx, esi
mov dword [esi + 0x28], 0x4e793c
call fcn.00404190
mov dword [ebp - 4], 0
mov dword [ebp - 0x250], 1
jmp 0x4391af
push 0
lea eax, [ebp - 0x249]
mov dword [ebp - 0x248], 0x4e7908
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0x4e793c
push eax
lea ecx, [ebp - 0x248]
call fcn.00404190
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x248]
push 0x4e7a30
call fcn.00409f30
push 0
push eax
mov ecx, esi
mov dword [esi], 0x4e7908
mov dword [esi + 0x28], 0x4e793c
call fcn.00406fd0
mov byte [ebp - 4], 3
mov dword [ebp - 0x250], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.00404c20
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret

Function at 0x439b50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7ce0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xc
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0
push esi
mov dword [ecx], 0x4e7908
mov dword [ecx + 0x28], 0x4e793c
call fcn.00406fd0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 0xffffffff
call fcn.0049651b
add esp, 0x34
test al, al
je 0x439bcc
cmp byte [ebp + 8], 0
je 0x439bcc
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x439bc5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43af40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5388
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 5
lea eax, [ebp - 0x40]
push 0x656
push 0x8004071a
push str.0x_08x:_x_n
push eax
call fcn.0040eb60
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
lea ecx, [ebp - 0x70]
push eax
call fcn.00439e30
add esp, 4
mov byte [ebp - 4], 6
lea edx, [eax + 4]
cmp dword [edx + 0x14], 8
jb 0x43b014
mov edx, dword [edx]
cmp word [edx], 0
jne 0x43b01e
xor eax, eax
jmp 0x43b032
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b023
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x3c]
call fcn.00409e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
call fcn.00404850
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
jb 0x43b053
mov ecx, dword [ecx]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0x10
cmovae eax, dword [ebp - 0x3c]
push ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret
Function at 0x43b2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5498
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7908
mov dword [ebp - 0x18], 0x4e793c
call fcn.00406fd0
mov dword [ebp - 4], 1
xor ecx, ecx
cmp word [str._MSI5166._IS], cx
mov eax, 0xc
cmove eax, ecx
lea ecx, [ebp - 0x3c]
push eax
push str._MSI5166._IS
call fcn.00409e00
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
push 0
cmovae eax, dword [ebp - 0x3c]
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x43b38e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov bl, 1
jmp 0x43b390
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a103a
mov esp, ebp
pop ebp
ret
Function at 0x442f50
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c72c8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x52a0b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ecx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xa8]
mov dword [ebp + 8], eax
test eax, eax
je 0x4430b8
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
mov edx, edi
mov eax, esi
mov ecx, str..debug
cmovne eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
call fcn.00442ef0
test eax, eax
je 0x442fdf
mov ecx, dword [ebp + 8]
cmp dword [eax + 0xc], ecx
jne 0x442fdf
mov edx, dword [eax + 0x14]
mov eax, edx
mov edi, dword [edi + 0xac]
mov dword [ebp + 8], edx
mov dword [ebp - 0x10], edi
jmp 0x443046
mov edx, edi
mov ecx, 0x4ef508
call fcn.00442ef0
mov ecx, eax
test ecx, ecx
jne 0x443007
mov edx, edi
mov ecx, str..text
call fcn.00442ef0
mov ecx, eax
test ecx, ecx
je 0x4430b8
mov eax, dword [edi + 0xac]
mov edi, eax
mov dword [ebp - 0x10], eax
mov eax, 0x24924925
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 4
test edi, edi
je 0x4430b8
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp + 8]
cmp edx, eax
ja 0x4430b8
sub edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x14]
add eax, edx
mov dword [ebp + 8], eax
mov edx, dword [ebp - 0x1c]
lea ecx, [eax + edx]
mov eax, ecx
sub eax, edx
cmp eax, dword [ebp - 0x20]
jbe 0x443099
cmp dword [ebp - 0x14], 0
je 0x443099
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, ecx
div dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
add eax, edx
sub ecx, edx
push eax
push ecx
push 0
push 4
push dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
je 0x4430b8
mov esi, ecx
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x18], esi
test edi, edi
je 0x4430ba
add ecx, 0x10
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
add eax, edx
cmp eax, dword [ebp + 0xc]
jbe 0x4430ae
add ebx, edx
add ecx, 0x1c
sub edi, 1
jne 0x4430a0
jmp 0x4430ba
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4430d8
mov eax, dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
je 0x4430d8
push esi
call eax
mov dword [ebp - 0x18], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret