joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d490
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x47ab88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x47fc28
push edx
mov dword [esp + 0x28], 0
call fcn.00402e30
mov esi, dword [esp + 0x1c]
add esp, 0x10
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x40d540
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x476cb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x47fc28
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e30
mov edi, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40d60a
mov edx, dword [esp + 0x2c]
mov eax, edx
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d5d0
mov ecx, dword [esp + 0x28]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [esp + 0x14]
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test esi, esi
je 0x40d642
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d62e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40d8c0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x476cb8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a440c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [str.SOFTWARESamsungKiesDeviceDB]
push eax
push ecx
lea edx, [esp + 0x18]
push 0x47fc28
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e30
mov esi, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0xc]
push eax
push 0x20006
push 0
push esi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x40d964
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x40d99c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d988
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d9cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x40e220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475958
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x47fcc4
lea ecx, [esp + 0xc]
call fcn.004062c0
mov ecx, dword [str.Session_ID]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 8]
push eax
push ecx
push esi
mov dword [esp + 0x20], 0
call fcn.0040dd90
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll__wtol]
inc eax
push eax
lea eax, [esp + 0x1c]
push 0x47fcbc
push eax
call fcn.00402e30
mov ecx, dword [esp + 0x24]
mov edx, dword [str.Session_ID]
push ecx
push edx
push esi
call fcn.0040d540
mov esi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x28
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x40e980
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e9f6
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x40e9c5
cmp eax, 2
jne 0x40e9e1
mov eax, dword [esp + 0x14]
test esi, esi
je 0x40e9f0
test eax, eax
je 0x40e9eb
test al, 1
jne 0x40e9e1
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x40e9f0
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x40ea00
Capabilities:
Get disk information via ioctl

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40ea25
xor eax, eax
pop esi
pop ecx
ret
mov edx, dword [esp + 0x10]
push edi
push 0
lea ecx, [esp + 0xc]
push ecx
push 0xc
push edx
push 0
push 0
push 0x2d1080
push esi
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
pop edi
setne al
pop esi
pop ecx
ret

Function at 0x40ea60
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
push edi
mov bl, 0x43
lea ebx, [ebx]
mov eax, dword [str..X:]
mov ecx, dword [0x47fdc4]
mov edx, dword [0x47fdc8]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esp + 0x28], eax
mov ax, word [0x47fdcc]
mov word [esp + 0x34], ax
movsx ax, bl
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x47fdb8]
mov dword [esp + 0x30], edx
mov edx, dword [0x47fdbc]
mov dword [esp + 0x20], ecx
mov word [esp + 0x30], ax
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x28], edx
call esi
cmp eax, 2
je 0x40eae8
lea ecx, [esp + 0x20]
push ecx
call esi
cmp eax, 5
jne 0x40eb4a
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40eb4a
push 0
lea eax, [esp + 0x14]
push eax
push 0xc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x2d1080
push esi
mov dword [esp + 0x30], 0
call ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x40eb4a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + 4]
jne 0x40eb4a
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
je 0x40eb6a
inc bl
cmp bl, 0x5a
jle 0x40ea80
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00473c8a
add esp, 0x2c
ret
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.00473c8a
add esp, 0x2c
ret
Function at 0x40f7b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475a70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4a440c]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4a440c
mov dword [esp + 0x14], edi
call edx
add eax, 0x10
mov dword [edi], eax
mov ebp, dword [esp + 0x44]
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x38], ecx
jle 0x40f951
mov ax, word [esp + 0x40]
xor edx, edx
mov word [esp + 0x18], ax
mov word [esp + 0x1a], dx
lea esi, [ecx + 1]
cmp ax, cx
je 0x40f83f
lea esi, [esp + 0x18]
lea edx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0x40f830
sub esi, edx
sar esi, 1
mov dword [esp + 0x1c], ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
mov byte [esp + 0x38], 1
cmp edx, ecx
ja 0x40f85b
cmp eax, 0xffffffff
jbe 0x40f865
push 0x80070057
call fcn.00401100
cmp eax, 0xa
jbe 0x40f876
push eax
lea ecx, [esp + 0x20]
call fcn.0040ef10
jmp 0x40f87e
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esi + esi + 2]
push edx
push eax
call dword [sym.imp.MSVCR90.dll_memcpy_s]
push eax
call fcn.00401140
mov eax, dword [edi]
mov edx, dword [eax - 8]
mov ebx, esi
imul ebx, ebp
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, ebx
add esp, 0x14
or ecx, edx
jge 0x40f8c1
push ebx
mov ecx, edi
call fcn.00401e90
mov edi, dword [edi]
cmp esi, 1
jne 0x40f8ea
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
test ebp, ebp
jle 0x40f918
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
mov ecx, ebp
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
jmp 0x40f918
mov ecx, edi
test ebp, ebp
jle 0x40f918
xor eax, eax
test esi, esi
jle 0x40f913
jmp 0x40f900
mov edx, dword [esp + 0x1c]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x40f900
sub ebp, 1
jne 0x40f8f0
test ebx, ebx
jl 0x40f85b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x40f85b
mov dword [eax - 0xc], ebx
mov eax, dword [ecx]
xor ecx, ecx
lea edx, [esp + 0x20]
mov word [eax + ebx*2], cx
cmp dword [esp + 0x1c], edx
je 0x40f94d
lea ecx, [esp + 0x1c]
call fcn.0040ee90
mov edi, dword [esp + 0x14]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00473c8a
add esp, 0x28
ret 8
Function at 0x414bc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47631a
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
push 0x47ed68
mov ecx, esi
mov dword [esp + 0x228], 1
call fcn.004062c0
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x14], 1
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x23c]
add esp, 0xc
push 0
push 0
push 0
push 0
push 0
push 0x208
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414c67
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.00402860
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
mov byte [esp + 0x224], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414cae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00473c8a
add esp, 0x220
ret 8
Function at 0x418990
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4768a3
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov edi, dword [esp + 0x140]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x18], 0x114
mov eax, dword [ecx - 0xc]
or ebp, 0xffffffff
cmp eax, ebx
mov dword [esp + 0x138], ebx
jl 0x418a9f
push str._WIFIVID_SAMSUNGPID_SAMSUNGMI_01
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x418a9f
mov ecx, dword [esp + 0x144]
sub eax, ecx
sar eax, 1
cmp eax, ebp
je 0x418a9f
lea eax, [ecx - 0x10]
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 0x47faf8
push 0x47ff84
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 1
call fcn.00407e00
push 0x47ed68
push 0x47ff78
lea ecx, [esp + 0x1c]
call fcn.00407e00
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00401510
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x138], bl
lea eax, [esi + 0xc]
mov ecx, ebp
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x418b1e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x418b1e
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418af7
cmp dword [esp + 0x1c], 6
jne 0x418af7
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.00401510
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00413d70
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
mov dword [esp + 0x138], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x418b37
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.00401510
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00414270
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x138], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x418b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00473c8a
add esp, 0x128
ret 8
Function at 0x418b80
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4768e8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0
call fcn.00408030
mov ecx, dword [esp + 0x13c]
mov eax, dword [ecx - 0xc]
or ebx, 0xffffffff
test eax, eax
jl 0x418c30
push str.MI_
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x418c30
mov ecx, dword [esp + 0x13c]
sub eax, ecx
sar eax, 1
cmp eax, ebx
jle 0x418c30
lea eax, [ecx - 0x10]
mov dword [esp + 0x134], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x418c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x418ce2
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x418c91
cmp dword [esp + 0x18], 6
jne 0x418c91
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00413a40
mov esi, eax
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov dword [esp + 0x134], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
jmp 0x418cd2
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00413740
mov esi, eax
mov eax, dword [esp + 0x13c]
add eax, 0xfffffff0
mov dword [esp + 0x134], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x418ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00473c8a
add esp, 0x128
ret 4
Function at 0x41ae00
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x476be8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x130], 0
call fcn.00408030
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ae98
cmp dword [esp + 0x14], 6
jne 0x41ae98
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004198c0
jmp 0x41aebe
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.00401510
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00414ef0
mov esi, eax
mov eax, dword [esp + 0x138]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x130], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aeea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00473c8a
add esp, 0x128
ret 4
Function at 0x422c20
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
push 0
push 0
push 0
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xa4]
push 0x1fe
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x422c8b
mov esi, dword [esi + 0xa0]
push esi
call fcn.00451f10
add esp, 4
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x19
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00473c8a
add esp, 0x204
ret
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
mov eax, 0x15
call fcn.00473c8a
add esp, 0x204
ret

Function at 0x4232d0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x47777b
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3eb0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x20], 6
jne 0x423342
cmp dword [esp + 0x24], 2
jne 0x423342
push str._neobutter__Windows_8
call fcn.00403120
add esp, 4
mov eax, 0x19
jmp 0x423469
mov ecx, 0x4a3fd0
call fcn.0044bd90
test eax, eax
jne 0x42335a
mov ecx, 0x4a3fd0
call fcn.0044c190
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
push eax
mov ecx, 0x4a3fd0
call fcn.0044c650
test eax, eax
je 0x423385
mov ecx, 0x4a3fd0
call fcn.0044bd70
mov eax, 0x19
jmp 0x423469
lea ecx, [esp + 0x14]
push ecx
push 0x47ea00
push 0x17
push 0
push 0x47f2f8
mov dword [esp + 0x24], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x4233e4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ole32.dll_OleRun]
mov esi, eax
test esi, esi
jl 0x4233d4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x47ef60
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jge 0x4233fc
xor eax, eax
mov dword [esp + 0x10], eax
test esi, esi
jge 0x423400
cmp esi, 0x80004002
je 0x423400
push esi
call fcn.004650f0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x13c], 0
test eax, eax
je 0x423450
mov esi, dword [eax]
mov edi, eax
add esi, 0x24
call ebx
push eax
mov eax, dword [esi]
push edi
call eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x423430
push 0x80004003
call fcn.004650f0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, 0x4a3fd0
call fcn.0044c650
mov eax, dword [esp + 0x10]
mov dword [esp + 0x13c], 0xffffffff
test eax, eax
je 0x423467
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.00473c8a
add esp, 0x130
ret
Function at 0x423490
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xa0]
push esi
push eax
call fcn.00451cc0
add esp, 4
test eax, eax
jne 0x423527
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403120
add esp, 8
cmp esi, 3
je 0x42350b
cmp esi, 2
je 0x42350b
cmp esi, 0x37
je 0x42350b
mov eax, dword [ebx + 0xa0]
push eax
call fcn.00451f10
add esp, 4
pop esi
mov eax, 0x19
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00473c8a
add esp, 0x204
ret
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00473c8a
add esp, 0x204
ret
cmp dword [ebx + 0x9c], 0
push ebp
push edi
jne 0x4235a5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebx + 0xa4]
push 0
push 0
push 0
push 0
push 0
push 0x1fe
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4235a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403120
add esp, 8
cmp esi, 3
je 0x42359e
cmp esi, 2
je 0x42359e
cmp esi, 0x37
je 0x42359e
push 0x1f4
call ebp
inc edi
cmp edi, 0x14
jl 0x423540
mov eax, 4
jmp 0x4235a7
mov eax, 3
jmp 0x4235a7
xor eax, eax
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.00473c8a
add esp, 0x204
ret

Function at 0x425cd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a3eb0]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x425d06
cmp dword [esp + 4], 6
mov eax, 0x1388
je 0x425d0b
mov eax, 0x3e8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00473c8a
add esp, 0x118
ret