joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f380
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 0x41f4ae
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 0x41f488
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 0x41f471
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040a998
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040ae10
test eax, eax
jle 0x41f471
mov eax, dword [ebp - 4]
test eax, eax
je 0x41f425
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41f433
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.0040acb8
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040a95c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040ab48
jmp 0x41f488
add ebx, 2
cmp word [ebx], 0
jne 0x41f46e
add ebx, 4
test ebx, ebx
je 0x41f482
cmp word [ebx], 0
jne 0x41f3d2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f4b5
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00409c6c
lea eax, [ebp - 4]
call fcn.00409c0c
ret
Function at 0x41f5a8
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 0x41f7e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00409c0c
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 0x41f67f
cmp dword [ebp - 0x14], 0
jne 0x41f67f
xor edx, edx
mov eax, 6
call fcn.004276ec
test al, al
je 0x41f67f
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 0x41f67f
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a998
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041f380
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00409fec
mov byte [ebp - 9], 1
jmp 0x41f7c7
test ebx, ebx
jne 0x41f68d
cmp dword [ebp - 0x14], 0
je 0x41f77b
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 0x41f77b
xor eax, eax
push ebp
push 0x41f774
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 0x41f75d
xor eax, eax
push ebp
push 0x41f756
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.00412dec
test eax, eax
jbe 0x41f73f
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a998
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0041f380
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00409fec
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f75d
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 0x41f77b
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41f7c7
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041f4bc
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00409fec
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41f7c7
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041f380
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00409fec
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f7ec
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00409c6c
ret
Function at 0x41f7f8
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.004276ec
test al, al
je 0x41f8c0
xor edx, edx
mov eax, ebx
call fcn.0042101c
test al, al
je 0x41f8c0
mov eax, ebx
call fcn.00420d4c
test al, 0x20
je 0x41f8c0
mov eax, ebx
call fcn.0040a8f4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f8c0
test ah, 4
je 0x41f8c0
test al, 0x10
je 0x41f85f
mov edi, 0x2000000
jmp 0x41f861
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040a8f4
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41f8c0
xor eax, eax
push ebp
push 0x41f8b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041f5a8
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f8c0
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 0x41f9fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41fa55
test eax, edx
je 0x41fa58
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41fa13
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fa3a
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 0x41fa3b
add ecx, 4
js 0x41fa2b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fa38
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fa3a
xor eax, eax
ret
test eax, eax
je 0x41fa64
test edx, edx
jne 0x41fa04
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x420d4c
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 0x420eb0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x420cec]
call fcn.0040c040
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x420d1c]
call fcn.0040c040
add esp, 4
movzx ebx, byte [0x420ec0]
mov dl, 1
mov eax, esi
call fcn.004210b4
test al, al
jne 0x420dc6
mov dl, 1
mov eax, esi
call fcn.0042101c
test al, al
je 0x420e50
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.004215c0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00427c74
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.0040a8f4
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x420e4b
test byte [ebp - 0x14], 1
je 0x420e16
or bl, 1
test byte [ebp - 0x14], 2
je 0x420e1f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x420e28
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x420e3c
dec eax
je 0x420e41
dec eax
je 0x420e46
dec eax
jne 0x420e71
or bl, 0x10
jmp 0x420e71
or bl, 4
jmp 0x420e71
or bl, 8
jmp 0x420e71
call fcn.004288f8
lea edx, [ebp - 0x20]
mov eax, dword [0x7b6598]
call fcn.0040eef8
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x419488]
call fcn.00426678
call fcn.004092cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420eb7
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409c6c
lea eax, [ebp - 0xc]
mov edx, dword [0x420d1c]
call fcn.0040c164
lea eax, [ebp - 8]
mov edx, dword [0x420cec]
call fcn.0040c164
lea eax, [ebp - 4]
call fcn.00409c0c
ret

Function at 0x420f1c
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 0x420f49
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42101c
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.0040a8f4
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x421086
test ah, 4
je 0x42107f
test bl, bl
jne 0x421044
mov al, 1
jmp 0x4210ad
test al, 0x10
je 0x42104c
xor eax, eax
jmp 0x4210ad
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421070
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4210ad
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4210ad
test al, 0x10
sete al
jmp 0x4210ad
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x4210a7
cmp ebx, 3
je 0x4210a7
cmp ebx, 0x7b
je 0x4210a7
mov eax, esi
call fcn.00420fdc
test al, al
jne 0x4210ab
xor eax, eax
jmp 0x4210ad
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4210b4
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.0040a8f4
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42115b
test esi, 0x400
jne 0x4210f0
test esi, 0x10
setne bl
jmp 0x42118b
cmp byte [esp], 0
je 0x421124
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42118b
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x42118b
test esi, 0x10
je 0x421130
mov bl, 1
jmp 0x42118b
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421157
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x42118b
mov bl, 1
jmp 0x42118b
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x421185
cmp eax, 3
je 0x421185
cmp eax, 0xa1
je 0x421185
cmp eax, 0x7b
je 0x421185
cmp eax, 0x35
je 0x421185
cmp eax, 0x15
je 0x421185
cmp eax, 0x43
jne 0x421189
xor ebx, ebx
jmp 0x42118b
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4251bc
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 0x4251f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409d94
jmp 0x4251fe
mov eax, ebx
mov edx, esi
call fcn.00409fec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425208
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 0x42522a
movzx eax, word [esp]
jmp 0x42522c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426528
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 0x42664d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426330
mov esi, eax
mov eax, dword [0x7b64fc]
cmp byte [eax], 0
je 0x4265f5
mov eax, dword [0x7b62ac]
call fcn.004076f0
call fcn.00406f60
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 [0x4264f8]
call fcn.0040c040
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 0x426668
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x426631
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7b6260]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7ba624]
call fcn.0040c430
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 0x426654
lea eax, [ebp - 4]
mov edx, dword [0x4264f8]
call fcn.0040c164
ret
Function at 0x42770c
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 0x42780c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a034
lea eax, [ebp - 4]
call fcn.0040a148
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a8f4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4277f6
mov eax, ebx
call fcn.00406e0c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4277ef
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.0040a8f4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4277d9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x427820
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4277d9
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 0x4277f6
mov eax, dword [ebp - 0x10]
call fcn.00406e28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427813
lea eax, [ebp - 4]
call fcn.00409c0c
ret

Function at 0x428738
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.0040a0dc
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ef8c
mov edi, eax
cmp edi, 0x104
jbe 0x4286e3
mov eax, edi
add eax, eax
call fcn.00406e0c
mov esi, eax
jmp 0x4286e5
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ef8c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42871e
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 0x428708
mov eax, esp
cmp esi, eax
je 0x42872b
mov eax, esi
call fcn.00406e28
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 0x428764
cmp bl, 0
je 0x428760
cmp bl, 0x41
jl 0x42875b
cmp bl, 0x5a
jg 0x42875b
or bl, 0x20
xor al, bl
inc esi
jmp 0x42873f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4286a4

Function at 0x428fc0
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.0040a998
add esp, 0x800
pop ebx
ret
Function at 0x7142c4
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 0x7142cc
mov eax, edx
pop esi
pop ebx
ret

Function at 0x74b49c
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x74b53a
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x74b4fe
cmp byte [ebx + 0x11], 0
jne 0x74b4fe
cmp byte [ebx + 0x24], 0
jne 0x74b4fe
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 0x74b51f
lea edx, [ebp - 4]
mov eax, dword [0x7b64a4]
call fcn.0040eef8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x7237a0]
call fcn.00426678
call fcn.004092cc
jmp 0x74b51f
lea edx, [ebp - 8]
mov eax, dword [0x7b64a4]
call fcn.0040eef8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x7237a0]
call fcn.00426678
call fcn.004092cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x74b541
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c6c
ret

Function at 0x74bd54
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 0x74bda2
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.0074b31c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x74bdbb
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x74bdc4
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.0074b31c
dec esi
jne 0x74bde6
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x77c55c
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], eax
xor ebx, ebx
cmp dword [esp], 0
je 0x77c5c1
mov eax, dword [esp]
call fcn.0077c80c
test al, al
je 0x77c5c1
mov eax, dword [esp]
call fcn.0077c61c
mov esi, eax
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
dec esi
mov eax, dword [esp]
movzx eax, word [eax + esi*2]
mov edx, eax
mov ecx, eax
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x77c5a4
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x77c5c1
cmp ax, 0x5a
ja 0x77c5c1
sub al, 0x41
mov ecx, eax
shr edi, cl
and edi, 1
cmp edi, 1
sete bl
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x785394
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x7b3ff8
test edx, edx
jne 0x7853b3
xor eax, eax
jmp 0x7854d1
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x7853d0
push esi
push edx
push eax
call fcn.007854d8
add esp, 0xc
jmp 0x7854d1
push esi
push edx
push eax
call fcn.00785798
add esp, 0xc
jmp 0x7854d1
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x79fe56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x30], eax
xor edx, edx
mov dword [esi + 0x4c], edx
xor ecx, ecx
mov dword [esi + 0x20], ecx
push esi
call fcn.0079fe34
pop ecx
xor ecx, ecx
mov eax, ecx
xor edx, edx
mov ebx, eax
shr ebx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ebx, eax
mov eax, ebx
inc edx
cmp edx, 8
jl 0x79fe7a
mov dword [esi + ecx*4 + 0x70], eax
inc ecx
cmp ecx, 0x100
jb 0x79fe76
pop esi
pop ebx
pop ebp
ret

Function at 0x7a10b6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebx], eax
push dword [ebx]
call fcn.007a1057
pop ecx
pop ebx
pop ecx
pop ebp
ret

Function at 0x7a2a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov esi, pe_nt_image_headers32
or ebx, 0x100
add edi, edi
mov eax, ebx
shr eax, 7
and eax, 1
push eax
mov edx, esi
and edx, edi
add edx, esi
mov ecx, ebx
shr ecx, 8
add edx, ecx
shl edx, 2
add edx, dword [ebp + 0xc]
push edx
push dword [ebp + 8]
call fcn.007a2995
add esp, 0xc
add ebx, ebx
mov ecx, ebx
xor ecx, edi
not ecx
and esi, ecx
cmp ebx, 0x10000
jb 0x7a2a3e
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7a2ae7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 0xc]
xor edx, edx
or eax, 0x100
mov ecx, eax
shr ecx, 8
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + ecx*4]
mov ebx, eax
shr ebx, 7
and ebx, 1
neg ebx
and ebx, 0x7ff
xor ecx, ebx
shr ecx, 4
mov ebx, dword [ebp + 0x10]
add edx, dword [ebx + ecx*4]
add eax, eax
cmp eax, 0x10000
jb 0x7a2af5
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x7a2b29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edx, pe_nt_image_headers32
or eax, 0x100
add ecx, ecx
mov esi, edx
and esi, ecx
add esi, edx
mov edi, eax
shr edi, 8
add esi, edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 7
and edi, 1
neg edi
and edi, 0x7ff
xor esi, edi
shr esi, 4
mov edi, dword [ebp + 0x14]
add ebx, dword [edi + esi*4]
add eax, eax
mov esi, eax
xor esi, ecx
not esi
and edx, esi
cmp eax, 0x10000
jb 0x7a2b41
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7a2c0b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov edi, 1
shl edi, cl
or eax, edi
cmp eax, 1
je 0x7a2c50
mov ecx, eax
shr ecx, 1
mov ecx, dword [ebx + ecx*4]
mov edi, eax
and edi, 1
neg edi
and edi, 0x7ff
xor ecx, edi
shr ecx, 4
add edx, dword [esi + ecx*4]
shr eax, 1
cmp eax, 1
jne 0x7a2c2d
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret