joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bc450
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5bc481
dec al
je 0x5bc4bc
dec al
je 0x5bc501
dec al
je 0x5bc56a
jmp 0x5bc5f4
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5bc5f4
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5bc491
jmp 0x5bc5f4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5bc5f4
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5bc4cc
jmp 0x5bc5f4
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5bc5f4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5bc530
xor ebp, ebp
jmp 0x5bc540
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5bc549
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5bc511
jmp 0x5bc5f4
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5bc5f4
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5bc5c3
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005b9520
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5bc57e
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5dd058
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x5dd0a9
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x5dd090
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x5dd080
jmp 0x5dd0a9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x5dd091
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5f06b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5f06de
mov eax, ebx
call fcn.005f1164
cmp dword [ebx + 0x40], 0
je 0x5f06d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5f074f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5f0741
cmp dword [ebx + 8], 0
je 0x5f0700
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5f0712
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5f0741
cmp dword [ebx + 8], 0
je 0x5f06f3
cmp eax, 3
je 0x5f0725
dec eax
jne 0x5f06f3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5f06f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5f06f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5f076d
cmp dword [ebx + 0x14], 0xcc
je 0x5f076d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005f0778
pop ebx
ret
Function at 0x628b94
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov ebp, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
mov eax, dword [0x8e0da0]
mov eax, dword [eax]
call fcn.0051ba00
push 0
mov eax, dword [ebp + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x628bc2
mov bl, 1
jmp 0x628bee
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x628bdf
cmp eax, dword [esp]
pop edx
pop eax
jae 0x628be3
jmp 0x628bec
pop edx
pop eax
jl 0x628bec
push 1
call sub.kernel32.dll_Sleep_2
jmp 0x628ba3
xor ebx, ebx
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x63d5f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
xor eax, eax
push ebp
push 0x63d69f
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [0x8e0da0]
mov eax, dword [eax]
call fcn.0051c478
mov eax, esi
xor edx, edx
call fcn.00407bac
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c38
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x63d689
mov eax, dword [ebp - 8]
call fcn.00404328
mov ebx, eax
push ebx
mov eax, dword [ebp - 8]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x63d6b0
push ebx
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x63d67f
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.00407d68
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0040435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63d6a6
lea eax, [ebp - 4]
call fcn.00407b9c
ret
Function at 0x63f714
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x63f89e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
call fcn.00642e64
lea edx, [ebp - 0x54]
mov eax, dword [0x8e8340]
call fcn.0063b878
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 4]
mov ecx, 0x63f8b8
call fcn.00408090
mov eax, dword [ebp - 4]
call fcn.004163a4
test al, al
je 0x63f872
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00416214
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x63f872
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00416308
mov ebx, eax
lea eax, [ebx + 1]
call fcn.00404340
mov dword [ebp - 0x10], eax
xor ecx, ecx
push ebp
push 0x63f84a
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.00416308
mov edx, dword [ebp - 0x10]
mov ecx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004162b0
mov ebx, eax
xor edx, edx
dec ebx
test ebx, ebx
jle 0x63f7e2
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor dl, byte [ecx + eax]
inc eax
dec ebx
jne 0x63f7d8
mov eax, dword [ebp - 0x10]
xor dl, byte [eax]
test dl, dl
jne 0x63f834
mov edi, 1
mov eax, dword [ebp - 0x10]
add eax, edi
lea edx, [ebp - 0x14]
mov ecx, 4
call fcn.00404530
add edi, 4
mov ebx, dword [ebp - 0x14]
dec ebx
test ebx, ebx
jl 0x63f834
inc ebx
mov eax, dword [ebp - 0x10]
add eax, edi
lea edx, [ebp - 0x50]
mov ecx, 0x3c
call fcn.00404530
lea edx, [ebp - 0x50]
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
call fcn.00642ccc
add edi, 0x3c
dec ebx
jne 0x63f80e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63f851
mov eax, dword [ebp - 0x10]
call fcn.0040435c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63f8a5
lea eax, [ebp - 0x54]
call fcn.00407b9c
lea eax, [ebp - 8]
mov edx, dword [0x40fcac]
call fcn.004098cc
lea eax, [ebp - 4]
call fcn.00407b9c
ret
Function at 0x647704
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x647ad5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x160]
mov eax, dword [0x8e0a00]
mov eax, dword [eax]
call fcn.0063b878
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
mov ecx, 0x647af0
call fcn.00408090
mov eax, dword [ebp - 4]
call fcn.004163a4
test al, al
je 0x647a8e
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00416214
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x647a8e
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00416308
mov ebx, eax
lea eax, [ebx + 1]
call fcn.00404340
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x64781c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x14]
call fcn.00416308
mov edx, dword [ebp - 0x24]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.004162b0
mov ebx, eax
mov byte [ebp - 0x25], 0
mov esi, ebx
dec esi
sub esi, 2
jl 0x6477fc
inc esi
mov dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
movzx eax, byte [eax + edx]
xor byte [ebp - 0x25], al
inc dword [ebp - 0x20]
dec esi
jne 0x6477e9
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + 1]
xor byte [ebp - 0x25], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x647823
mov eax, dword [ebp - 0x24]
call fcn.0040435c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x647adc
lea eax, [ebp - 0x170]
call fcn.00407b9c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00407ba4
lea eax, [ebp - 0xc]
call fcn.00407b9c
lea eax, [ebp - 8]
mov edx, dword [0x40fcac]
call fcn.004098cc
lea eax, [ebp - 4]
call fcn.00407b9c
ret
Function at 0x648344
Capabilities:
Check for peb beingdebugged flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00409930
xor eax, eax
push ebp
push 0x64844a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [esi + 4]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 1
call fcn.00404530
inc ebx
lea edx, [esi + 8]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 8
call fcn.00404530
add ebx, 8
lea edx, [esi + 0x10]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 1
call fcn.00404530
inc ebx
lea edx, [esi + 0x14]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 4
call fcn.00404530
add ebx, 4
lea edx, [esi + 0x18]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 1
call fcn.00404530
inc ebx
lea edx, [esi + 0x19]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 1
call fcn.00404530
inc ebx
lea edx, [esi + 0x20]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 8
call fcn.00404530
add ebx, 8
lea edx, [esi + 0x28]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 8
call fcn.00404530
add ebx, 8
lea edx, [esi + 0x30]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 2
call fcn.00404530
add ebx, 2
lea edx, [esi + 0x32]
mov eax, dword [ebp - 4]
add eax, ebx
mov ecx, 2
call fcn.00404530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x648451
lea eax, [ebp - 4]
mov edx, dword [0x40badc]
call fcn.004098cc
ret
Function at 0x664190
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x6641e2
test eax, edx
je 0x6641e5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x6641a5
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x6641cb
add ecx, 4
js 0x6641bb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x6641c8
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x6641f1
test edx, edx
jne 0x664198
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x68e570
Capabilities:
Get keyboard layout

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov ebx, edx
mov esi, eax
mov dword [ebx], 1
mov edx, esp
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
push esi
lea esi, [esp + 4]
lea edi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esi + 0x390]
add dword [ebx + 0xc], eax
mov eax, dword [esi + 0x394]
sub dword [ebx + 0x14], eax
mov eax, esi
call fcn.0068b964
mov edx, eax
mov eax, dword [esi + 0x470]
mov eax, dword [eax + 0x64]
call fcn.00721278
mov edx, dword [eax + 0x20]
add dword [ebx + 0xc], edx
mov eax, dword [eax + 0x24]
sub dword [ebx + 0x14], eax
lea edx, [esp + 0x10]
mov eax, dword [esi + 0x488]
call fcn.006824ac
mov eax, dword [esp + 0x10]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [ebx + 8], eax
push 0
call sub.user32.dll_GetKeyboardLayout
and eax, 0xffff
cmp eax, 0x412
jne 0x68e61a
mov dword [ebx], 2
mov eax, dword [ebx + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
push 1
push 0
lea eax, [ebx + 0xc]
push eax
call sub.user32.dll_OffsetRect
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x6bedb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef0
mov esi, eax
movzx ebx, word [0x6bee80]
lea eax, [esp + 8]
push eax
call sub.user32.dll_GetKeyboardState
test byte [esp + 0x18], 0x80
je 0x6bedd7
or bx, 1
test byte [esp + 0x19], 0x80
je 0x6bede2
or bx, 4
test byte [esp + 0x1a], 0x80
je 0x6beded
or bx, 2
test byte [esp + 9], 0x80
je 0x6bedf8
or bx, 8
test byte [esp + 0xa], 0x80
je 0x6bee03
or bx, 0x10
test byte [esp + 0xc], 0x80
je 0x6bee0e
or bx, 0x20
push esp
call sub.user32.dll_GetCursorPos
lea ecx, [esp + 0x108]
mov edx, esp
mov eax, esi
call fcn.004eb260
mov eax, dword [esp + 0x108]
mov dword [esp], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 4], eax
mov edi, dword [esp]
test edi, edi
jl 0x6bee75
mov eax, esi
call fcn.004eb01c
cmp edi, eax
jge 0x6bee75
cmp dword [esp + 4], 0
jl 0x6bee75
mov eax, esi
call fcn.004eb05c
cmp eax, dword [esp + 4]
jle 0x6bee75
mov eax, dword [esp + 4]
push eax
mov ecx, dword [esp + 4]
mov edx, ebx
mov eax, esi
mov si, 0xffd4
call fcn.004058b4
add esp, 0x110
pop edi
pop esi
pop ebx
ret
Function at 0x6c5a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x6c5bc9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x12]
mov eax, dword [edi + 0x40]
mov edx, esi
call fcn.006c53f8
lea ecx, [ebp - 0xc]
mov eax, dword [edi + 0x40]
mov edx, esi
call fcn.006c4770
mov eax, dword [edi + 0x40]
mov edx, esi
call fcn.006c47b8
mov byte [ebp - 0x11], al
movzx eax, byte [ebp - 0x12]
mov byte [ebx + 0xc], al
lea eax, [ebx + 0x1c]
mov edx, dword [ebp - 4]
call fcn.00407bac
lea eax, [ebx + 0x20]
mov edx, dword [ebp - 0x10]
call fcn.00407e24
movzx eax, byte [esi + 0x20]
mov byte [ebx + 0x30], al
mov eax, ebx
call fcn.007220dc
mov edx, dword [ebp - 0xc]
call fcn.0045c2ac
mov eax, ebx
call fcn.007220dc
movzx edx, byte [ebp - 0x11]
call fcn.0045c3d8
mov eax, ebx
call fcn.007220dc
movzx edx, byte [esi + 0x18]
call fcn.0045c350
mov eax, ebx
call fcn.007220dc
mov edx, dword [esi + 0x1c]
call fcn.0045bf88
mov eax, ebx
call fcn.007220dc
mov edx, dword [esi + 0x24]
call fcn.0045c324
fild dword [esi + 0x3c]
fmul qword [edi + 0x38]
call fcn.0040488c
mov dword [ebx + 0x24], eax
fild dword [esi + 0x40]
fmul qword [edi + 0x38]
call fcn.0040488c
add eax, dword [ebx + 0x24]
mov dword [ebx + 0x2c], eax
cmp dword [esi + 0x44], 0xfffffc18
je 0x6c5b73
fild dword [esi + 0x44]
fmul qword [edi + 0x38]
call fcn.0040488c
sub eax, dword [ebx + 0x24]
mov dword [ebx + 0x28], eax
jmp 0x6c5b78
xor eax, eax
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x3c], eax
cmp byte [esi + 0x2a], 0
je 0x6c5b93
movzx eax, byte [0x6c5bd8]
not eax
and al, byte [ebx + 0x38]
mov byte [ebx + 0x38], al
cmp byte [esi + 0x29], 0
je 0x6c5ba6
movzx eax, byte [0x6c5bdc]
or al, byte [ebx + 0x38]
mov byte [ebx + 0x38], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6c5bd0
lea eax, [ebp - 0x10]
call fcn.0040765c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407ba4
ret
Function at 0x768908
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x7689fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov edx, dword [eax]
call dword [edx + 0xf8]
mov ebx, 2
mov esi, ebx
add si, 0x41
lea eax, [ebp - 4]
mov edx, 0x768a18
call fcn.00407c00
lea eax, [ebp - 4]
call fcn.004086c0
mov word [eax], si
mov eax, dword [ebp - 4]
call fcn.00407c38
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
jne 0x768982
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x2ac]
mov edx, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
cmp ebx, 0x1a
jne 0x76893a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
mov eax, dword [eax + 0x2ac]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x7689b5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x38c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xf0]
jmp 0x7689e0
push 0x768a2c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x8e08fc]
mov eax, dword [eax]
mov ecx, 0x768a54
mov edx, dword [0x76832c]
call fcn.00633a38
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00769050
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x768a05
lea eax, [ebp - 0xc]
call fcn.00407b9c
lea eax, [ebp - 4]
call fcn.00407b9c
ret
Function at 0x768aa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x768c2a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x20c]
mov eax, dword [esi + 0x38c]
call fcn.004eb730
mov eax, dword [ebp - 0x20c]
call fcn.00407c38
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x768b99
push 0x768c3c
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_lstrcmpiW
test eax, eax
je 0x768b44
push 0x768c44
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_lstrcmpiW
test eax, eax
jne 0x768b4b
mov bl, 1
jmp 0x768be5
push 0x768c5c
lea eax, [ebp - 0x210]
push eax
mov eax, dword [0x8e08fc]
mov eax, dword [eax]
mov ecx, 0x768c94
mov edx, dword [0x76832c]
call fcn.00633a38
mov eax, dword [ebp - 0x210]
push eax
lea edx, [ebp - 0x214]
mov eax, esi
call fcn.004eb730
mov eax, dword [ebp - 0x214]
push eax
mov eax, esi
call fcn.004f42e8
pop ecx
pop edx
call fcn.0061c900
jmp 0x768be5
push 0x768ce4
lea eax, [ebp - 0x218]
push eax
mov eax, dword [0x8e08fc]
mov eax, dword [eax]
mov ecx, 0x768d0c
mov edx, dword [0x76832c]
call fcn.00633a38
mov eax, dword [ebp - 0x218]
push eax
lea edx, [ebp - 0x21c]
mov eax, esi
call fcn.004eb730
mov eax, dword [ebp - 0x21c]
push eax
mov eax, esi
call fcn.004f42e8
pop ecx
pop edx
call fcn.0061c900
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x768c31
lea eax, [ebp - 0x21c]
call fcn.00407b9c
lea eax, [ebp - 0x218]
call fcn.00407b9c
lea eax, [ebp - 0x214]
call fcn.00407b9c
lea eax, [ebp - 0x210]
call fcn.00407b9c
lea eax, [ebp - 0x20c]
call fcn.00407b9c
ret
Function at 0x769858
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x769861
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 4], ecx
mov byte [ebp - 0x21], dl
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00409930
xor eax, eax
push ebp
push 0x769a19
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x7699f0
movzx eax, byte [ebp - 0x21]
test al, al
je 0x7698ad
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x38c]
call fcn.004eb730
jmp 0x7698bc
lea edx, [ebp - 0x20]
mov eax, dword [0x8e0a00]
mov eax, dword [eax]
call fcn.0063b990
lea eax, [ebp - 8]
mov ecx, 0x769a34
mov edx, dword [ebp - 0x20]
call fcn.00408090
push 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.00769ad0
lea eax, [ebp - 0xc]
mov ecx, 0x769a50
mov edx, dword [ebp - 0x20]
call fcn.00408090
push 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00769ad0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x10]
mov ecx, 0x769a6c
mov edx, dword [ebp - 0x20]
call fcn.00408090
push 1
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00769ad0
lea eax, [ebp - 0x14]
mov ecx, 0x769a88
mov edx, dword [ebp - 0x20]
call fcn.00408090
test esi, esi
setne al
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00769ad0
lea eax, [ebp - 0x18]
mov ecx, 0x769aa4
mov edx, dword [ebp - 0x20]
call fcn.00408090
lea eax, [ebp - 0x1c]
mov ecx, 0x769ac0
mov edx, dword [ebp - 0x20]
call fcn.00408090
mov eax, dword [ebp - 0x18]
call fcn.004163a4
test al, al
jne 0x769984
mov eax, dword [ebp - 0x1c]
call fcn.004163a4
test al, al
je 0x7699a0
mov eax, dword [ebp - 0x18]
call fcn.00407c38
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 0x1c]
call fcn.00407c38
push eax
call sub.kernel32.dll_DeleteFileW
test esi, esi
je 0x7699f0
push 1
mov ecx, dword [ebp - 0x18]
mov edx, esi
mov eax, ebx
call fcn.00769ad0
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, ebx
call fcn.00769ad0
xor edx, edx
mov eax, dword [ebx + 0x398]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
xor edx, edx
mov eax, dword [ebx + 0x39c]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
xor edx, edx
mov eax, dword [ebx + 0x3a0]
mov ecx, dword [eax]
call dword [ecx + 0xf0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x769a20
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.00407ba4
lea eax, [ebp - 4]
mov edx, dword [0x72b028]
call fcn.004098cc
ret