joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x42901690
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rdata
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x181e12a4
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5fdf29c4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1fa71cb6
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10015910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1001591f
pop dword [ebp - 0x2c]
mov eax, 0x7315bbc1
add eax, 0x9ceb9d5e
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x2be4d3c
add dword [ebp - 0x3c], 0x4b93f80f
mov dword [ebp - 0x38], 0x3061e9a6
sub dword [ebp - 0x38], 0xfe2e9d61
mov dword [ebp - 0x34], 0x2afcb8b1
add dword [ebp - 0x34], 0x214f8b7d
mov dword [ebp - 0x30], 0x35d31d4c
add dword [ebp - 0x30], 0xca2ce2b4
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x6c957e87
sub eax, 0x5c93ce77
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x68ec5b70
sub dword [ebp - 0x3c], 0xf479f21a
mov dword [ebp - 0x38], 0xb180f234
add dword [ebp - 0x38], 0x8feb6f41
mov dword [ebp - 0x34], 0xb13917b
sub dword [ebp - 0x34], 0xa7a4250f
mov dword [ebp - 0x30], 0x4e06319c
sub dword [ebp - 0x30], 0x4e06319c
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xd45bb4b3
sub eax, 0xc45a049f
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x40d47
push 0
call eax
mov ecx, 0x5243
mov edi, eax
mov esi, 0x5e2f9ea1
sub esi, 0x4e2ceea1
add esi, dword [ebp - 0x2c]
mov ebx, 0x609860f9
sub dword [ebp - 0x18], edx
mov edx, dword [esi]
sub dword [ebp - 0x28], 0x63cb266
add edx, ebx
add dword [ebp - 0xc], edx
mov dword [edi], edx
xor dword [ebp - 0x1c], 0xec868e90
add edi, 0x870d2071
sub edi, 0x870d206d
add esi, 0xa0226321
add esi, 0x5fdd9ce3
loop 0x10015a35
add eax, 0xbbfd276c
add eax, 0x44041473
xor ebx, ebx
add ebx, eax
add eax, 0xa4ed92f9
add eax, 0x5b126d0c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x405254
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffbe4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x405296
movzx eax, bl
add ax, 0x41
dec eax
mov word [esp], ax
mov word [esp + 2], 0x3a
mov word [esp + 4], 0
lea eax, [esp + 0x212]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
push esp
call sub.kernel32.dll_SetCurrentDirectoryW
lea eax, [esp + 8]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryW
test bl, bl
je 0x4052b6
lea eax, [esp + 0x212]
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
mov eax, esi
lea edx, [esp + 8]
mov ecx, 0x105
call fcn.00408ee4
add esp, 0x41c
pop esi
pop ebx
ret

Function at 0x40550c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00408170
test esi, esi
jne 0x405542
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004082f8
jmp 0x405560
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004053f0
mov edi, eax
test esi, esi
je 0x405560
cmp dword [ebx], 0
je 0x405560
dec esi
jmp 0x405549
add esp, 0x20c
pop edi
pop esi
pop ebx
ret
Function at 0x406e34
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00407294
mov byte [esp], al
cmp byte [esp], 0
jne 0x406fbe
test edi, edi
je 0x406fbe
mov byte [esp + 1], 0
test ebp, ebp
jle 0x406efe
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x406ed9
cmp edi, 0xffffffff
je 0x406e99
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406e99
mov byte [esp], 0
jmp 0x406fbe
mov ebx, dword [esi]
cmp ebx, 1
jg 0x406ed9
test ebx, ebx
jne 0x406ecb
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x406ecb
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406fbe
lea eax, [esp + 0xc]
call fcn.00406b14
dec ebp
test ebp, ebp
jg 0x406e7e
cmp edi, 0xffffffff
je 0x406efe
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x406efc
mov byte [esp], 0
jmp 0x406fbe
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x406e42
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406efe
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040702c
mov edx, eax
mov ebx, dword [0x5228fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406f62
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406f60
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406f62
xor edi, edi
cmp byte [esp], 0
je 0x406f88
mov ebx, dword [esi]
test bl, 1
jne 0x406f9e
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406f68
mov byte [esp + 1], 1
jmp 0x406f9e
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x406f88
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x406f15
cmp byte [esp], 0
je 0x406fbe
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x407e00
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x52205c], 0
je 0x407e67
cmp word [0x522348], 0xd7b2
jne 0x407e29
cmp dword [0x522350], 0
jbe 0x407e29
mov eax, 0x522344
call dword [0x522360]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push 0x51d9d0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x407e94
call fcn.00408afc
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51d032], 0
jne 0x407e83
push 0
push 0x51d9ca
push 0x51d9d0
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408030
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x51d034], 0
je 0x40805b
mov edx, edi
mov eax, esi
call dword [0x51d034]
mov ebx, eax
jmp 0x40806c
mov eax, 8
call fcn.004050b0
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x52205d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x407ff8
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40809c
mov eax, ebx
call fcn.004050cc
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40ac20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40ad85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408170
cmp si, word [0x51da08]
jb 0x40acb8
cmp si, word [0x51dc08]
ja 0x40acb8
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40acb8
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x51da08]
jae 0x40ac92
mov edi, ebx
dec edi
jmp 0x40acb3
cmp si, word [ebx*8 + 0x51da08]
jbe 0x40aca2
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40acb3
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x51da0c]
call fcn.0040ab40
jmp 0x40acb8
cmp edi, dword [ebp - 8]
jae 0x40ac7c
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40ad67
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40ad67
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408ee4
push dword [ebp - 0x160]
push 0x40ada0
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00408ee4
push dword [ebp - 0x164]
push 0x40adb0
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00408ee4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040911c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ad8c
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004081d0
ret
Function at 0x40af38
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40b03c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x524b8c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x524ba4]
jne 0x40af84
mov eax, esi
mov edx, 0x524ba6
mov ecx, 0x55
call fcn.00408ee4
push 0x524b8c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40b026
push 0x524b8c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00408170
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40aff3
cmp byte [0x524b88], 0
je 0x40afb8
mov edx, esi
mov eax, ebx
call fcn.0040ae1c
jmp 0x40aff3
mov edx, esi
mov eax, ebx
call fcn.0040ac20
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40aff3
cmp dword [esi], 0
je 0x40afdc
mov eax, esi
mov edx, 0x40b054
call fcn.0040903c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040ac20
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040903c
push 0x524b8c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x524ba4], bx
mov eax, dword [esi]
call fcn.00408e40
mov ecx, eax
mov eax, 0x524ba6
mov edx, 0xaa
call fcn.0040aaa0
push 0x524b8c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b043
lea eax, [ebp - 4]
call fcn.00408170
ret
Function at 0x40b26c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408254
xor eax, eax
push ebp
push 0x40b491
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40b2ac
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40b2c6
mov eax, dword [ebp - 4]
call fcn.00408e40
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040aaa0
cmp word [ebp - 0x21a], 0
je 0x40b47b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b4a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b395
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b4a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b395
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b4dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b395
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b4dc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b395
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b510
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40b395
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40b544
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40b47b
xor eax, eax
push ebp
push 0x40b474
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040b07c
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40b404
mov eax, dword [ebp - 0x10]
call fcn.004050b0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408ea8
jmp 0x40b44f
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40b584
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40b44f
mov eax, dword [ebp - 0x10]
call fcn.004050b0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40b584
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00408ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b47b
cmp dword [ebp - 8], 0
je 0x40b46a
mov eax, dword [ebp - 8]
call fcn.004050cc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b498
lea eax, [ebp - 4]
call fcn.00408170
ret
Function at 0x40b780
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.00408254
xor eax, eax
push ebp
push 0x40b840
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.00408ee4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409094
mov eax, dword [ebx]
call fcn.0040b648
test al, al
jne 0x40b81d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408ee4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00409094
mov eax, dword [ebx]
call fcn.0040b648
test al, al
jne 0x40b81d
mov eax, ebx
call fcn.00408170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b847
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004081d0
lea eax, [ebp - 4]
call fcn.00408170
ret

Function at 0x41d9dc
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 0x41db0a
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 0x41dae4
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 0x41dacd
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00408ee4
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040935c
test eax, eax
jle 0x41dacd
mov eax, dword [ebp - 4]
test eax, eax
je 0x41da81
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41da8f
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.00409204
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00408ea8
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00409094
jmp 0x41dae4
add ebx, 2
cmp word [ebx], 0
jne 0x41daca
add ebx, 4
test ebx, ebx
je 0x41dade
cmp word [ebx], 0
jne 0x41da2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41db11
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.004081d0
lea eax, [ebp - 4]
call fcn.00408170
ret
Function at 0x41de54
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.00425c1c
test al, al
je 0x41df1c
xor edx, edx
mov eax, ebx
call fcn.0041f78c
test al, al
je 0x41df1c
mov eax, ebx
call fcn.0041f4bc
test al, 0x20
je 0x41df1c
mov eax, ebx
call fcn.00408e40
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41df1c
test ah, 4
je 0x41df1c
test al, 0x10
je 0x41debb
mov edi, 0x2000000
jmp 0x41debd
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00408e40
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41df1c
xor eax, eax
push ebp
push 0x41df15
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041dc04
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41df1c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41e234
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41e28d
test eax, edx
je 0x41e290
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41e24b
movzx eax, word [eax]
sub eax, ecx
jmp 0x41e272
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 0x41e273
add ecx, 4
js 0x41e263
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41e270
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41e272
xor eax, eax
ret
test eax, eax
je 0x41e29c
test edx, edx
jne 0x41e23c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41f4bc
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 0x41f620
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x41f45c]
call fcn.0040a350
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x41f48c]
call fcn.0040a350
add esp, 4
movzx ebx, byte [0x41f630]
mov dl, 1
mov eax, esi
call fcn.0041f824
test al, al
jne 0x41f536
mov dl, 1
mov eax, esi
call fcn.0041f78c
test al, al
je 0x41f5c0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0041feb8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.004261ac
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.00408e40
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x41f5bb
test byte [ebp - 0x14], 1
je 0x41f586
or bl, 1
test byte [ebp - 0x14], 2
je 0x41f58f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x41f598
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x41f5ac
dec eax
je 0x41f5b1
dec eax
je 0x41f5b6
dec eax
jne 0x41f5e1
or bl, 0x10
jmp 0x41f5e1
or bl, 4
jmp 0x41f5e1
or bl, 8
jmp 0x41f5e1
call fcn.00426b24
lea edx, [ebp - 0x20]
mov eax, dword [0x521e18]
call fcn.0040c110
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x418524]
call fcn.00424f8c
call fcn.0040786c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f627
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004081d0
lea eax, [ebp - 0xc]
mov edx, dword [0x41f48c]
call fcn.0040a474
lea eax, [ebp - 8]
mov edx, dword [0x41f45c]
call fcn.0040a474
lea eax, [ebp - 4]
call fcn.00408170
ret

Function at 0x41f68c
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_1
test eax, eax
jne 0x41f6b9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4