joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cb4c
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 0x41cd89
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00409510
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 0x41cc23
cmp dword [ebp - 0x14], 0
jne 0x41cc23
xor edx, edx
mov eax, 6
call fcn.0042493c
test al, al
je 0x41cc23
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 0x41cc23
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a0e0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041c924
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.004098f0
mov byte [ebp - 9], 1
jmp 0x41cd6b
test ebx, ebx
jne 0x41cc31
cmp dword [ebp - 0x14], 0
je 0x41cd1f
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 0x41cd1f
xor eax, eax
push ebp
push 0x41cd18
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 0x41cd01
xor eax, eax
push ebp
push 0x41ccfa
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.0041082c
test eax, eax
jbe 0x41cce3
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a0e0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0041c924
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.004098f0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cd01
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 0x41cd1f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x41cd6b
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041ca60
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.004098f0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41cd6b
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041c924
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.004098f0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41cd90
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00409570
ret
Function at 0x41cd9c
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.0042493c
test al, al
je 0x41ce64
xor edx, edx
mov eax, ebx
call fcn.0041e3c0
test al, al
je 0x41ce64
mov eax, ebx
call fcn.0041e0f0
test al, 0x20
je 0x41ce64
mov eax, ebx
call fcn.0040a03c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41ce64
test ah, 4
je 0x41ce64
test al, 0x10
je 0x41ce03
mov edi, 0x2000000
jmp 0x41ce05
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040a03c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41ce64
xor eax, eax
push ebp
push 0x41ce5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041cb4c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ce64
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 0x41cf58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41cfb1
test eax, edx
je 0x41cfb4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41cf6f
movzx eax, word [eax]
sub eax, ecx
jmp 0x41cf96
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 0x41cf97
add ecx, 4
js 0x41cf87
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41cf94
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41cf96
xor eax, eax
ret
test eax, eax
je 0x41cfc0
test edx, edx
jne 0x41cf60
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x41e0f0
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 0x41e254
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x41e090]
call fcn.0040b3e0
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x41e0c0]
call fcn.0040b3e0
add esp, 4
movzx ebx, byte [0x41e264]
mov dl, 1
mov eax, esi
call fcn.0041e458
test al, al
jne 0x41e16a
mov dl, 1
mov eax, esi
call fcn.0041e3c0
test al, al
je 0x41e1f4
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0041e7e4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00424e74
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.0040a03c
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x41e1ef
test byte [ebp - 0x14], 1
je 0x41e1ba
or bl, 1
test byte [ebp - 0x14], 2
je 0x41e1c3
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x41e1cc
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x41e1e0
dec eax
je 0x41e1e5
dec eax
je 0x41e1ea
dec eax
jne 0x41e215
or bl, 0x10
jmp 0x41e215
or bl, 4
jmp 0x41e215
or bl, 8
jmp 0x41e215
call fcn.0042567c
lea edx, [ebp - 0x20]
mov eax, dword [0x4e7a14]
call fcn.0040d0c4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x416c90]
call fcn.004238f0
call fcn.00408b8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e25b
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409570
lea eax, [ebp - 0xc]
mov edx, dword [0x41e0c0]
call fcn.0040b504
lea eax, [ebp - 8]
mov edx, dword [0x41e090]
call fcn.0040b504
lea eax, [ebp - 4]
call fcn.00409510
ret

Function at 0x41e2c0
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 0x41e2ed
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x41e3c0
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.0040a03c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e42a
test ah, 4
je 0x41e423
test bl, bl
jne 0x41e3e8
mov al, 1
jmp 0x41e451
test al, 0x10
je 0x41e3f0
xor eax, eax
jmp 0x41e451
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e414
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x41e451
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x41e451
test al, 0x10
sete al
jmp 0x41e451
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x41e44b
cmp ebx, 3
je 0x41e44b
cmp ebx, 0x7b
je 0x41e44b
mov eax, esi
call fcn.0041e380
test al, al
jne 0x41e44f
xor eax, eax
jmp 0x41e451
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x41e458
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.0040a03c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x41e4ff
test esi, 0x400
jne 0x41e494
test esi, 0x10
setne bl
jmp 0x41e52f
cmp byte [esp], 0
je 0x41e4c8
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e52f
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x41e52f
test esi, 0x10
je 0x41e4d4
mov bl, 1
jmp 0x41e52f
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x41e4fb
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x41e52f
mov bl, 1
jmp 0x41e52f
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x41e529
cmp eax, 3
je 0x41e529
cmp eax, 0xa1
je 0x41e529
cmp eax, 0x7b
je 0x41e529
cmp eax, 0x35
je 0x41e529
cmp eax, 0x15
je 0x41e529
cmp eax, 0x43
jne 0x41e52d
xor ebx, ebx
jmp 0x41e52f
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x41e538
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 0x41e60b
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409938
cmp byte [ebp - 9], 0
je 0x41e5c9
mov eax, ebx
call fcn.0040a03c
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x41e5c9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0041cd9c
test al, al
je 0x41e5c9
mov eax, dword [ebp - 8]
call fcn.0041e974
test al, al
je 0x41e5be
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041e7a4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00424e74
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040a290
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00409938
push edi
mov eax, dword [ebp - 4]
call fcn.0040a03c
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x41e5e3
call sub.kernel32.dll_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e612
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409570
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409570
ret

Function at 0x41e748
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.0040a03c
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41e79d
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41e797
test ah, 4
je 0x41e797
test al, 0x10
je 0x41e797
mov eax, esi
call fcn.0040a03c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x41e79d
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422418
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 0x422451
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409698
jmp 0x42245a
mov eax, ebx
mov edx, esi
call fcn.004098f0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x422464
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 0x422486
movzx eax, word [esp]
jmp 0x422488
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423780
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 0x4238a5
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423588
mov esi, eax
mov eax, dword [0x4e79a0]
cmp byte [eax], 0
je 0x42384d
mov eax, dword [0x4e77e8]
call fcn.004070ec
call fcn.00406b0c
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 [0x423750]
call fcn.0040b3e0
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 0x4238c0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423889
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4e77a8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4eac50]
call fcn.0040b7d0
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 0x4238ac
lea eax, [ebp - 4]
mov edx, dword [0x423750]
call fcn.0040b504
ret
Function at 0x42495c
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 0x424a5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409938
lea eax, [ebp - 4]
call fcn.00409aa0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a03c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424a46
mov eax, ebx
call fcn.004069b8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x424a3f
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.0040a03c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424a29
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424a70
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424a29
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 0x424a46
mov eax, dword [ebp - 0x10]
call fcn.004069d4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424a63
lea eax, [ebp - 4]
call fcn.00409510
ret

Function at 0x4254cc
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.004099e0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d158
mov edi, eax
cmp edi, 0x104
jbe 0x425477
mov eax, edi
add eax, eax
call fcn.004069b8
mov esi, eax
jmp 0x425479
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040d158
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4254b2
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 0x42549c
mov eax, esp
cmp esi, eax
je 0x4254bf
mov eax, esi
call fcn.004069d4
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 0x4254f8
cmp bl, 0
je 0x4254f4
cmp bl, 0x41
jl 0x4254ef
cmp bl, 0x5a
jg 0x4254ef
or bl, 0x20
xor al, bl
inc esi
jmp 0x4254d3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425438

Function at 0x425d44
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a0e0
add esp, 0x800
pop ebx
ret
Function at 0x434154
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4341a6
test eax, edx
je 0x4341a9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x434169
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 0x43418f
add ecx, 4
js 0x43417f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x43418c
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 0x4341b5
test edx, edx
jne 0x43415c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x47d2f8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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 0x47d300
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4b1a08
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b1aa6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b1a6a
cmp byte [ebx + 0x11], 0
jne 0x4b1a6a
cmp byte [ebx + 0x3c], 0
jne 0x4b1a6a
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 0x4b1a8b
lea edx, [ebp - 4]
mov eax, dword [0x4e795c]
call fcn.0040d0c4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48a4cc]
call fcn.004238f0
call fcn.00408b8c
jmp 0x4b1a8b
lea edx, [ebp - 8]
mov eax, dword [0x4e795c]
call fcn.0040d0c4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48a4cc]
call fcn.004238f0
call fcn.00408b8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1aad
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409570
ret

Function at 0x4b2444
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 0x4b2492
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.004b1888
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b24ab
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b24b4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004b1888
dec esi
jne 0x4b24d6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4db2ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.0040a03c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x4db37c
mov eax, dword [ebp - 8]
call fcn.004069b8
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4db375
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, ebx
call fcn.0040a03c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4db35f
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4db38c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4db35f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov dword [edi], edx
and eax, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db37c
mov eax, dword [ebp - 0xc]
call fcn.004069d4
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4dd648
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4dd711
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e76b8], 0
je 0x4dd6fb
xor edx, edx
push ebp
push 0x4dd6f4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x4e76b8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4dd6d4
inc ebx
xor esi, esi
lea ecx, [ebp - 4]
mov edx, esi
mov eax, dword [0x4e76b8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041e458
test al, al
je 0x4dd6b4
mov eax, dword [ebp - 4]
call fcn.004dd3c0
jmp 0x4dd6d0
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0041e3c0
test al, al
je 0x4dd6d0
mov eax, dword [ebp - 4]
call fcn.0040a03c
push eax
call sub.kernel32.dll_DeleteFileW
inc esi
dec ebx
jne 0x4dd68d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd6fb
mov eax, dword [0x4e76b8]
xor edx, edx
mov dword [0x4e76b8], edx
call fcn.00407724
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd718
lea eax, [ebp - 4]
call fcn.00409510
ret
Function at 0x4ddd70
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e4
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dde6e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x400
lea eax, [ebp - 0x80c]
push eax
call sub.kernel32.dll_GetConsoleTitleW
test eax, eax
je 0x4dde58
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x81c], eax
mov byte [ebp - 0x818], 0
call sub.kernel32.dll_GetCurrentProcessId
mov dword [ebp - 0x814], eax
mov byte [ebp - 0x810], 0
lea edx, [ebp - 0x81c]
mov ecx, 1
mov eax, 0x4dde8c
call fcn.0041eddc
mov eax, dword [ebp - 4]
call fcn.0040a03c
mov esi, eax
push esi
call sub.kernel32.dll_SetConsoleTitleW
test eax, eax
je 0x4dde58
xor eax, eax
push ebp
push 0x4dde44
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x28
call sub.kernel32.dll_Sleep
push esi
push 0
call sub.user32.dll_FindWindowW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4dde2a
call fcn.00408c80
jmp 0x4dde58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dde4b
lea eax, [ebp - 0x80c]
push eax
call sub.kernel32.dll_SetConsoleTitleW
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dde75
lea eax, [ebp - 4]
call fcn.00409510
ret