joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f04c
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 0x41f289
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00407b74
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_1
mov ebx, eax
test ebx, ebx
jne 0x41f123
cmp dword [ebp - 0x14], 0
jne 0x41f123
xor edx, edx
mov eax, 6
call fcn.00426dfc
test al, al
je 0x41f123
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 0x41f123
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.0041ee30
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00407f54
mov byte [ebp - 9], 1
jmp 0x41f26b
test ebx, ebx
jne 0x41f131
cmp dword [ebp - 0x14], 0
je 0x41f21f
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 0x41f21f
xor eax, eax
push ebp
push 0x41f218
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 0x41f201
xor eax, eax
push ebp
push 0x41f1fa
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.004102e4
test eax, eax
jbe 0x41f1e3
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.0041ee30
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00407f54
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f201
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 0x41f21f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41f26b
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041ef68
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00407f54
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41f26b
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041ee30
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00407f54
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f290
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00407bd4
ret
Function at 0x41f29c
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.00426dfc
test al, al
je 0x41f364
xor edx, edx
mov eax, ebx
call fcn.00420ad8
test al, al
je 0x41f364
mov eax, ebx
call fcn.004208a8
test al, 0x20
je 0x41f364
mov eax, ebx
call fcn.004086c8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f364
test ah, 4
je 0x41f364
test al, 0x10
je 0x41f303
mov edi, 0x2000000
jmp 0x41f305
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.004086c8
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41f364
xor eax, eax
push ebp
push 0x41f35d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041f04c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f364
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 0x41f63c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41f695
test eax, edx
je 0x41f698
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41f653
movzx eax, word [eax]
sub eax, ecx
jmp 0x41f67a
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 0x41f67b
add ecx, 4
js 0x41f66b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41f678
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41f67a
xor eax, eax
ret
test eax, eax
je 0x41f6a4
test edx, edx
jne 0x41f644
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41fd18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, edx
mov ebp, eax
mov byte [esp], 0
mov eax, ebp
test eax, eax
je 0x41fd30
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x41fd38
mov al, 1
jmp 0x41fd55
movzx esi, word [ebp]
mov eax, esi
call fcn.00410658
test al, al
jne 0x41fd51
cmp si, 0x5f
je 0x41fd51
xor eax, eax
jmp 0x41fd53
mov al, 1
xor al, 1
test al, al
jne 0x41fde5
test bl, bl
je 0x41fda5
mov eax, ebp
test eax, eax
je 0x41fd6c
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41fde1
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.004106e4
test al, al
jne 0x41fd99
cmp di, 0x5f
je 0x41fd99
cmp di, 0x2e
je 0x41fd99
xor eax, eax
jmp 0x41fd9b
mov al, 1
test al, al
je 0x41fde5
inc esi
dec ebx
jne 0x41fd79
jmp 0x41fde1
mov eax, ebp
test eax, eax
je 0x41fdb0
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x41fde1
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.004106e4
test al, al
jne 0x41fdd7
cmp di, 0x5f
je 0x41fdd7
xor eax, eax
jmp 0x41fdd9
mov al, 1
test al, al
je 0x41fde5
inc esi
dec ebx
jne 0x41fdbd
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4208a8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4209dc
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x4209ec]
mov dl, 1
mov eax, esi
call fcn.00420b70
test al, al
jne 0x4208f9
mov dl, 1
mov eax, esi
call fcn.00420ad8
test al, al
je 0x42098f
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.004210b0
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.00427318
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 4]
call fcn.004086c8
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42098a
test byte [ebp - 0xc], 1
je 0x420955
or bl, 1
test byte [ebp - 0xc], 2
je 0x42095e
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x420967
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x42097b
dec eax
je 0x420980
dec eax
je 0x420985
dec eax
jne 0x4209b6
or bl, 0x10
jmp 0x4209b6
or bl, 4
jmp 0x4209b6
or bl, 8
jmp 0x4209b6
call fcn.00427d20
lea edx, [ebp - 0x428]
mov eax, dword [0x529be8]
call fcn.0040b4bc
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41aa90]
call fcn.00425de8
call fcn.004072a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4209e3
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00407bd4
lea eax, [ebp - 4]
call fcn.00407b74
ret
Function at 0x420ad8
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.004086c8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420b42
test ah, 4
je 0x420b3b
test bl, bl
jne 0x420b00
mov al, 1
jmp 0x420b69
test al, 0x10
je 0x420b08
xor eax, eax
jmp 0x420b69
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x420b2c
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x420b69
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x420b69
test al, 0x10
sete al
jmp 0x420b69
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x420b63
cmp ebx, 3
je 0x420b63
cmp ebx, 0x7b
je 0x420b63
mov eax, esi
call fcn.00420a98
test al, al
jne 0x420b67
xor eax, eax
jmp 0x420b69
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x420b70
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.004086c8
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x420c17
test esi, 0x400
jne 0x420bac
test esi, 0x10
setne bl
jmp 0x420c36
cmp byte [esp], 0
je 0x420be0
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x420c36
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x420c36
test esi, 0x10
je 0x420bec
mov bl, 1
jmp 0x420c36
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x420c13
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x420c36
mov bl, 1
jmp 0x420c36
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x420c30
cmp eax, 3
je 0x420c30
cmp eax, 0x7b
je 0x420c30
cmp eax, 0x35
jne 0x420c34
xor ebx, ebx
jmp 0x420c36
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x420d3c
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 0x420e0f
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407f9c
cmp byte [ebp - 9], 0
je 0x420dcd
mov eax, ebx
call fcn.004086c8
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x420dcd
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041f29c
test al, al
je 0x420dcd
mov eax, dword [ebp - 8]
call fcn.00421294
test al, al
je 0x420dc2
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00421074
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00427318
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.00407f9c
push edi
mov eax, dword [ebp - 4]
call fcn.004086c8
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x420de7
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420e16
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407bd4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407bd4
ret

Function at 0x420f38
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.004086c8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x420f8d
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420f87
test ah, 4
je 0x420f87
test al, 0x10
je 0x420f87
mov eax, esi
call fcn.004086c8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x420f8d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x424f54
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_1
test eax, eax
jle 0x424f8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407cfc
jmp 0x424f96
mov eax, ebx
mov edx, esi
call fcn.00407f54
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424fa0
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_1
test eax, eax
jle 0x424fc2
movzx eax, word [esp]
jmp 0x424fc4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x425c98
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 0x425dbd
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00425aa0
mov esi, eax
mov eax, dword [0x529b24]
cmp byte [eax], 0
je 0x425d65
mov eax, dword [0x529834]
call fcn.00404ed8
call fcn.004046b8
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x425c68]
call fcn.004099e4
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x425dd8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x425da1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5297b4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x52cc50]
call fcn.00409ad8
push eax
call sub.user32.dll_LoadStringW_1
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 0x425dc4
lea eax, [ebp - 4]
mov edx, dword [0x425c68]
call fcn.004099f0
ret

Function at 0x426e1c
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 0x426ef2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407f9c
lea eax, [ebp - 4]
call fcn.0040813c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004086c8
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x426edc
mov eax, ebx
call fcn.00404544
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x426ed5
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.004086c8
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x426ebf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x426f04
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x426ebf
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 0x426edc
mov eax, dword [ebp - 0x10]
call fcn.00404560
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426ef9
lea eax, [ebp - 4]
call fcn.00407b74
ret
Function at 0x427bc4
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.0040807c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b550
mov edi, eax
cmp edi, 0x104
jbe 0x427b6b
mov eax, edi
add eax, eax
call fcn.00404544
mov esi, eax
jmp 0x427b6d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b550
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x427ba8
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 0x427b92
mov eax, esp
cmp esi, eax
je 0x427bb5
mov eax, esi
call fcn.00404560
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 0x427bf0
cmp bl, 0
je 0x427bec
cmp bl, 0x41
jl 0x427be7
cmp bl, 0x5a
jg 0x427be7
or bl, 0x20
xor al, bl
inc esi
jmp 0x427bcb
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x427b2c

Function at 0x4283f8
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040875c
add esp, 0x800
pop ebx
ret

Function at 0x4531ac
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45324a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x45320e
cmp byte [ebx + 0x10], 0
jne 0x45320e
cmp byte [ebx + 0x3c], 0
jne 0x45320e
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x45322f
lea edx, [ebp - 4]
mov eax, dword [0x529aa4]
call fcn.0040b4bc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4413a8]
call fcn.00425de8
call fcn.004072a8
jmp 0x45322f
lea edx, [ebp - 8]
mov eax, dword [0x529aa4]
call fcn.0040b4bc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4413a8]
call fcn.00425de8
call fcn.004072a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453251
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407bd4
ret

Function at 0x453b4c
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 + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x453b9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004530e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x453bb3
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x453bbc
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004530e4
dec esi
jne 0x453bde
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x455e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52f020
cmp dword [edi], 0
jne 0x455edc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x52f01c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x527a14
mov ecx, 2
call fcn.00404784
mov edx, 0x455e38
lea eax, [esi + 5]
call fcn.00455e58
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00455e58
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x455eb1
mov dword [0x52f01c], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45abc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x45ac16
test eax, edx
je 0x45ac19
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x45abd9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x45abff
add ecx, 4
js 0x45abef
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x45abfc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x45ac25
test edx, edx
jne 0x45abcc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x45e6d4
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
mov ebx, eax
mov byte [esp], 0
test ebx, ebx
je 0x45e771
mov eax, ebx
call fcn.0045e954
test al, al
je 0x45e771
mov eax, ebx
call fcn.0045e7dc
mov esi, eax
mov eax, ebx
call fcn.004086c8
mov edx, esi
add edx, edx
add eax, edx
sub eax, 2
mov ebx, eax
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
movzx edx, word [ebx]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x45e72a
mov eax, edx
and ax, 0xffdf
mov ebx, eax
movzx eax, byte [0x528034]
movzx edx, byte [0x528035]
lea ecx, [esp + 4]
mov ah, 0x20
call fcn.00405ba8
lea eax, [esp + 4]
mov edx, ebx
movzx edx, dl
bt dword [eax], edx
setb al
test al, al
je 0x45e771
mov eax, ebx
movzx edx, byte [0x528034]
sub al, dl
mov ecx, eax
shr esi, cl
and esi, 1
cmp esi, 1
sete byte [esp]
movzx eax, byte [esp]
add esp, 0x24
pop esi
pop ebx
ret