joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4148e0
Capabilities:
Check for software breakpoints
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [edx + 0x20]
mov edi, dword [edx + 0x1c]
add ecx, ebx
add edi, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
test esi, esi
je 0x414a3b
mov eax, dword [edx + 0x24]
add eax, ebx
mov dword [ebp - 0x30], eax
cmp esi, 0x10000
jae 0x41493d
movzx eax, si
mov eax, dword [edi + eax*4 - 4]
jmp 0x4149a1
mov eax, dword [edx + 0x18]
xor edi, edi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41498a
nop dword [eax]
mov ecx, dword [ecx + edi*4]
mov eax, 0xed388320
add ecx, ebx
mov dword [ebp - 0x18], eax
mov dl, byte [ecx]
test dl, dl
je 0x414978
xor byte [ebp - 0x18], dl
lea ecx, [ecx + 1]
mov eax, dword [ebp - 0x18]
mov dl, byte [ecx]
rol eax, 7
mov dword [ebp - 0x18], eax
test dl, dl
jne 0x414963
cmp esi, eax
mov eax, dword [ebp - 0x1c]
je 0x414987
mov ecx, dword [ebp - 0x28]
inc edi
cmp edi, eax
jb 0x414950
mov edx, dword [ebp - 0x20]
xor ecx, ecx
cmp edi, eax
ja 0x414a50
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
movzx eax, word [eax + edi*2]
mov eax, dword [ecx + eax*4]
lea esi, [ebx + eax]
mov ecx, esi
cmp esi, edx
jbe 0x414a50
mov eax, dword [ebp - 0x24]
add eax, edx
cmp esi, eax
jae 0x414a50
mov al, byte [esi]
xor edx, edx
cmp al, 0x2e
je 0x4149d5
lea edi, [ebp - 0x14]
sub edi, esi
xor al, 0x55
inc edx
mov byte [ecx + edi], al
inc ecx
mov al, byte [ecx]
cmp al, 0x2e
jne 0x4149c8
lea eax, [esi + 1]
mov byte [ebp + edx - 0x14], 0x55
add eax, edx
mov esi, 0xed388320
mov dword [ebp - 0x18], esi
mov cl, byte [eax]
test cl, cl
je 0x414a05
nop dword [eax]
xor byte [ebp - 0x18], cl
lea eax, [eax + 1]
mov esi, dword [ebp - 0x18]
mov cl, byte [eax]
rol esi, 7
mov dword [ebp - 0x18], esi
test cl, cl
jne 0x4149f0
lea eax, [ebp - 0x14]
push eax
call fcn.00414a70
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + ebx + 0x78]
mov eax, dword [ecx + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov ecx, dword [edx + 0x20]
mov edi, dword [edx + 0x1c]
add ecx, ebx
add edi, ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
test esi, esi
jne 0x414924
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 8
xor eax, eax
cmp byte [ecx], 0xcc
pop edi
cmovne eax, ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00411594
mov esp, ebp
pop ebp
ret 8
Function at 0x414a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x43dec4]
test edx, edx
jne 0x414aab
call fcn.00414850
mov edx, eax
mov dword [0x43dec4], edx
test edx, edx
jne 0x414aab
call fcn.004147e0
mov edx, eax
mov dword [0x43dec4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x414ac4
mov eax, edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 4
mov al, byte [ecx]
push esi
xor esi, esi
xor al, 0x55
je 0x414ae9
nop dword [eax]
mov byte [ebp + esi - 0x108], al
lea ecx, [ecx + 1]
mov al, byte [ecx]
inc esi
xor al, 0x55
jne 0x414ad0
cmp esi, 0x104
jae 0x414b24
mov eax, dword [0x43dec8]
mov byte [ebp + esi - 0x108], 0
pop esi
test eax, eax
jne 0x414b0b
push 0x644ec0ec
push edx
call fcn.004148e0
mov dword [0x43dec8], eax
lea ecx, [ebp - 0x108]
push ecx
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 4
call fcn.00411a94
int3
Function at 0x415790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0x1c]
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0x18]
mov edi, ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 0
mov dword [esi], 0
call fcn.00416500
test eax, eax
jne 0x4157ec
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.00416410
test eax, eax
jne 0x4157ec
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.00415c70
test eax, eax
je 0x41597c
mov dword [esi], 1
push ebx
mov bh, byte [ebp + 8]
lea eax, [ebp + 8]
mov bl, byte [ebp + 0xc]
lea esi, [edi + 0x10]
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 8], 8
push eax
xorps xmm0, xmm0
mov dword [ebp + 0xc], 0x10
movq qword [esi], xmm0
lea eax, [ebp + 0x10]
mov dword [esi + 8], 0
mov ecx, edi
push eax
mov word [esi + 0xc], 0
push esi
mov byte [esi], bh
mov byte [edi + 0x11], bl
call fcn.00414c80
lea eax, [ebp + 8]
mov dword [ebp + 8], 8
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x18
push eax
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
push esi
call fcn.00414c80
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x20
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x20
push eax
lea eax, [ebp - 4]
mov ecx, edi
push eax
push esi
call fcn.00414c80
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x20
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x40
push eax
lea eax, [ebp - 8]
mov ecx, edi
push eax
push esi
call fcn.00414c80
mov ecx, dword [edi + 8]
push 0xe
push esi
call fcn.00412ca0
mov dword [ebp - 8], eax
mov ecx, edi
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x20
push eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x40
push eax
lea eax, [ebp - 8]
push eax
push esi
call fcn.00414c80
mov al, byte [ebp + 0x10]
lea ecx, [edi + 0x1f]
mov byte [edi + 0x21], al
mov al, byte [ebp + 0x14]
mov byte [edi + 0x22], al
mov eax, ecx
mov byte [edi + 0x20], bl
mov edi, 2
mov dword [ebp + 0xc], ecx
mov byte [ecx], bh
mov bl, byte [eax + 2]
lea eax, [eax + 6]
mov bh, byte [eax - 6]
mov cl, bl
mov ch, byte [eax - 3]
add cl, 4
add bh, byte [eax - 5]
mov dh, bl
add dh, byte [eax - 5]
xor bh, cl
mov cl, ch
mov byte [eax - 2], bh
add cl, 4
xor dh, cl
mov cl, bh
mov byte [ebp + 0xb], dh
add cl, 4
mov byte [eax - 1], dh
mov dh, ch
add dh, bl
mov bl, bh
add bl, ch
xor dh, cl
mov ch, byte [ebp + 0xb]
mov cl, ch
mov byte [eax], dh
add cl, 4
mov dl, ch
xor bl, cl
add dl, bh
mov byte [eax + 1], bl
mov cl, dh
add cl, 4
add ch, dh
add bl, 4
xor dl, cl
xor ch, bl
mov byte [eax + 2], dl
mov byte [eax + 3], ch
sub edi, 1
jne 0x4158e5
mov edi, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
call fcn.00416fd0
mov ecx, dword [edi + 0xc]
lea eax, [edi + 0x12]
push 1
push eax
call fcn.00416fa0
pop ebx
mov dword [edi + 0x2f], 0x16
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x416410
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cbbc
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x118]
push 0x42ec10
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x118]
mov byte [ebp - 0x112], 0
push eax
push ecx
lea eax, [ebp - 0x114]
mov ecx, esp
push eax
call dword [sym.imp.mfc140.dll_Ordinal_310]
call fcn.00416040
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x118]
add esp, 8
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x4164da
push eax
push 0
call dword [sym.imp.mfc140.dll_Ordinal_5095]
mov ecx, dword [esi + 8]
push eax
call fcn.00412ca0
push 0xffffffffffffffff
lea ecx, [ebp - 0x118]
mov dword [edi], eax
call dword [sym.imp.mfc140.dll_Ordinal_12503]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, 1
jmp 0x4164e2
call dword [sym.imp.mfc140.dll_Ordinal_1044]
xor eax, eax
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.00411594
mov esp, ebp
pop ebp
ret 4
Function at 0x416500
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cc20
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test edi, edi
jne 0x416545
xor eax, eax
jmp 0x4166de
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, edi
mov byte [ebp - 0x111], 0
mov dword [ebx], 0
call fcn.00417e60
push eax
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_310]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00417e70
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_310]
push 0x432aec
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140.dll_Ordinal_310]
push dword [ebp - 0x124]
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140.dll_Ordinal_4733]
cmp eax, 0xffffffff
je 0x4165e9
push 1
push eax
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_3839]
push dword [ebp - 0x124]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_4733]
cmp eax, 0xffffffff
jne 0x4165c3
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00417e50
mov esi, dword [sym.imp.mfc140.dll_Ordinal_4807]
push eax
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push dword [ebp - 0x120]
push str._s__s__d
push eax
call esi
add esp, 0x14
mov ecx, edi
call fcn.00417e50
push eax
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push dword [ebp - 0x120]
push str._s__s__d
push eax
call esi
add esp, 0x14
mov ecx, edi
call fcn.00417e50
mov edi, dword [ebp - 0x128]
push eax
push dword [ebp - 0x118]
movsx eax, byte [ebp - 0x114]
push dword [ebp - 0x120]
push eax
lea eax, [edi + 0x33]
push str.Drive:__c__Model:__s__r_nSerial:__s__Size:__d
push eax
call esi
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
add esp, 0x18
push dword [eax - 0xc]
push 0
call dword [sym.imp.mfc140.dll_Ordinal_5095]
mov ecx, dword [edi + 8]
push eax
call fcn.00412ca0
push 0xffffffffffffffff
lea ecx, [ebp - 0x11c]
mov dword [ebx], eax
call dword [sym.imp.mfc140.dll_Ordinal_12503]
lea ecx, [ebp - 0x11c]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x118]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 8
Function at 0x418980
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cef6
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x43c010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CAtaSmart.0
call fcn.00418190
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.004181f0
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 2
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0x68]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 5
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 6
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 7
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 8
call sub.mfc140.dll_Ordinal_974
lea ecx, [esi + 0xbc]
call fcn.00418160
lea ecx, [esi + 0xd0]
call fcn.00418130
push dword [sym.imp.mfc140.dll_Ordinal_1044]
lea eax, [esi + 0x1c0]
mov byte [ebp - 4], 0xb
push dword [sym.imp.mfc140.dll_Ordinal_316]
push 0x1a
push 4
push eax
call fcn.0042aa64
push 0x9c
lea edi, [esi + 0x124]
mov byte [ebp - 4], 0xc
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], 0x9c
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x418a9d
push edi
mov dword [edi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x128]
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
cmp eax, 0xa
jb 0x418af7
mov dword [esi + 0x230], 1
mov dword [esi + 0x22c], 1
mov dword [esi + 0x228], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 6
jae 0x418ad0
cmp eax, 5
jne 0x418ae4
mov eax, dword [esi + 0x12c]
cmp eax, 2
je 0x418ad0
cmp eax, 1
jne 0x418ae4
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_316]
lea eax, [esi + 0x138]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1529]
push 0x42ec10
push str.Service_Pack
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_12706]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
cmp eax, 2
jl 0x418b6d
mov dword [esi + 0x228], 1
mov dword [esi + 0x22c], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41dc40
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d22c
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.00417930
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x1044]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push dword [ebp + 8]
lea eax, [ebp - 0x1044]
mov dword [ebp - 4], 0
push str..PhysicalDrive_d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0xc
lea ecx, [ebp - 0x1044]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1030
mov esi, eax
lea eax, [ebp - 0x1040]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1038], 3
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1034], 1
mov dword [ebp - 0x1028], 0x28
mov dword [ebp - 0x1024], 0x1000
push 0
push eax
push 0x1030
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1040], 0x31
push eax
push 0x1030
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1048], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x41dd6b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x41dd80
push 0x200
lea eax, [ebp - 0x1010]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1044]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 0x10
Function at 0x421200
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d22c
mov eax, dword fs:[0]
push eax
mov eax, 0x103c
call fcn.00417930
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x1044]
call dword [sym.imp.mfc140.dll_Ordinal_316]
push dword [ebp + 8]
lea eax, [ebp - 0x1044]
mov dword [ebp - 4], 0
push str..PhysicalDrive_d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0xc
lea ecx, [ebp - 0x1044]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x1030
mov esi, eax
lea eax, [ebp - 0x1040]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1038], 3
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1034], 2
mov dword [ebp - 0x1030], 2
mov dword [ebp - 0x102c], 0xffffffff
push 0
push eax
push 0x1030
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x1028], 0x28
push eax
push 0x1030
push eax
push 0x2d1400
push esi
mov dword [ebp - 0x1024], 0x1000
mov dword [ebp - 0x1040], 0x31
mov dword [ebp - 0x103c], 0
mov dword [ebp - 0x1048], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x200
jne 0x421343
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x421358
push 0x200
lea eax, [ebp - 0x1010]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1044]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dc8c
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x43c010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140.dll_Ordinal_316]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
test eax, eax
js 0x429c9f
push eax
lea eax, [ebp - 0x214]
push str..PhysicalDrive_d
push eax
call dword [sym.imp.mfc140.dll_Ordinal_4807]
add esp, 0xc
lea ecx, [ebp - 0x214]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x429c9f
push 0
push 0
push 0
push esi
mov dword [ebp - 0x218], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x218]
push eax
push 0x200
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x214]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411594
mov esp, ebp
pop ebp
ret 4
Function at 0x10052080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x1005208f
pop dword [ebp - 0xc]
mov eax, 0xbcca2e65
sub eax, 0xacc50dd6
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x81da9de0
add dword [ebp - 0x1c], 0xcc77a76b
mov dword [ebp - 0x18], 0xcfc0379
sub dword [ebp - 0x18], 0xdac8b734
mov dword [ebp - 0x14], 0xd5fe17f
add dword [ebp - 0x14], 0x3eec62af
mov dword [ebp - 0x10], 0x30d02416
add dword [ebp - 0x10], 0xcf2fdbea
lea eax, [ebp - 0x1c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0x8897c5
sub dword [ebp - 0x1c], 0x8c162e6f
mov dword [ebp - 0x18], 0xc6f017dc
sub dword [ebp - 0x18], 0x8583b667
mov dword [ebp - 0x14], 0xe3517e6e
add dword [ebp - 0x14], 0x801dedfe
mov dword [ebp - 0x10], 0x7be5330e
sub dword [ebp - 0x10], 0x7be5330e
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0x208f5a25
sub eax, 0x10895a11
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x577bc
push 0
call eax
mov ecx, 0x4ed3
xor ebx, ebx
add ebx, eax
mov esi, 0xfe2709c3
add esi, 0x11e1b23d
add esi, dword [ebp - 0xc]
mov edi, 0x62556f23
xor dword [ebp - 4], 0xe30395a9
mov edx, dword [esi]
xor edx, edi
mov dword [ebp - 8], 0x312fd975
mov dword [ebx], edx
add dword [ebp - 4], 0x311c1417
add ebx, 0xa2034be0
sub ebx, 0xa2034bdc
add esi, 4
loop 0x100521a2
add eax, 0x9085a5af
sub eax, 0x90847790
xor ebx, ebx
add ebx, eax
add eax, 0xa10f6100
sub eax, 0xa10f60fb
mov ecx, 0x10000000
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x4458ce
Capabilities:
Check for software breakpoints
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], fcn.00445c1f
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x445950
mov dword [ebp - 0x10], fcn.004476b0
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x445950
mov dword [ebp - 0x18], fcn.004462a2
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x445950
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x4459b6
mov edx, dword [ebp - 8]
sub edx, 0x61c88647
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
shl eax, 4
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 8]
xor eax, ecx
mov edx, dword [ebp - 0x28]
shr edx, 5
add edx, dword [ebp - 0xc]
xor eax, edx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
add eax, edx
mov dword [ebp - 0x28], eax
jmp 0x445950
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4459ce
Capabilities:
Check for software breakpoints
Decrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x2c], fcn.00445c1f
mov esi, dword [ebp - 0x2c]
mov al, byte [esi]
cmp al, 0xcc
je 0x445a50
mov dword [ebp - 0x10], fcn.004476b0
mov esi, dword [ebp - 0x10]
mov al, byte [esi]
cmp al, 0xcc
je 0x445a50
mov dword [ebp - 0x18], fcn.004459ce
mov esi, dword [ebp - 0x18]
mov al, byte [esi]
cmp al, 0xcc
je 0x445a50
mov dword [ebp - 0x24], 0x9e3779b9
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 8], 0xc6ef3720
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0x20
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
test eax, eax
jle 0x445ab5
mov edx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
xor edx, eax
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x1c]
xor edx, ecx
mov eax, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
shl ecx, 4
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 8]
xor ecx, edx
mov eax, dword [ebp - 0x28]
shr eax, 5
add eax, dword [ebp - 0xc]
xor ecx, eax
mov edx, dword [ebp - 0x20]
sub edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
add eax, 0x61c88647
mov dword [ebp - 8], eax
jmp 0x445a50
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret