joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41edf8
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 0x41ef26
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 0x41ef00
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 0x41eee9
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.0040a8e0
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040ad58
test eax, eax
jle 0x41eee9
mov eax, dword [ebp - 4]
test eax, eax
je 0x41ee9d
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x41eeab
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.0040ac00
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0040a8a4
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.0040aa90
jmp 0x41ef00
add ebx, 2
cmp word [ebx], 0
jne 0x41eee6
add ebx, 4
test ebx, ebx
je 0x41eefa
cmp word [ebx], 0
jne 0x41ee4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ef2d
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00409c20
lea eax, [ebp - 4]
call fcn.00409bc0
ret
Function at 0x41f020
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 0x41f25d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00409bc0
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 0x41f0f7
cmp dword [ebp - 0x14], 0
jne 0x41f0f7
xor edx, edx
mov eax, 6
call fcn.00426e08
test al, al
je 0x41f0f7
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 0x41f0f7
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a8e0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041edf8
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00409fa0
mov byte [ebp - 9], 1
jmp 0x41f23f
test ebx, ebx
jne 0x41f105
cmp dword [ebp - 0x14], 0
je 0x41f1f3
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 0x41f1f3
xor eax, eax
push ebp
push 0x41f1ec
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 0x41f1d5
xor eax, eax
push ebp
push 0x41f1ce
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.004128a8
test eax, eax
jbe 0x41f1b7
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040a8e0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.0041edf8
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00409fa0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f1d5
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 0x41f1f3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x41f23f
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.0041ef34
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.00409fa0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x41f23f
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041edf8
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.00409fa0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f264
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.00409c20
ret
Function at 0x41f270
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.00426e08
test al, al
je 0x41f338
xor edx, edx
mov eax, ebx
call fcn.0042077c
test al, al
je 0x41f338
mov eax, ebx
call fcn.004204ac
test al, 0x20
je 0x41f338
mov eax, ebx
call fcn.0040a83c
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41f338
test ah, 4
je 0x41f338
test al, 0x10
je 0x41f2d7
mov edi, 0x2000000
jmp 0x41f2d9
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040a83c
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41f338
xor eax, eax
push ebp
push 0x41f331
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0041f020
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f338
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 0x41f474
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41f4cd
test eax, edx
je 0x41f4d0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41f48b
movzx eax, word [eax]
sub eax, ecx
jmp 0x41f4b2
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 0x41f4b3
add ecx, 4
js 0x41f4a3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41f4b0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41f4b2
xor eax, eax
ret
test eax, eax
je 0x41f4dc
test edx, edx
jne 0x41f47c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4204ac
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 0x420610
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x42044c]
call fcn.0040bf88
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x42047c]
call fcn.0040bf88
add esp, 4
movzx ebx, byte [0x420620]
mov dl, 1
mov eax, esi
call fcn.00420814
test al, al
jne 0x420526
mov dl, 1
mov eax, esi
call fcn.0042077c
test al, al
je 0x4205b0
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00420d20
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.00427390
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.0040a83c
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x4205ab
test byte [ebp - 0x14], 1
je 0x420576
or bl, 1
test byte [ebp - 0x14], 2
je 0x42057f
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x420588
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x42059c
dec eax
je 0x4205a1
dec eax
je 0x4205a6
dec eax
jne 0x4205d1
or bl, 0x10
jmp 0x4205d1
or bl, 4
jmp 0x4205d1
or bl, 8
jmp 0x4205d1
call fcn.0042800c
lea edx, [ebp - 0x20]
mov eax, dword [0x76d3cc]
call fcn.0040ee40
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x418f00]
call fcn.00425d94
call fcn.00409280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420617
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00409c20
lea eax, [ebp - 0xc]
mov edx, dword [0x42047c]
call fcn.0040c0ac
lea eax, [ebp - 8]
mov edx, dword [0x42044c]
call fcn.0040c0ac
lea eax, [ebp - 4]
call fcn.00409bc0
ret

Function at 0x42067c
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 0x4206a9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42077c
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.0040a83c
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4207e6
test ah, 4
je 0x4207df
test bl, bl
jne 0x4207a4
mov al, 1
jmp 0x42080d
test al, 0x10
je 0x4207ac
xor eax, eax
jmp 0x42080d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4207d0
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x42080d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x42080d
test al, 0x10
sete al
jmp 0x42080d
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x420807
cmp ebx, 3
je 0x420807
cmp ebx, 0x7b
je 0x420807
mov eax, esi
call fcn.0042073c
test al, al
jne 0x42080b
xor eax, eax
jmp 0x42080d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x420814
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.0040a83c
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4208bb
test esi, 0x400
jne 0x420850
test esi, 0x10
setne bl
jmp 0x4208eb
cmp byte [esp], 0
je 0x420884
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4208eb
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x4208eb
test esi, 0x10
je 0x420890
mov bl, 1
jmp 0x4208eb
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x4208b7
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x4208eb
mov bl, 1
jmp 0x4208eb
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x4208e5
cmp eax, 3
je 0x4208e5
cmp eax, 0xa1
je 0x4208e5
cmp eax, 0x7b
je 0x4208e5
cmp eax, 0x35
je 0x4208e5
cmp eax, 0x15
je 0x4208e5
cmp eax, 0x43
jne 0x4208e9
xor ebx, ebx
jmp 0x4208eb
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4248d8
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 0x424911
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409d48
jmp 0x42491a
mov eax, ebx
mov edx, esi
call fcn.00409fa0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424924
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 0x424946
movzx eax, word [esp]
jmp 0x424948
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x425c44
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 0x425d69
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00425a4c
mov esi, eax
mov eax, dword [0x76d348]
cmp byte [eax], 0
je 0x425d11
mov eax, dword [0x76d174]
call fcn.004076d4
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 [0x425c14]
call fcn.0040bf88
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 0x425d84
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x425d4d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x76d134]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x771624]
call fcn.0040c378
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 0x425d70
lea eax, [ebp - 4]
mov edx, dword [0x425c14]
call fcn.0040c0ac
ret
Function at 0x426e28
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 0x426f28
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409fe8
lea eax, [ebp - 4]
call fcn.0040a0fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a83c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x426f12
mov eax, ebx
call fcn.00406e0c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x426f0b
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.0040a83c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x426ef5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x426f3c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x426ef5
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 0x426f12
mov eax, dword [ebp - 0x10]
call fcn.00406e28
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426f2f
lea eax, [ebp - 4]
call fcn.00409bc0
ret

Function at 0x427e4c
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.0040a090
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040eed4
mov edi, eax
cmp edi, 0x104
jbe 0x427df7
mov eax, edi
add eax, eax
call fcn.00406e0c
mov esi, eax
jmp 0x427df9
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040eed4
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x427e32
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 0x427e1c
mov eax, esp
cmp esi, eax
je 0x427e3f
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 0x427e78
cmp bl, 0
je 0x427e74
cmp bl, 0x41
jl 0x427e6f
cmp bl, 0x5a
jg 0x427e6f
or bl, 0x20
xor al, bl
inc esi
jmp 0x427e53
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x427db8

Function at 0x4286d4
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.0040a8e0
add esp, 0x800
pop ebx
ret
Function at 0x6b8338
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b83d6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x6b839a
cmp byte [ebx + 0x11], 0
jne 0x6b839a
cmp byte [ebx + 0x24], 0
jne 0x6b839a
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 0x6b83bb
lea edx, [ebp - 4]
mov eax, dword [0x76d2f8]
call fcn.0040ee40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x692bb4]
call fcn.00425d94
call fcn.00409280
jmp 0x6b83bb
lea edx, [ebp - 8]
mov eax, dword [0x76d2f8]
call fcn.0040ee40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x692bb4]
call fcn.00425d94
call fcn.00409280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b83dd
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409c20
ret

Function at 0x6b8bf0
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 0x6b8c3e
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.006b81b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x6b8c57
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x6b8c60
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.006b81b8
dec esi
jne 0x6b8c82
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x71cc98
Capabilities:
Encode data using xor

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

Function at 0x732390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00409cb4
xor eax, eax
push ebp
push 0x732488
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x78], 0
je 0x73246a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
add eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
dec eax
test eax, eax
jl 0x73246a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov ecx, 0
call fcn.0040a258
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0040a4c0
jne 0x732462
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
movzx eax, word [eax + edx*2]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
add eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
add eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jmp 0x73246a
inc dword [ebp - 0x18]
dec dword [ebp - 0x24]
jne 0x732406
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73248f
lea eax, [ebp - 0x28]
call fcn.00409be4
lea eax, [ebp - 8]
call fcn.00409be4
ret
Function at 0x732498
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x732601
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x732610
call sub.kernel32.dll_GetModuleHandleW_2
push eax
lea eax, [ebp - 0x18]
mov edx, 0x73262c
mov ecx, 0
call fcn.0040a258
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00732390
mov dword [0x769738], eax
mov eax, dword [ebp - 4]
call fcn.0040a6ac
push eax
call dword [0x769738]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x7325c3
test byte [ebp - 0xb], 4
je 0x7325b9
test byte [ebp - 0xc], 0x10
je 0x73251a
mov byte [ebp - 5], 0
jmp 0x7325e6
push 0x732610
call sub.kernel32.dll_GetModuleHandleW_2
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x732640
mov ecx, 0
call fcn.0040a258
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00732390
mov dword [0x769734], eax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040a6ac
push eax
call dword [0x769734]
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x7325af
push 0x732610
call sub.kernel32.dll_GetModuleHandleW_2
push eax
lea eax, [ebp - 0x20]
mov edx, 0x73264c
mov ecx, 0
call fcn.0040a258
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00732390
mov dword [0x769730], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [0x769730]
mov byte [ebp - 5], 1
jmp 0x7325e6
cmp dword [ebp - 0x14], 0x20
sete byte [ebp - 5]
jmp 0x7325e6
test byte [ebp - 0xc], 0x10
sete byte [ebp - 5]
jmp 0x7325e6
call sub.kernel32.dll_GetLastError_2
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
je 0x7325dd
cmp dword [ebp - 0x14], 3
je 0x7325dd
cmp dword [ebp - 0x14], 0x7b
jne 0x7325e1
xor eax, eax
jmp 0x7325e3
mov al, 1
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x732608
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00409c50
ret

Function at 0x735af8
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 0x735b5d
mov eax, dword [esp]
call fcn.00735da8
test al, al
je 0x735b5d
mov eax, dword [esp]
call fcn.00735bb8
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 0x735b40
mov edx, eax
and dx, 0xffdf
mov eax, edx
cmp ax, 0x41
jb 0x735b5d
cmp ax, 0x5a
ja 0x735b5d
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 0x73e930
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, 0x76aef8
test edx, edx
jne 0x73e94f
xor eax, eax
jmp 0x73ea6d
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x73e96c
push esi
push edx
push eax
call fcn.0073ea74
add esp, 0xc
jmp 0x73ea6d
push esi
push edx
push eax
call fcn.0073ed34
add esp, 0xc
jmp 0x73ea6d
pop esi
pop ebx
pop ecx
pop ebp
ret