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

Disassembly:
push 0xffffffffffffffff
push 0x47d848
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
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 0x4831b0
push edx
mov dword [esp + 0x28], 0
call fcn.00402e80
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 0x40ec65
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 0x40ec80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x479848
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
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 0x4831b0
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e80
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 0x40ed4a
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 0x40ed10
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 0x40ed82
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 0x40ed6e
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 0x40edb1
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 0x40f040
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x479848
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
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 0x4831b0
push edx
mov dword [esp + 0x2c], 0
call fcn.00402e80
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 0x40f0e4
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 0x40f11c
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 0x40f108
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 0x40f14b
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 0x40f9c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4783d8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
push 0x483218
lea ecx, [esp + 0xc]
call fcn.00406310
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.0040f530
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.MSVCR90.dll__wtol]
inc eax
push eax
lea eax, [esp + 0x1c]
push 0x483210
push eax
call fcn.00402e80
mov ecx, dword [esp + 0x24]
mov edx, dword [str.Session_ID]
push ecx
push edx
push esi
call fcn.0040ec80
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 0x40fa69
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 0x4100c0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x14]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x4100e2
pop edi
pop ebx
add esp, 8
ret 0x14
push esi
push edi
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x41016f
mov ecx, dword [esp + 0x18]
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x410165
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x482a54
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x410165
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xa]
mov edx, dword [esp + 0x1c]
mov word [edx], cx
movzx ecx, word [eax + 8]
mov edx, dword [esp + 0x20]
mov word [edx], cx
movzx ecx, word [eax + 0xe]
mov edx, dword [esp + 0x24]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [esp + 0x28]
push esi
mov word [ecx], ax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop esi
pop edi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret 0x14

Function at 0x410190
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 0x4101b5
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 0x4101f0
Capabilities:
Get disk information
Get disk information via ioctl

Disassembly:
sub esp, 0x2c
mov eax, dword [0x4a6eb0]
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 [0x483314]
mov edx, dword [0x483318]
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esp + 0x28], eax
mov ax, word [0x48331c]
mov word [esp + 0x34], ax
movsx ax, bl
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x483308]
mov dword [esp + 0x30], edx
mov edx, dword [0x48330c]
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 0x410278
lea ecx, [esp + 0x20]
push ecx
call esi
cmp eax, 5
jne 0x4102da
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 0x4102da
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 0x4102da
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp edx, dword [eax + 4]
jne 0x4102da
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax]
je 0x4102fa
inc bl
cmp bl, 0x5a
jle 0x410210
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004764f6
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.004764f6
add esp, 0x2c
ret
Function at 0x410f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4784f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4a743c
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 0x4110c1
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 0x410faf
lea esi, [esp + 0x18]
lea edx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0x410fa0
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 0x410fcb
cmp eax, 0xffffffff
jbe 0x410fd5
push 0x80070057
call fcn.00401120
cmp eax, 0xa
jbe 0x410fe6
push eax
lea ecx, [esp + 0x20]
call fcn.004106f0
jmp 0x410fee
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.00401160
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 0x411031
push ebx
mov ecx, edi
call fcn.00401e80
mov edi, dword [edi]
cmp esi, 1
jne 0x41105a
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
test ebp, ebp
jle 0x411088
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 0x411088
mov ecx, edi
test ebp, ebp
jle 0x411088
xor eax, eax
test esi, esi
jle 0x411083
jmp 0x411070
mov edx, dword [esp + 0x1c]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x411070
sub ebp, 1
jne 0x411060
test ebx, ebx
jl 0x410fcb
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x410fcb
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 0x4110bd
lea ecx, [esp + 0x1c]
call fcn.00410670
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.004764f6
add esp, 0x28
ret 8
Function at 0x4133d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478900
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0xa40], eax
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0xa50]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa60]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov edi, 1
mov ecx, 0x4a743c
mov dword [esp + 0xa58], edi
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0xa26
push eax
lea ecx, [esp + 0x2e]
push ecx
mov dword [esp + 0x28], edi
mov word [esp + 0x30], ax
call sub.MSVCR90.dll_memset
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4a743c
mov dword [esp + 0x10], 0xa28
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xa64]
push 0x23
push ecx
mov byte [esp + 0xa60], 2
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x41351e
sub eax, dword [esp + 0xa64]
sar eax, 1
cmp eax, 0xffffffff
jle 0x41351e
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xa6c]
call fcn.00407d60
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa5c], 3
call fcn.00404460
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xa58], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4134f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x482a54
push 0x482a50
lea ecx, [esp + 0x14]
call fcn.004081f0
push 0x481de0
push 0x482a44
lea ecx, [esp + 0x14]
call fcn.004081f0
jmp 0x41352f
lea ecx, [esp + 0xa64]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404460
mov edi, dword [esp + 0xc]
push 0
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x413576
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 5
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Registry_PropertyW]
test eax, eax
jne 0x413576
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00403480
mov ecx, esi
call fcn.00408420
mov ecx, dword [esi]
push ecx
push str.CDeviceDetect::GetDeviceService
push str._s__s
call fcn.00403170
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0xa58], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4135af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa64]
add eax, 0xfffffff0
mov byte [esp + 0xa58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4135da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.004764f6
add esp, 0xa50
ret 8
Function at 0x413610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478900
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0xa40], eax
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0xa50]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa60]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [esp + 0xa58], 1
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
push 0xa26
push eax
lea ecx, [esp + 0x2e]
push ecx
mov dword [esp + 0x28], 1
mov word [esp + 0x30], ax
call sub.MSVCR90.dll_memset
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4a743c
mov dword [esp + 0x10], 0xa28
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xa64]
push 0x23
push ecx
mov byte [esp + 0xa60], 2
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x413761
sub eax, dword [esp + 0xa64]
sar eax, 1
cmp eax, 0xffffffff
jle 0x413761
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xa6c]
call fcn.00407d60
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa5c], 3
call fcn.00404460
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xa58], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x482a54
push 0x482a50
lea ecx, [esp + 0x14]
call fcn.004081f0
push 0x481de0
push 0x482a44
lea ecx, [esp + 0x14]
call fcn.004081f0
jmp 0x413772
lea ecx, [esp + 0xa64]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404460
mov edi, dword [esp + 0xc]
push 0
push edi
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Locate_DevNodeW]
test eax, eax
jne 0x4137b9
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 1
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Registry_PropertyW]
test eax, eax
jne 0x4137b9
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00403480
mov ecx, esi
call fcn.00408420
mov ecx, dword [esi]
push ecx
push str.CDeviceDetect::GetDeviceDescription
push str._s__s
call fcn.00403170
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0xa58], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4137f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xa64]
add eax, 0xfffffff0
mov byte [esp + 0xa58], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41381d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.004764f6
add esp, 0xa50
ret 8
Function at 0x416b00
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x478eba
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x4a6eb0]
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 0x481de0
mov ecx, esi
mov dword [esp + 0x228], 1
call fcn.00406310
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 0x416ba7
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004028b0
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 0x416bee
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.004764f6
add esp, 0x220
ret 8
Function at 0x41a690
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4793f3
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
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 0x41a79f
push str._WIFIVID_SAMSUNGPID_SAMSUNGMI_01
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x41a79f
mov ecx, dword [esp + 0x144]
sub eax, ecx
sar eax, 1
cmp eax, ebp
je 0x41a79f
lea eax, [ecx - 0x10]
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 0x482a54
push 0x482a50
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 1
call fcn.004081f0
push 0x481de0
push 0x482a44
lea ecx, [esp + 0x1c]
call fcn.004081f0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.00401520
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 0x41a81e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x41a81e
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a7f7
cmp dword [esp + 0x1c], 6
jne 0x41a7f7
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.00401520
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00415cb0
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 0x41a837
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.00401520
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.004161b0
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 0x41a845
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.004764f6
add esp, 0x128
ret 8
Function at 0x41a880
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x479438
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4a6eb0]
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.00408420
mov ecx, dword [esp + 0x13c]
mov eax, dword [ecx - 0xc]
or ebx, 0xffffffff
test eax, eax
jl 0x41a930
push str.MI_
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41a930
mov ecx, dword [esp + 0x13c]
sub eax, ecx
sar eax, 1
cmp eax, ebx
jle 0x41a930
lea eax, [ecx - 0x10]
mov dword [esp + 0x134], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41a926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41a9e2
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a991
cmp dword [esp + 0x18], 6
jne 0x41a991
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004158d0
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 0x41a9d2
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.004153d0
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 0x41a9e0
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.004764f6
add esp, 0x128
ret 4