joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d8fb0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov esi, eax
mov ebx, ecx
jne 0x7d8fd9
push esi
call fcn.007d8920
test al, al
jne 0x7d8fd9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x48]
push eax
push ecx
call fcn.007d3150
mov edi, eax
call fcn.007d3510
add esp, 4
push eax
mov eax, 0x40
call fcn.007d6fc0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0xc0]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 0x40
call fcn.007d5560
mov ecx, dword [ebp - 4]
add esp, 0x10
xor eax, eax
push 4
lea edx, [ebp - 4]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x80], al
push 0x10
mov eax, esi
mov byte [ebp + ecx - 0xc0], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
mov dword [ebp - 0x20], 0xc3d2e1f0
call fcn.007d52d0
test al, al
je 0x7d906b
mov edi, dword [ebp - 4]
jmp 0x7d906e
or edi, 0xffffffff
push 4
lea eax, [ebp - 4]
push eax
push 0xc
mov eax, esi
call fcn.007d52d0
test al, al
je 0x7d9086
mov eax, dword [ebp - 4]
jmp 0x7d9089
or eax, 0xffffffff
push edi
push eax
push esi
lea esi, [ebp - 0x80]
call fcn.007d57e0
cmp byte [ebp - 0x80], 0
mov dword [ebp - 4], 0x40
jne 0x7d90aa
call fcn.007d5d10
mov byte [ebp - 0x80], 1
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x30]
bswap ecx
mov dword [ebp + eax*4 - 0x1c], ecx
inc eax
cmp eax, 5
jb 0x7d90b0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x1c]
push 0x14
push ecx
call fcn.007d5560
mov edx, dword [ebp - 4]
add esp, 0x10
cmp byte [ebp + 0xc], 0
mov byte [ebp + edx - 0x100], 0
mov eax, 0x7f13dc
jne 0x7d90f4
mov eax, 0x7f13f4
push 0
push eax
mov edi, ebx
call fcn.007d8e30
mov eax, dword [ebp + 8]
push 1
push eax
call fcn.007d8e30
push 0
push 0x7f140c
call fcn.007d8e30
push 1
lea ecx, [ebp - 0xc0]
push ecx
call fcn.007d8e30
push 0
push 0x7f1414
call fcn.007d8e30
push 1
lea edx, [ebp - 0x100]
push edx
call fcn.007d8e30
cmp byte [ebp + 0xc], 0
je 0x7d9148
call fcn.007d8f10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x7d9350
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
cmp byte [ebp + 0x10], 0
push ebx
push esi
push edi
jne 0x7d936f
mov ebx, dword [ebp + 8]
push eax
call fcn.007d8920
test al, al
je 0x7d93a9
mov ebx, dword [ebp + 0xc]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7d9377
sub eax, edx
mov esi, eax
push esi
mov dword [ebp + 0xc], esi
call fcn.007dfd64
lea ecx, [ebp + 0xc]
push ecx
mov edi, eax
push edi
push esi
push ebx
call fcn.007d5680
add esp, 0x14
test al, al
jne 0x7d93b4
push edi
call fcn.007e0454
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0xc]
xor ebx, ebx
push edx
push edi
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x1c], 0xc3d2e1f0
mov byte [ebp - 0x7c], bl
call fcn.007d5790
mov dword [ebp + 0xc], 0x40
cmp byte [ebp - 0x7c], bl
jne 0x7d9407
call fcn.007d5d10
mov byte [ebp - 0x7c], 1
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x2c]
bswap ecx
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
cmp eax, 5
jb 0x7d9410
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x18]
push 0x14
push ecx
call fcn.007d5560
mov edx, dword [ebp + 0xc]
push edi
mov byte [ebp + edx - 0xbc], bl
call fcn.007e0454
mov bl, byte [ebp + 0x10]
add esp, 0x14
mov eax, 0x7f1438
test bl, bl
jne 0x7d945a
mov eax, 0x7f1450
mov edi, dword [ebp + 8]
push 0
push eax
call fcn.007d8e30
push 1
lea eax, [ebp - 0xbc]
push eax
call fcn.007d8e30
test bl, bl
je 0x7d947c
call fcn.007d8f10
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10013a4
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x248]
mov edi, 0xfffff758
and eax, edi
or eax, dword [ebp + 8]
push eax
lea eax, [esi + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x10013e4
mov eax, dword [esi + 0x248]
and eax, edi
or eax, dword [ebp + 8]
mov dword [esi + 0x248], eax
mov al, 1
jmp 0x10013f5
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10013f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor al, al
pop edi
pop esi
pop ebp
ret 8
Function at 0x4011a0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x4377cc
call fcn.00401570
push 0x40
push 0x4080f0
push 0x4377cc
push 0x4377cc
call fcn.00401400
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x40122b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x40a034]
mov ecx, 8
mov esi, eax
mov edi, 0x43784c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x40a030]
mov edx, dword [0x40a034]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x40a030]
add esp, 0x14
mov ecx, 8
mov esi, 0x43784c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x4011df
jmp 0x401284
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x40a030]
mov ecx, 8
mov esi, eax
mov edi, 0x43784c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00401340
mov ecx, dword [0x40a034]
mov edx, dword [0x40a030]
push 0x20
push ecx
push edx
call fcn.00401450
mov edi, dword [0x40a034]
add esp, 0x14
mov ecx, 8
mov esi, 0x43784c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x40123a
push 0x40
push 0x408130
push 0x4377cc
push 0x4377cc
call fcn.00401400
mov eax, dword [esp + 0x24]
push 0x40
push 0x4377cc
push eax
call fcn.004015b0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4012c0
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x43786c
call fcn.00401570
push 0x38
push str.91__
push 0x43786c
push 0x43786c
call fcn.00401400
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x408228]
mov edx, dword [0x40a038]
push ecx
push 0x1c
push edx
call fcn.004014c0
movsx eax, byte [esi + 0x408228]
mov ecx, dword [0x40a03c]
push eax
push 0x1c
push ecx
call fcn.004014c0
push 0x30
push 0x4081f8
push 0x43786c
push edi
call fcn.00401400
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x4012f2
pop edi
pop esi
ret

Function at 0x401340
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x408170
push esi
push 0x43780c
call fcn.00401400
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x43780c
call fcn.00401450
push 0x43780c
push esi
call fcn.00401390
push 0x20
push 0x4081a0
push esi
push esi
call fcn.00401400
add esp, 0x34
pop esi
ret

Function at 0x401450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 0x408ab0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xd
call fcn.00402496
mov esi, dword [ebp + 0x10]
test esi, esi
jle 0x4014a9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x40149c
mov eax, 0x4014af
ret
Function at 0x401820
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x2c]
xor ecx, ecx
push esi
mov dword [esp + 4], 0
mov eax, dword [eax]
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0x4019a3
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
add esi, 0x24
mov bl, 0x6c
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x40188b
mov edx, dword [esi - 0x14]
mov eax, dword [esi - 0x1c]
push 0x4000
push edx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x401980
lea ecx, [edx + ecx*2]
test eax, 0x4000000
lea edx, [edi + ecx*2]
mov edi, dword [edx*4 + 0x40a04c]
je 0x4018a5
or edi, 0x200
mov ecx, dword [esi - 0x14]
test ecx, ecx
jne 0x4018ce
test al, 0x40
je 0x4018bb
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
jmp 0x4018cc
test al, 0x80
je 0x401980
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x24]
test ecx, ecx
jbe 0x401980
lea edx, [esp + 0x28]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x30], 0x56
mov byte [esp + 0x31], 0x69
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x74
mov byte [esp + 0x34], 0x75
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], 0x50
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x74
mov byte [esp + 0x3b], 0x65
mov byte [esp + 0x3c], 0x63
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], 0
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x21], 0x45
mov byte [esp + 0x22], 0x52
mov byte [esp + 0x23], 0x4e
mov byte [esp + 0x24], 0x45
mov byte [esp + 0x25], 0x4c
mov byte [esp + 0x26], 0x33
mov byte [esp + 0x27], 0x32
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
mov edx, dword [esi - 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x1c]
push edi
push edx
push ecx
call eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
inc eax
add esi, 0x28
mov ecx, dword [edx]
xor edx, edx
mov dword [esp + 0x10], eax
mov dx, word [ecx + 6]
cmp eax, edx
jl 0x401855
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x28
ret
Function at 0x403508
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x567008], 0x8088405
inc edx
mov dword [ebx + 0x567008], edx
fld qword [ebx + 0x567784]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x4085c4
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
xor eax, eax
mov dword [0x5677c8], eax
push 0
call sub.KERNEL32.DLL_WinExec
mov dword [0x56eb20], eax
mov eax, dword [0x56eb20]
mov dword [0x5677d4], eax
xor eax, eax
mov dword [0x5677d8], eax
xor eax, eax
mov dword [0x5677dc], eax
call fcn.004085b8
mov edx, 0x5677d0
mov eax, ebx
call fcn.00404fdc
pop ebx
ret

Function at 0x40be14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40bebd
test eax, edx
je 0x40bec0
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40be3d
push edx
mov edx, eax
mov eax, esp
call fcn.00406220
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40be53
push eax
lea eax, [esp + 8]
call fcn.00406220
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40be62
movzx eax, word [eax]
sub eax, ecx
jmp 0x40be89
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40bea3
add ecx, 4
js 0x40be7a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40bea0
push eax
mov eax, ecx
mov edx, 2
call fcn.00405498
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40be87
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40be89
xor eax, eax
ret
test eax, eax
je 0x40bed0
test edx, edx
jne 0x40be24
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x411ed0
Capabilities:
Get disk size

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00411d08
mov eax, dword [0x56b920]
cmp byte [eax], 0
je 0x411f62
mov eax, dword [0x56b47c]
call fcn.00403910
call fcn.0040322c
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.0040906c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040d5fc
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call fcn.00408c0c
push eax
call fcn.00408d94
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x411fb0
push 0xfffffffffffffff4
call fcn.00408c0c
push eax
call fcn.00408d94
jmp 0x411f9b
push pe_nt_image_headers32
lea eax, [esp + 8]
push eax
mov eax, dword [0x56b3cc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x56eb20]
call fcn.00407790
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.KERNEL32.DLL_GetDiskFreeSpaceW
add esp, 0x1084
ret
Function at 0x412bf0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x412cc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406048
lea eax, [ebp - 4]
call fcn.00406974
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406080
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x412cb0
mov eax, ebx
call fcn.004030c4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x412ca9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00406080
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x412c93
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x412cd8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x412c93
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412cb0
mov eax, dword [ebp - 0x10]
call fcn.004030e0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x412ccd
lea eax, [ebp - 4]
call fcn.00405fe4
ret

Function at 0x413e9b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004057b8
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.00408cd4
mov edi, eax
cmp edi, 0x104
jbe 0x413ebe
mov eax, edi
add eax, eax
call fcn.004030c4
mov esi, eax
jmp 0x413ec0
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.00408cd4
push edi
push esi
call fcn.00409074
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x413ef9
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x413ee3
mov eax, esp
cmp esi, eax
je 0x413f06
mov eax, esi
call fcn.004030e0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x413f40
cmp bl, 0
je 0x413f3c
cmp bl, 0x41
jl 0x413f37
cmp bl, 0x5a
jg 0x413f37
or bl, 0x20
xor al, bl
inc esi
jmp 0x413f1b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x413e80

Function at 0x42cdf4
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x42ce22
cmp byte [ebx + 0xc], 0
jne 0x42ce0a
push eax
call sub.advapi32.dll_RegSetValueExW
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegCreateKeyExW
xor eax, eax
mov dword [ebx + 4], eax
lea eax, [ebx + 0x10]
xor edx, edx
call fcn.00405ff4
pop ebx
ret
Function at 0x42d3dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0042ccf0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00406080
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x42d43b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x56b728]
mov dl, 1
mov eax, dword [0x42cb68]
call fcn.004120dc
call fcn.00404c7c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e7e4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42e7ea
ret

Function at 0x4455f0
Capabilities:
Delete file
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov ebx, edx
mov esi, eax
push 0
movzx eax, bl
push eax
push 0x14f
mov eax, esi
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
mov edx, esp
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0xffffffffffffffff
lea eax, [esp + 4]
push eax
mov eax, esi
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_DeleteFileW
add esp, 0x10
pop esi
pop ebx
ret
Function at 0x4498ec
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push 0
push esi
push 0x187
mov eax, ebx
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
cmp eax, 0xffffffff
jne 0x449931
mov dword [esp], esi
mov byte [esp + 4], 0
push esp
push 0
mov ecx, dword [0x56b970]
mov dl, 1
mov eax, dword [0x41e2e0]
call fcn.004120dc
call fcn.00404c7c
cmp eax, 1
sbb eax, eax
inc eax
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44a6fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx eax, byte [eax + 0x290]
add al, 0xfd
sub al, 2
jae 0x44a72f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x274]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044ab14
mov ebx, eax
jmp 0x44a756
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x274]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046d87c
or ecx, 0xffffffff
mov edx, 0x18f
call fcn.00409800
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44a7ba
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x260], 0
je 0x44a79b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax]
call dword [edx + 0xec]
movzx esi, bx
mov eax, esi
shl esi, 0x10
or eax, esi
push eax
push 1
push 0x19b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov si, 0xffeb
call fcn.00404498
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
movzx eax, word [eax]
sub ax, 8
je 0x44a7e0
sub ax, 5
je 0x44a7e0
sub ax, 0xe
je 0x44a7e0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov word [eax], 0
pop esi
pop ebx
pop ebp
ret
Function at 0x44a9e4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44aab9
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebx + 0x290]
add al, 0xfd
sub al, 2
jae 0x44aa6d
push 0
push esi
push 0x1a7
mov eax, ebx
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
cmp eax, 0xffffffff
je 0x44aa3a
cmp eax, 0xfffffffe
je 0x44aa3a
mov dword [ebx + 0x26c], esi
jmp 0x44aa9e
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 8]
push eax
push 0
lea edx, [ebp - 0xc]
mov eax, dword [0x56b964]
call fcn.004083d4
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x40a56c]
call fcn.00412020
call fcn.00404c7c
jmp 0x44aa9e
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 8]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x56b474]
call fcn.004083d4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40a56c]
call fcn.00412020
call fcn.00404c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44aac0
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00405fec
ret

Function at 0x44ce24
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, eax
xor ebx, ebx
mov eax, dword [ebp + 0x1a8]
mov esi, dword [eax + 0xc]
cmp byte [ebp + 0x57], 0
je 0x44ceb6
test byte [ebp + 0x1c], 1
jne 0x44ceb6
test esi, esi
je 0x44ceb6
cmp byte [esi + 0x22], 0
je 0x44ceb6
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x28]
test eax, eax
jne 0x44ce5c
mov byte [esi + 0x22], 0
jmp 0x44ceb6
mov dl, 1
mov eax, ebp
call fcn.0047affc
mov edi, eax
test edi, edi
je 0x44ceb6
cmp byte [edi + 0x286], 0
je 0x44ceb6
mov eax, edi
call fcn.0046dc28
test al, al
je 0x44ceb6
cmp byte [ebp + 0x1bc], 0
je 0x44ce9a
push 0
xor ecx, ecx
mov edx, 0x30f
mov eax, edi
call fcn.0046628c
jmp 0x44ceb0
push 0
push 0
push 0x30f
mov eax, edi
call fcn.0046d87c
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
mov bl, 1
mov byte [esi + 0x22], 0
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4513c4
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
mov eax, dword [0x56b634]
cmp byte [eax], 0
je 0x451407
cmp dword [ebx + 0x38], 0
je 0x451407
mov eax, esp
push eax
push 0x105
push 0x465
mov eax, dword [ebx + 0x38]
push eax
call sub.KERNEL32.DLL_GetFileType
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
mov edx, esi
mov eax, esp
call fcn.0040da50
jmp 0x451414
mov eax, esi
mov edx, dword [ebx + 0x88]
call fcn.00405ff4
add esp, 0x20c
pop esi
pop ebx
ret
Function at 0x453278
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
test byte [eax + 0x59], 4
setne dl
neg dl
sbb edx, edx
push edx
push 0x467
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
mov eax, dword [ebx + 4]
test byte [eax + 0x59], 4
je 0x4532b9
mov edx, dword [ebx + 8]
push edx
push 0xffffffffffffffff
push 0x46b
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
jmp 0x4532ee
movzx edx, word [ebx + 0x10]
movzx ecx, word [ebx + 0xc]
shl ecx, 0x10
or edx, ecx
push edx
push 0
push 0x469
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
push 0
mov eax, dword [ebx + 0x14]
push eax
push 0x46a
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
push 0
movzx eax, byte [ebx + 0x18]
mov eax, dword [eax*4 + 0x568810]
push eax
push 0x468
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x64]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
pop ebx
ret