joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4108d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x477d60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4a643c
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 0x410a71
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 0x41095f
lea esi, [esp + 0x18]
lea edx, [esi + 2]
mov edi, edi
mov ax, word [esi]
add esi, 2
cmp ax, cx
jne 0x410950
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 0x41097b
cmp eax, 0xffffffff
jbe 0x410985
push 0x80070057
call fcn.00401100
cmp eax, 0xa
jbe 0x410996
push eax
lea ecx, [esp + 0x20]
call fcn.00410040
jmp 0x41099e
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 0x4109e1
push ebx
mov ecx, edi
call fcn.00401e80
mov edi, dword [edi]
cmp esi, 1
jne 0x410a0a
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
test ebp, ebp
jle 0x410a38
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 0x410a38
mov ecx, edi
test ebp, ebp
jle 0x410a38
xor eax, eax
test esi, esi
jle 0x410a33
jmp 0x410a20
mov edx, dword [esp + 0x1c]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x410a20
sub ebp, 1
jne 0x410a10
test ebx, ebx
jl 0x41097b
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
cmp ebx, dword [eax - 8]
jg 0x41097b
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 0x410a6d
lea ecx, [esp + 0x1c]
call fcn.0040ffc0
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.00475d76
add esp, 0x28
ret 8
Function at 0x412d70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478170
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0xa40], eax
push esi
push edi
mov eax, dword [0x4a5eb0]
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 [0x4a643c]
mov edx, dword [eax + 0xc]
mov edi, 1
mov ecx, 0x4a643c
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 [0x4a643c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4a643c
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 0x412ebe
sub eax, dword [esp + 0xa64]
sar eax, 1
cmp eax, 0xffffffff
jle 0x412ebe
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xa6c]
call fcn.00407d30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa5c], 3
call fcn.00404450
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 0x412e96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x481934
push 0x481930
lea ecx, [esp + 0x14]
call fcn.00407fd0
push 0x480de0
push 0x481924
lea ecx, [esp + 0x14]
call fcn.00407fd0
jmp 0x412ecf
lea ecx, [esp + 0xa64]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404450
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 0x412f16
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 0x412f16
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00403480
mov ecx, esi
call fcn.00408200
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 0x412f4f
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 0x412f7a
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.00475d76
add esp, 0xa50
ret 8
Function at 0x412fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478170
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0xa40], eax
push esi
push edi
mov eax, dword [0x4a5eb0]
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 [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
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 [0x4a643c]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x4a643c
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 0x413101
sub eax, dword [esp + 0xa64]
sar eax, 1
cmp eax, 0xffffffff
jle 0x413101
push eax
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xa6c]
call fcn.00407d30
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xa5c], 3
call fcn.00404450
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 0x4130d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x481934
push 0x481930
lea ecx, [esp + 0x14]
call fcn.00407fd0
push 0x480de0
push 0x481924
lea ecx, [esp + 0x14]
call fcn.00407fd0
jmp 0x413112
lea ecx, [esp + 0xa64]
push ecx
lea ecx, [esp + 0x10]
call fcn.00404450
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 0x413159
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 0x413159
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.00403480
mov ecx, esi
call fcn.00408200
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 0x413192
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 0x4131bd
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.00475d76
add esp, 0xa50
ret 8
Function at 0x4164a0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47872a
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x4a5eb0]
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 0x480de0
mov ecx, esi
mov dword [esp + 0x228], 1
call fcn.00406300
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 0x416547
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 0x41658e
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.00475d76
add esp, 0x220
ret 8
Function at 0x419e20
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x478c33
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
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 0x419f2f
push str._WIFIVID_SAMSUNGPID_SAMSUNGMI_01
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
cmp eax, ebx
je 0x419f2f
mov ecx, dword [esp + 0x144]
sub eax, ecx
sar eax, 1
cmp eax, ebp
je 0x419f2f
lea eax, [ecx - 0x10]
push eax
call fcn.004014f0
add eax, 0x10
add esp, 4
mov dword [esp + 0x14], eax
push 0x481934
push 0x481930
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 1
call fcn.00407fd0
push 0x480de0
push 0x481924
lea ecx, [esp + 0x1c]
call fcn.00407fd0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
push esi
call fcn.004014f0
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 0x419fae
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x419fae
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x419f87
cmp dword [esp + 0x1c], 6
jne 0x419f87
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.004014f0
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00415650
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 0x419fc7
mov eax, dword [esp + 0x144]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push eax
call fcn.004014f0
add esp, 4
add eax, 0x10
push edi
mov ecx, esi
mov dword [ebx], eax
call fcn.00415b50
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 0x419fd5
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.00475d76
add esp, 0x128
ret 8
Function at 0x41a010
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x478c78
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x4a5eb0]
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.00408200
mov ecx, dword [esp + 0x13c]
mov eax, dword [ecx - 0xc]
or ebx, 0xffffffff
test eax, eax
jl 0x41a0c0
push str.MI_
push ecx
call dword [sym.imp.MSVCR90.dll_wcsstr]
add esp, 8
test eax, eax
je 0x41a0c0
mov ecx, dword [esp + 0x13c]
sub eax, ecx
sar eax, 1
cmp eax, ebx
jle 0x41a0c0
lea eax, [ecx - 0x10]
mov dword [esp + 0x134], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41a0b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41a172
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a121
cmp dword [esp + 0x18], 6
jne 0x41a121
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.004014f0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00415270
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 0x41a162
mov eax, dword [esp + 0x13c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov edi, esp
push eax
call fcn.004014f0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00414d70
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 0x41a170
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.00475d76
add esp, 0x128
ret 4
Function at 0x41cf90
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4790b8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
mov eax, dword [0x4a5eb0]
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.00408200
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41d028
cmp dword [esp + 0x14], 6
jne 0x41d028
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.004014f0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0041c390
jmp 0x41d04e
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.004014f0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0041aac0
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 0x41d07a
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.00475d76
add esp, 0x128
ret 4
Function at 0x424140
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a5eb0]
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 + 0xac]
push 0x1fe
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4241ab
mov esi, dword [esi + 0xa8]
push esi
call fcn.00454120
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.00475d76
add esp, 0x204
ret
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
mov eax, 0x15
call fcn.00475d76
add esp, 0x204
ret

Function at 0x424960
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xa8]
push esi
push eax
call fcn.00453ed0
add esp, 4
test eax, eax
jne 0x4249f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403170
add esp, 8
cmp esi, 3
je 0x4249db
cmp esi, 2
je 0x4249db
cmp esi, 0x37
je 0x4249db
mov eax, dword [ebx + 0xa8]
push eax
call fcn.00454120
add esp, 4
pop esi
mov eax, 0x19
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00475d76
add esp, 0x204
ret
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.00475d76
add esp, 0x204
ret
cmp dword [ebx + 0xa4], 0
push ebp
push edi
jne 0x424a75
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebx + 0xac]
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 0x424a75
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403170
add esp, 8
cmp esi, 3
je 0x424a6e
cmp esi, 2
je 0x424a6e
cmp esi, 0x37
je 0x424a6e
push 0x1f4
call ebp
inc edi
cmp edi, 0x14
jl 0x424a10
mov eax, 4
jmp 0x424a77
mov eax, 3
jmp 0x424a77
xor eax, eax
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.00475d76
add esp, 0x204
ret

Function at 0x426e60
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a5eb0]
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 0x426e96
cmp dword [esp + 4], 6
mov eax, 0x1388
je 0x426e9b
mov eax, 0x3e8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00475d76
add esp, 0x118
ret
Function at 0x4278a0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0x84]
push eax
lea ecx, [esp + 8]
push esi
push ecx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], 0
call fcn.004277c0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00427670
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x90]
xor al, al
add esp, 0x14
mov byte [esi + 0x14], al
pop esi
xor ecx, esp
call fcn.00475d76
add esp, 0x7c
ret

Function at 0x42b420
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x479fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov dword [esp + 0x10], 0xff
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARESamsungNew_PC_StudioSetting
push SysReAllocString
mov dword [esp + 0x234], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42b53a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.EnableNOSIM
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b53a
cmp dword [esp + 0x10], 1
jbe 0x42b53a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push 0x480e70
push edx
call fcn.00402e80
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, str.473E8222_33F0_4039_92F6_815DC6A97379
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42b516
test dx, dx
je 0x42b512
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42b516
add eax, 4
add ecx, 4
test dx, dx
jne 0x42b4f0
xor eax, eax
jmp 0x42b51b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42b53a
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.004023d0
mov eax, 1
jmp 0x42b56e
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b56c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00475d76
add esp, 0x21c
ret
Function at 0x42c350
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x47a0c0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a5eb0]
xor eax, ebp
mov dword [ebp + 0x400], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov dword [ebp - 4], 0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x40c]
lea eax, [ebp + 0x410]
push eax
push ecx
push 0x400
lea edx, [ebp]
push 0x400
mov ebx, 1
push edx
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCR90.dll__vsnprintf_s]
add esp, 0x14
test eax, eax
jle 0x42c456
lea eax, [ebp]
push eax
push str.NPSDM
lea ecx, [ebp - 0x14]
push str.__s__s
push ecx
call fcn.0040e480
add esp, 0x10
push ebx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.0042a160
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jne 0x42c41f
test ecx, ecx
jge 0x42c417
push 0x80070057
call fcn.00401100
mov al, byte [eax]
cmp al, 0xa
jne 0x42c41f
xor bl, bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c43e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42c44c
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0042b0e0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c476
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.00475d76
add ebp, 0x404
mov esp, ebp
pop ebp
ret