joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52cd3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x8c], 0
jne 0x52cdb6
mov eax, dword [ebx + 8]
call fcn.0049b6d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a92bc]
call fcn.00495af8
mov esi, eax
mov dword [ebx + 0x8c], esi
xor edx, edx
mov eax, esi
call fcn.004b3628
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x52c634
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0049b6d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x8c]
call fcn.0049b6d4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x9c], 0
jne 0x52ce2c
mov eax, dword [ebx + 8]
call fcn.0049b6d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a92bc]
call fcn.00495af8
mov esi, eax
mov dword [ebx + 0x9c], esi
mov dl, 1
mov eax, esi
call fcn.004b3628
mov dword [esi + 0x2a4], ebx
mov dword [esi + 0x2a0], 0x52c680
push 8
push 0
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049b6d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049b6d4
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x94], 0
jne 0x52ce98
mov eax, dword [ebx + 8]
call fcn.0049b6d4
mov ecx, eax
mov dl, 1
mov eax, dword [0x4a9cf8]
call fcn.00495af8
mov esi, eax
mov dword [ebx + 0x94], esi
mov eax, esi
mov byte [eax + 0x278], 1
push 8
push 3
call sub.user32.dll_GetSystemMetrics
push eax
push 2
call sub.user32.dll_GetSystemMetrics
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x94]
call fcn.0049b6d4
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x94]
call fcn.0049b6d4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x533618
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x61d79c], 0
jne 0x53362f
call fcn.005335d4
mov eax, edi
dec eax
test eax, eax
jl 0x533657
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x61d39c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x533639
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x536328
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5363c2.0
jmp dword [ecx*4 + 0x53635b]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53638d
sub dl, 8
je 0x53639c
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x535ff4
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x536048
jmp case.0x5363c2.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5363c2.0
movzx ecx, byte [ecx + 0x5363c9]
jmp dword [ecx*4 + 0x5363da]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5360e8
jmp case.0x5363c2.0
cmp dl, 3
jne 0x536407
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x536140
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5360fc
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x536184
jmp case.0x5363c2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x536432
sub dl, 8
je 0x53643e
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5361b0
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x536214
jmp case.0x5363c2.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x53645d
sub dl, 8
je 0x536469
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5362c4
jmp case.0x5363c2.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5362ec
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x53650b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00535530
test eax, eax
je 0x53650b
mov eax, ebx
call fcn.00536514
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5364a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x536514
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 0x536545
dec al
je 0x536580
dec al
je 0x5365c5
dec al
je 0x53662e
jmp 0x5366b8
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5366b8
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 0x536555
jmp 0x5366b8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5366b8
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 0x536590
jmp 0x5366b8
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5366b8
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 0x5365f4
xor ebp, ebp
jmp 0x536604
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 0x53660d
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 0x5365d5
jmp 0x5366b8
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5366b8
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 0x536687
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.00533660
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 0x536642
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53e1e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x53e216
mov eax, ebx
call fcn.0053eca4
cmp dword [ebx + 0x40], 0
je 0x53e20f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x53e287
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x53e279
cmp dword [ebx + 8], 0
je 0x53e238
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 0x53e24a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x53e279
cmp dword [ebx + 8], 0
je 0x53e22b
cmp eax, 3
je 0x53e25d
dec eax
jne 0x53e22b
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 0x53e22b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x53e22b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x53e2a5
cmp dword [ebx + 0x14], 0xcc
je 0x53e2a5
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.0053e2b0
pop ebx
ret
Function at 0x558a84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov edx, edi
mov eax, ebx
call fcn.00557a00
cmp dword [ebx + 0xe8], 0
je 0x558c7e
cmp dword [ebx + 0xec], 0
je 0x558c7e
mov dword [ebx + 0x1e4], edi
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x552f74]
call fcn.00554614
mov esi, eax
mov dword [ebx + 0x120], esi
xor edx, edx
mov eax, esi
call fcn.0051c620
mov eax, dword [ebx + 0x120]
mov dword [eax + 0xd4], ebx
mov dword [eax + 0xd0], 0x558e44
mov dword [eax + 0xcc], ebx
mov dword [eax + 0xc8], 0x558f94
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x558fe4
mov dword [eax + 0x14c], ebx
mov dword [eax + 0x148], fcn.005554a4
mov edx, dword [ebx + 0xe8]
call fcn.00491c0c
mov edx, dword [ebx + 0xec]
mov eax, dword [ebx + 0x120]
call fcn.00491c40
mov eax, dword [ebx + 0xe4]
call fcn.0051b204
mov esi, eax
add esi, dword [edi + 0x30]
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
mov eax, dword [esp + 0xc]
mov edx, esi
add edx, dword [ebx + 0xec]
cmp eax, edx
jge 0x558ba3
mov eax, dword [ebx + 0xe4]
call fcn.0051b204
mov esi, eax
sub esi, dword [ebx + 0xec]
add esi, dword [edi + 0x38]
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
cmp esi, dword [esp + 4]
jge 0x558ba3
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
mov esi, dword [esp + 4]
mov edx, esi
mov eax, dword [ebx + 0x120]
call fcn.005211cc
mov eax, dword [ebx + 0xe4]
call fcn.0051b1e4
mov esi, eax
mov eax, dword [ebx + 0xe4]
add esi, dword [eax + 0x50]
sub esi, dword [ebx + 0x9c]
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
mov eax, dword [esp + 8]
mov edx, esi
add edx, dword [ebx + 0xe8]
cmp eax, edx
jge 0x558c03
mov eax, dword [ebx + 0xe4]
call fcn.0051b1e4
mov esi, eax
sub esi, dword [ebx + 0xe8]
add esi, dword [ebx + 0x9c]
mov edx, esi
mov eax, dword [ebx + 0x120]
call fcn.00521190
mov eax, dword [ebx + 0x120]
call fcn.0049b6d4
mov esi, eax
mov eax, dword [ebx + 0x120]
call fcn.0049b6d4
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edx, esi
mov esi, 0xffffffec
or eax, 0x80000
push eax
push esi
push edx
call sub.user32.dll_SetWindowLongW
mov byte [ebx + 0x11c], 0
mov byte [ebx + 0x11d], 0
mov byte [ebx + 0x11e], 0
mov byte [ebx + 0x11f], 0
mov eax, ebx
call fcn.00558654
push 4
mov eax, dword [ebx + 0x120]
call fcn.0049b6d4
push eax
call sub.user32.dll_ShowWindow
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x55901c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.00557d50
cmp dword [ebx + 0x124], 0
je 0x5591f3
cmp dword [ebx + 0x128], 0
je 0x5591f3
mov dword [ebx + 0x1e8], esi
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x552f74]
call fcn.00554614
mov edi, eax
mov dword [ebx + 0x15c], edi
xor edx, edx
mov eax, edi
call fcn.0051c620
mov eax, dword [ebx + 0x15c]
mov dword [eax + 0xd4], ebx
mov dword [eax + 0xd0], 0x5593b8
mov dword [eax + 0xcc], ebx
mov dword [eax + 0xc8], 0x5594b8
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x559508
mov edx, dword [ebx + 0x124]
call fcn.00491c0c
mov edx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x15c]
call fcn.00491c40
mov eax, dword [ebx + 0x120]
call fcn.0051b204
add eax, dword [esi + 0x30]
mov esi, eax
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
mov eax, dword [esp + 0xc]
mov edx, esi
add edx, dword [ebx + 0x128]
cmp eax, edx
jge 0x559118
mov eax, dword [ebx + 0x120]
call fcn.0051b204
mov edx, eax
mov eax, dword [ebx + 0x120]
add edx, dword [eax + 0x54]
sub edx, dword [ebx + 0x128]
mov eax, dword [ebx + 0x15c]
call fcn.005211cc
jmp 0x559125
mov edx, esi
mov eax, dword [ebx + 0x15c]
call fcn.005211cc
mov eax, dword [ebx + 0x120]
call fcn.0051b1e4
mov esi, eax
mov eax, dword [ebx + 0x120]
add esi, dword [eax + 0x50]
sub esi, dword [ebx + 0x9c]
mov edx, esp
mov eax, dword [0x617088]
mov eax, dword [eax]
call fcn.005230dc
mov eax, dword [esp + 8]
mov edx, esi
add edx, dword [ebx + 0x124]
cmp eax, edx
jge 0x559178
mov eax, dword [ebx + 0x120]
call fcn.0051b1e4
mov esi, eax
sub esi, dword [ebx + 0x124]
add esi, dword [ebx + 0x9c]
mov edx, esi
mov eax, dword [ebx + 0x15c]
call fcn.00521190
mov eax, dword [ebx + 0x15c]
call fcn.0049b6d4
mov esi, eax
mov eax, dword [ebx + 0x15c]
call fcn.0049b6d4
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edx, esi
mov esi, 0xffffffec
or eax, 0x80000
push eax
push esi
push edx
call sub.user32.dll_SetWindowLongW
mov byte [ebx + 0x158], 0
mov byte [ebx + 0x159], 0
mov byte [ebx + 0x15a], 0
mov byte [ebx + 0x15b], 0
mov eax, ebx
call fcn.0055872c
push 4
mov eax, dword [ebx + 0x15c]
call fcn.0049b6d4
push eax
call sub.user32.dll_ShowWindow
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x56c670
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x56c7e3
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x56c7be
push dword fs:[edx]
mov dword fs:[edx], esp
mov word [ebp - 0x216], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x21c]
mov edx, esi
call fcn.00407c34
lea eax, [ebp - 0x21c]
mov edx, 0x56c7fc
call fcn.00407e20
mov eax, dword [ebp - 0x21c]
call fcn.00407c1c
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x56c72f
lea eax, [ebp - 0x216]
call fcn.004073a0
lea edx, [ebp - 0x216]
mov ecx, ebx
xchg ecx, eax
call fcn.0040700c
jmp 0x56c736
mov eax, ebx
call fcn.00406e84
cmp si, 0x61
jae 0x56c758
lea edx, [ebp - 0x220]
mov eax, dword [ebx]
call fcn.004281d8
mov edx, dword [ebp - 0x220]
mov eax, ebx
call fcn.00407264
jmp 0x56c772
lea edx, [ebp - 0x224]
mov eax, dword [ebx]
call fcn.004281c4
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.00407264
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x22c], 0x11
lea edx, [ebp - 0x230]
xor ecx, ecx
mov eax, 0x56c810
call fcn.00422014
mov edx, dword [ebp - 0x228]
mov eax, ebx
call fcn.00407264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56c7c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5706c4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x57072d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004072ac
lea eax, [ebp - 8]
mov edx, esi
call fcn.004072ac
mov eax, dword [ebp - 8]
call fcn.00407c1c
push eax
mov eax, dword [ebp - 4]
call fcn.00407c1c
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x570734
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406ee4
ret
Function at 0x575d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406f68
xor eax, eax
push ebp
push 0x575e6c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [esi + 4]
mov word [ebx + 6], ax
movzx eax, word [esi + 6]
mov word [ebx + 8], ax
movzx eax, word [esi + 8]
mov word [ebx + 0xa], ax
movzx eax, word [esi + 0xa]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xc]
call fcn.00579880
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
movzx eax, word [esi + 0x20]
mov word [ebx + 0x22], ax
movzx eax, word [esi + 0x22]
mov word [ebx + 0x24], ax
movzx eax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0057083c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00577618
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005707cc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00577694
lea eax, [ebx + 0x50]
call fcn.00406ea8
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575e73
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406ee4
ret
Function at 0x575e7c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406f68
xor eax, eax
push ebp
push 0x575f88
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 6], 0
movzx eax, word [esi + 4]
mov word [ebx + 8], ax
movzx eax, word [esi + 6]
mov word [ebx + 0xa], ax
movzx eax, word [esi + 8]
mov word [ebx + 0x64], ax
mov eax, dword [esi + 0xa]
call fcn.00579880
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
movzx eax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
movzx eax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x575f4b
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0057083c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00577618
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005707cc
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00577694
jmp 0x575f5d
xor edx, edx
mov eax, ebx
call fcn.00577618
xor edx, edx
mov eax, ebx
call fcn.00577694
lea eax, [ebx + 0x50]
call fcn.00406ea8
mov byte [ebx + 0x54], 0
mov byte [ebx + 0x56], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x575f8f
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406ee4
ret

Function at 0x579d78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406f68
xor eax, eax
push ebp
push 0x579dd1
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00407c1c
mov esi, eax
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 2
je 0x579db9
push esi
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 5
jne 0x579dbb
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579dd8
lea eax, [ebp - 4]
call fcn.00406e84
ret

Function at 0x579de0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406f68
xor eax, eax
push ebp
push 0x579e44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x1c
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c1c
push eax
call sub.kernel32.dll_GetVolumeInformationW
mov edx, ebx
lea eax, [ebp - 0x28]
call fcn.00421e1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x579e4b
lea eax, [ebp - 4]
call fcn.00406e84
ret
Function at 0x57a605
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x57ab7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
xor eax, eax
mov dword [ebp - 4], eax
push 0x104
push dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, 0x104
push edx
call fcn.0057a290
add esp, 0xc
cmp dword [ebp - 4], 0x104
jae 0x57abd0
mov ecx, 0x104
sub ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
push eax
mov edx, dword [ebp + 8]
call dword [edx + 0x20c]
add esp, 8
add dword [ebp - 4], eax
cmp dword [ebp - 4], 0x104
jb 0x57aba8
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov cl, byte [edx + eax + 0x104]
not cl
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
xor byte [edx + eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x104
jb 0x57abd5
push dword [ebp + 8]
call fcn.0057aac8
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0x104
push ecx
call fcn.0057aac8
pop ecx
pop ecx
pop ebp
ret

Function at 0x57c0b6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x9c], 0xffffffff
je 0x57c164
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x9c], 0x40
jbe 0x57c0f5
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0x10]
call fcn.0057a6e5
add esp, 8
mov eax, dword [ebp + 0x10]
mov dword [eax + 0x9c], 0x14
mov edx, 0x40
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + 0x9c]
push edx
push 0
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x10]
add eax, dword [edx + 0x9c]
push eax
call fcn.0057a27c
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
xor dword [edx + eax*4], 0x36363636
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jb 0x57c120
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
call fcn.0057a605
pop ecx
mov eax, dword [ebp + 0x10]
add eax, 0x40
push eax
push 0x40
push dword [ebp + 0x10]
call fcn.0057a649
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [edx + 0x9c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x57c17f
mov ecx, dword [ebp + 0x10]
add ecx, 0x40
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0057a649
add esp, 0xc
pop ecx
pop ebp
ret