joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b3e0
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.00407c14
xor eax, eax
push ebp
push 0x40b4a0
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.00408c70
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408e20
mov eax, dword [ebx]
call fcn.0040b2a8
test al, al
jne 0x40b47d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00408c70
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00408e20
mov eax, dword [ebx]
call fcn.0040b2a8
test al, al
jne 0x40b47d
mov eax, ebx
call fcn.00407b30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b4a7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407b90
lea eax, [ebp - 4]
call fcn.00407b30
ret

Function at 0x40c028
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 0x420448
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 0x420571
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 0x42054b
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 0x420534
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.00408c70
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040919c
test eax, eax
jle 0x420534
mov eax, dword [ebp - 4]
test eax, eax
je 0x4204e8
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x4204f6
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.00408ff0
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.00408c1c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00408e20
jmp 0x42054b
add ebx, 2
cmp word [ebx], 0
jne 0x420531
add ebx, 4
test ebx, ebx
je 0x420545
cmp word [ebx], 0
jne 0x42049a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420578
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00407b90
lea eax, [ebp - 4]
call fcn.00407b30
ret
Function at 0x420664
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 0x4208a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00407b30
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 0x42073b
cmp dword [ebp - 0x14], 0
jne 0x42073b
xor edx, edx
mov eax, 6
call fcn.004295f0
test al, al
je 0x42073b
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 0x42073b
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00408c70
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00420448
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00407f10
mov byte [ebp - 9], 1
jmp 0x420883
test ebx, ebx
jne 0x420749
cmp dword [ebp - 0x14], 0
je 0x420837
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 0x420837
xor eax, eax
push ebp
push 0x420830
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 0x420819
xor eax, eax
push ebp
push 0x420812
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.004117c4
test eax, eax
jbe 0x4207fb
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.00408c70
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00420448
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00407f10
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420819
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 0x420837
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x420883
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.00420580
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00407f10
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x420883
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add al, ch
xlatb
sti
invalid
dec dword [ebx - 0x23b6b]
dec dword [ebx - 0x6e1707bb]
jbe 0x42087c
inc esi
inc ebp
invalid
invalid
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4208a8
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00407b90
ret
Function at 0x4208b4
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.004295f0
test al, al
je 0x42097c
xor edx, edx
mov eax, ebx
call fcn.0042242c
test al, al
je 0x42097c
mov eax, ebx
call fcn.004221f0
test al, 0x20
je 0x42097c
mov eax, ebx
call fcn.00408bc4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42097c
test ah, 4
je 0x42097c
test al, 0x10
je 0x42091b
mov edi, 0x2000000
jmp 0x42091d
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.00408bc4
push eax
call sub.kernel32.dll_CreateFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x42097c
xor eax, eax
push ebp
push 0x420975
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00420664
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42097c
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 0x420db0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x420e09
test eax, edx
je 0x420e0c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x420dc7
movzx eax, word [eax]
sub eax, ecx
jmp 0x420dee
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 0x420def
add ecx, 4
js 0x420ddf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x420dec
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x420dee
xor eax, eax
ret
test eax, eax
je 0x420e18
test edx, edx
jne 0x420db8
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x42161c
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 0x421634
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x42163c
mov al, 1
jmp 0x421659
movzx esi, word [ebp]
mov eax, esi
call fcn.00411b78
test al, al
jne 0x421655
cmp si, 0x5f
je 0x421655
xor eax, eax
jmp 0x421657
mov al, 1
xor al, 1
test al, al
jne 0x4216e9
test bl, bl
je 0x4216a9
mov eax, ebp
test eax, eax
je 0x421670
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x4216e5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00411c04
test al, al
jne 0x42169d
cmp di, 0x5f
je 0x42169d
cmp di, 0x2e
je 0x42169d
xor eax, eax
jmp 0x42169f
mov al, 1
test al, al
je 0x4216e9
inc esi
dec ebx
jne 0x42167d
jmp 0x4216e5
mov eax, ebp
test eax, eax
je 0x4216b4
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, 2
jl 0x4216e5
inc ebx
mov esi, 2
movzx edi, word [ebp + esi*2 - 2]
mov eax, edi
call fcn.00411c04
test al, al
jne 0x4216db
cmp di, 0x5f
je 0x4216db
xor eax, eax
jmp 0x4216dd
mov al, 1
test al, al
je 0x4216e9
inc esi
dec ebx
jne 0x4216c1
mov byte [esp], 1
movzx eax, byte [esp]
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4221f0
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 0x422324
push dword fs:[eax]
mov dword fs:[eax], esp
movzx ebx, byte [0x422334]
mov dl, 1
mov eax, esi
call fcn.004224c4
test al, al
jne 0x422241
mov dl, 1
mov eax, esi
call fcn.0042242c
test al, al
je 0x4222d7
lea edx, [ebp - 0x424]
mov eax, esi
call fcn.00422bcc
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 4]
call fcn.00429ba4
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.00408bc4
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4222d2
test byte [ebp - 0xc], 1
je 0x42229d
or bl, 1
test byte [ebp - 0xc], 2
je 0x4222a6
or bl, 2
test byte [ebp - 0xc], 0x80
je 0x4222af
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x4222c3
dec eax
je 0x4222c8
dec eax
je 0x4222cd
dec eax
jne 0x4222fe
or bl, 0x10
jmp 0x4222fe
or bl, 4
jmp 0x4222fe
or bl, 8
jmp 0x4222fe
call fcn.0042a55c
lea edx, [ebp - 0x428]
mov eax, dword [0x66a610]
call fcn.0040bf74
mov ecx, dword [ebp - 0x428]
mov dl, 1
mov eax, dword [0x41bfd0]
call fcn.004285dc
call fcn.00407228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42232b
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00407b90
lea eax, [ebp - 4]
call fcn.00407b30
ret
Function at 0x42242c
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.00408bc4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x422496
test ah, 4
je 0x42248f
test bl, bl
jne 0x422454
mov al, 1
jmp 0x4224bd
test al, 0x10
je 0x42245c
xor eax, eax
jmp 0x4224bd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x422480
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4224bd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4224bd
test al, 0x10
sete al
jmp 0x4224bd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x4224b7
cmp ebx, 3
je 0x4224b7
cmp ebx, 0x7b
je 0x4224b7
mov eax, esi
call fcn.004223ec
test al, al
jne 0x4224bb
xor eax, eax
jmp 0x4224bd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4224c4
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.00408bc4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42256b
test esi, 0x400
jne 0x422500
test esi, 0x10
setne bl
jmp 0x42258a
cmp byte [esp], 0
je 0x422534
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x42258a
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x42258a
test esi, 0x10
je 0x422540
mov bl, 1
jmp 0x42258a
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW_1
cmp eax, 0xffffffff
je 0x422567
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x42258a
mov bl, 1
jmp 0x42258a
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x422584
cmp eax, 3
je 0x422584
cmp eax, 0x7b
je 0x422584
cmp eax, 0x35
jne 0x422588
xor ebx, ebx
jmp 0x42258a
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x422750
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 0x4227f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408bc4
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x4227da
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.004208b4
test al, al
je 0x4227da
mov eax, dword [ebp - 4]
call fcn.00423140
test al, al
je 0x4227ca
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00422b30
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00429ba4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00408e20
mov eax, dword [ebp - 4]
call fcn.00408bc4
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 0x4227fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407b90
ret
Function at 0x422920
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.00408bc4
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x422975
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x42296f
test ah, 4
je 0x42296f
test al, 0x10
je 0x42296f
mov eax, esi
call fcn.00408bc4
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x422975
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x427728
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 0x427761
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00407cb8
jmp 0x42776a
mov eax, ebx
mov edx, esi
call fcn.00407f10
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427774
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 0x427796
movzx eax, word [esp]
jmp 0x427798
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42846c
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 0x428591
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00428274
mov esi, eax
mov eax, dword [0x66a4a4]
cmp byte [eax], 0
je 0x428539
mov eax, dword [0x669e88]
call fcn.00405364
call fcn.00404a3c
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 [0x42843c]
call fcn.0040a080
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 0x4285ac
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x428575
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x669da0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x66dc50]
call fcn.0040a3cc
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 0x428598
lea eax, [ebp - 4]
mov edx, dword [0x42843c]
call fcn.0040a1a4
ret
Function at 0x429610
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 0x4296e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407f58
lea eax, [ebp - 4]
call fcn.0040810c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00408bc4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4296d0
mov eax, ebx
call fcn.004048c8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4296c9
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.00408bc4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4296b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4296f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4296b3
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 0x4296d0
mov eax, dword [ebp - 0x10]
call fcn.004048e4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296ed
lea eax, [ebp - 4]
call fcn.00407b30
ret

Function at 0x42a400
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.0040804c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c008
mov edi, eax
cmp edi, 0x104
jbe 0x42a3a7
mov eax, edi
add eax, eax
call fcn.004048c8
mov esi, eax
jmp 0x42a3a9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040c008
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42a3e4
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 0x42a3ce
mov eax, esp
cmp esi, eax
je 0x42a3f1
mov eax, esi
call fcn.004048e4
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 0x42a42c
cmp bl, 0
je 0x42a428
cmp bl, 0x41
jl 0x42a423
cmp bl, 0x5a
jg 0x42a423
or bl, 0x20
xor al, bl
inc esi
jmp 0x42a407
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42a368

Function at 0x42ad7c
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.00408c70
add esp, 0x800
pop ebx
ret
Function at 0x45a5f0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x45a68e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x45a652
cmp byte [ebx + 0x10], 0
jne 0x45a652
cmp byte [ebx + 0x3c], 0
jne 0x45a652
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 0x45a673
lea edx, [ebp - 4]
mov eax, dword [0x66a3c8]
call fcn.0040bf74
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4485d0]
call fcn.004285dc
call fcn.00407228
jmp 0x45a673
lea edx, [ebp - 8]
mov eax, dword [0x66a3c8]
call fcn.0040bf74
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4485d0]
call fcn.004285dc
call fcn.00407228
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a695
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407b90
ret

Function at 0x45af90
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 0x45afde
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.0045a528
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45aff7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45b000
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.0045a528
dec esi
jne 0x45b022
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x45d2a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x670020
cmp dword [edi], 0
jne 0x45d320
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x67001c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x661bec
mov ecx, 2
call fcn.00404b3c
mov edx, 0x45d27c
lea eax, [esi + 5]
call fcn.0045d29c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0045d29c
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 0x45d2f5
mov dword [0x67001c], 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 0x462064
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4620b6
test eax, edx
je 0x4620b9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x462079
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 0x46209f
add ecx, 4
js 0x46208f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x46209c
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 0x4620c5
test edx, edx
jne 0x46206c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret