joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b26c
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407d28
xor eax, eax
push ebp
push 0x40b32c
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040875c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040890c
mov eax, dword [ebx]
call fcn.0040b11c
test al, al
jne 0x40b309
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040875c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040890c
mov eax, dword [ebx]
call fcn.0040b11c
test al, al
jne 0x40b309
mov eax, ebx
call fcn.00407c44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b333
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ca4
lea eax, [ebp - 4]
call fcn.00407c44
ret

Function at 0x40cccc
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41a278
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41a3a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.kernel32.dll_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x41a380
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.kernel32.dll_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x41a369
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040875c
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408bd4
test eax, eax
jle 0x41a369
mov eax, dword [ebp - 4]
test eax, eax
je 0x41a31d
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41a32b
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00408a7c
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00408720
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040890c
jmp 0x41a380
add ebx, 2
cmp word [ebx], 0
jne 0x41a366
add ebx, 4
test ebx, ebx
je 0x41a37a
cmp word [ebx], 0
jne 0x41a2ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a3ad
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00407ca4
lea eax, [ebp - 4]
call fcn.00407c44
ret
Function at 0x41a4a0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a6dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00407c44
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileSize
mov ebx, eax
test ebx, ebx
jne 0x41a577
cmp dword [ebp - 0x14], 0
jne 0x41a577
xor edx, edx
mov eax, 6
call fcn.004220c4
test al, al
je 0x41a577
push 2
push 0x104
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFinalPathNameByHandleW
test eax, eax
jbe 0x41a577
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040875c
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041a278
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00408024
mov byte [ebp - 9], 1
jmp 0x41a6bf
test ebx, ebx
jne 0x41a585
cmp dword [ebp - 0x14], 0
je 0x41a673
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x41a673
xor eax, eax
push ebp
push 0x41a66c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x41a655
xor eax, eax
push ebp
push 0x41a64e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.kernel32.dll_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.0040f0cc
test eax, eax
jbe 0x41a637
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040875c
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0041a278
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00408024
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a655
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a673
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x41a6bf
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041a3b4
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00408024
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41a6bf
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041a278
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00408024
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a6e4
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00407ca4
ret
Function at 0x41a6f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.004220c4
test al, al
je 0x41a7b8
xor edx, edx
mov eax, ebx
call fcn.0041bb00
test al, al
je 0x41a7b8
mov eax, ebx
call fcn.0041b830
test al, 0x20
je 0x41a7b8
mov eax, ebx
call fcn.004086bc
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41a7b8
test ah, 4
je 0x41a7b8
test al, 0x10
je 0x41a757
mov edi, 0x2000000
jmp 0x41a759
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004086bc
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41a7b8
xor eax, eax
push ebp
push 0x41a7b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041a4a0
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a7b8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41a85c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41a8b5
test eax, edx
je 0x41a8b8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41a873
movzx eax, word [eax]
sub eax, ecx
jmp 0x41a89a
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 0x41a89b
add ecx, 4
js 0x41a88b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41a898
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41a89a
xor eax, eax
ret
test eax, eax
je 0x41a8c4
test edx, edx
jne 0x41a864
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41b830
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x41b994
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x41b7d0]
call fcn.00409e28
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x41b800]
call fcn.00409e28
add esp, 4
movzx ebx, byte [0x41b9a4]
mov dl, 1
mov eax, esi
call fcn.0041bb98
test al, al
jne 0x41b8aa
mov dl, 1
mov eax, esi
call fcn.0041bb00
test al, al
je 0x41b934
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0041c398
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042261c
push 0x104
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x104
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004086bc
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x41b92f
test byte [ebp - 0x14], 1
je 0x41b8fa
or bl, 1
test byte [ebp - 0x14], 2
je 0x41b903
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x41b90c
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x41b920
dec eax
je 0x41b925
dec eax
je 0x41b92a
dec eax
jne 0x41b955
or bl, 0x10
jmp 0x41b955
or bl, 4
jmp 0x41b955
or bl, 8
jmp 0x41b955
call fcn.0042364c
lea edx, [ebp - 0x20]
mov eax, dword [0x4d4f28]
call fcn.0040cc18
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x416108]
call fcn.004213d4
call fcn.00407340
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b99b
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407ca4
lea eax, [ebp - 0xc]
mov edx, dword [0x41b800]
call fcn.00409f4c
lea eax, [ebp - 8]
mov edx, dword [0x41b7d0]
call fcn.00409f4c
lea eax, [ebp - 4]
call fcn.00407c44
ret

Function at 0x41ba00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x41ba2d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x41bb00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.004086bc
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41bb6a
test ah, 4
je 0x41bb63
test bl, bl
jne 0x41bb28
mov al, 1
jmp 0x41bb91
test al, 0x10
je 0x41bb30
xor eax, eax
jmp 0x41bb91
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41bb54
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41bb91
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41bb91
test al, 0x10
sete al
jmp 0x41bb91
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41bb8b
cmp ebx, 3
je 0x41bb8b
cmp ebx, 0x7b
je 0x41bb8b
mov eax, esi
call fcn.0041bac0
test al, al
jne 0x41bb8f
xor eax, eax
jmp 0x41bb91
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41bb98
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.004086bc
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41bc3f
test esi, 0x400
jne 0x41bbd4
test esi, 0x10
setne bl
jmp 0x41bc6f
cmp byte [esp], 0
je 0x41bc08
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41bc6f
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x41bc6f
test esi, 0x10
je 0x41bc14
mov bl, 1
jmp 0x41bc6f
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41bc3b
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x41bc6f
mov bl, 1
jmp 0x41bc6f
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41bc69
cmp eax, 3
je 0x41bc69
cmp eax, 0xa1
je 0x41bc69
cmp eax, 0x7b
je 0x41bc69
cmp eax, 0x35
je 0x41bc69
cmp eax, 0x15
je 0x41bc69
cmp eax, 0x43
jne 0x41bc6d
xor ebx, ebx
jmp 0x41bc6f
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41bd70
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x41be15
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004086bc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x41bdfa
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0041a6f0
test al, al
je 0x41bdfa
mov eax, dword [ebp - 4]
call fcn.0041c5ac
test al, al
je 0x41bdea
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0041c204
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042261c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040890c
mov eax, dword [ebp - 4]
call fcn.004086bc
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41be1c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407ca4
ret
Function at 0x41be28
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41befb
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040806c
cmp byte [ebp - 9], 0
je 0x41beb9
mov eax, ebx
call fcn.004086bc
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41beb9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041a6f0
test al, al
je 0x41beb9
mov eax, dword [ebp - 8]
call fcn.0041c5ac
test al, al
je 0x41beae
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041c204
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042261c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040890c
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040806c
push edi
mov eax, dword [ebp - 4]
call fcn.004086bc
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41bed3
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41bf02
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ca4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ca4
ret

Function at 0x41c038
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.004086bc
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41c08d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41c087
test ah, 4
je 0x41c087
test al, 0x10
je 0x41c087
mov eax, esi
call fcn.004086bc
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41c08d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4201c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4201fd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407dcc
jmp 0x420206
mov eax, ebx
mov edx, esi
call fcn.00408024
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x420210
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x420232
movzx eax, word [esp]
jmp 0x420234
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x421284
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x4213a9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042108c
mov esi, eax
mov eax, dword [0x4d4eb4]
cmp byte [eax], 0
je 0x421351
mov eax, dword [0x4d4d04]
call fcn.00405a10
call fcn.00405574
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x421254]
call fcn.00409e28
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4213c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42138d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d4ccc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d8634]
call fcn.0040a218
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4213b0
lea eax, [ebp - 4]
mov edx, dword [0x421254]
call fcn.00409f4c
ret
Function at 0x4220f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4221f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040806c
lea eax, [ebp - 4]
call fcn.00408180
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004086bc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4221da
mov eax, ebx
call fcn.00405400
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4221d3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004086bc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4221bd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x422204
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4221bd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4221da
mov eax, dword [ebp - 0x10]
call fcn.0040541c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4221f7
lea eax, [ebp - 4]
call fcn.00407c44
ret
Function at 0x4659e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x4659e8
mov eax, edx
pop esi
pop ebx
ret

Function at 0x496bc4
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x496c07
cmp byte [ebx + 0x11], 0
jne 0x496c07
cmp byte [ebx + 0x2c], 0
jne 0x496c07
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x496c1e
mov ecx, dword [0x4d4e74]
mov dl, 1
mov eax, dword [0x473008]
call fcn.00421490
call fcn.00407340
pop ebx
ret
mov ecx, dword [0x4d4e74]
mov dl, 1
mov eax, dword [0x473008]
call fcn.00421490
call fcn.00407340
pop ebx
ret

Function at 0x497054
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4970a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00496b10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4970bb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b0a84
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x4b0ae9
mov eax, dword [esp]
call fcn.004b0cc8
test al, al
je 0x4b0ae9
mov eax, dword [esp]
call fcn.004b0b44
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x4b0acc
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x4b0ae9
cmp ax, 0x5a
ja 0x4b0ae9
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4b9ce4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x4d2b5c
test edx, edx
jne 0x4b9d03
xor eax, eax
jmp 0x4b9e21
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x4b9d20
push esi
push edx
push eax
call fcn.004b9e44
add esp, 0xc
jmp 0x4b9e21
push esi
push edx
push eax
call fcn.004ba104
add esp, 0xc
jmp 0x4b9e21
pop esi
pop ebx
pop ecx
pop ebp
ret