joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42493c
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 0x424b79
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00409fc0
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 0x424a13
cmp dword [ebp - 0x14], 0
jne 0x424a13
xor edx, edx
mov eax, 6
call fcn.0042d60c
test al, al
je 0x424a13
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 0x424a13
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040aee0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00424714
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.0040a3a0
mov byte [ebp - 9], 1
jmp 0x424b5b
test ebx, ebx
jne 0x424a21
cmp dword [ebp - 0x14], 0
je 0x424b0f
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 0x424b0f
xor eax, eax
push ebp
push 0x424b08
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 0x424af1
xor eax, eax
push ebp
push 0x424aea
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.0041807c
test eax, eax
jbe 0x424ad3
lea eax, [ebp - 0x234]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.0040aee0
mov eax, dword [ebp - 0x234]
lea edx, [ebp - 0x230]
call fcn.00424714
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.0040a3a0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424af1
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 0x424b0f
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
cmp byte [ebp - 9], 0
jne 0x424b5b
lea edx, [ebp - 0x238]
mov eax, dword [ebp - 4]
call fcn.00424850
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 8]
call fcn.0040a3a0
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x424b5b
lea edx, [ebp - 0x23c]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00424714
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 8]
call fcn.0040a3a0
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424b80
lea eax, [ebp - 0x23c]
mov edx, 6
call fcn.0040a020
ret
Function at 0x424b8c
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.0042d60c
test al, al
je 0x424c54
xor edx, edx
mov eax, ebx
call fcn.0042682c
test al, al
je 0x424c54
mov eax, ebx
call fcn.00426550
test al, 0x20
je 0x424c54
mov eax, ebx
call fcn.0040ae24
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x424c54
test ah, 4
je 0x424c54
test al, 0x10
je 0x424bf3
mov edi, 0x2000000
jmp 0x424bf5
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push 0x80000000
mov eax, ebx
call fcn.0040ae24
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x424c54
xor eax, eax
push ebp
push 0x424c4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.0042493c
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424c54
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 0x424f58
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x424fb1
test eax, edx
je 0x424fb4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x424f6f
movzx eax, word [eax]
sub eax, ecx
jmp 0x424f96
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 0x424f97
add ecx, 4
js 0x424f87
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x424f94
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x424f96
xor eax, eax
ret
test eax, eax
je 0x424fc0
test edx, edx
jne 0x424f60
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x426550
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 0x4266b4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4264f0]
call fcn.0040c7c8
add esp, 4
push 0x104
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x426520]
call fcn.0040c7c8
add esp, 4
movzx ebx, byte [0x4266c4]
mov dl, 1
mov eax, esi
call fcn.004268c4
test al, al
jne 0x4265ca
mov dl, 1
mov eax, esi
call fcn.0042682c
test al, al
je 0x426654
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00426ff4
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
call fcn.0042dc80
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.0040ae24
mov esi, eax
push esi
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x42664f
test byte [ebp - 0x14], 1
je 0x42661a
or bl, 1
test byte [ebp - 0x14], 2
je 0x426623
or bl, 2
test byte [ebp - 0x14], 0x80
je 0x42662c
or bl, 0x20
push esi
call sub.kernel32.dll_GetDriveTypeW
sub eax, 2
je 0x426640
dec eax
je 0x426645
dec eax
je 0x42664a
dec eax
jne 0x426675
or bl, 0x10
jmp 0x426675
or bl, 4
jmp 0x426675
or bl, 8
jmp 0x426675
call fcn.0042ea9c
lea edx, [ebp - 0x20]
mov eax, dword [0x90e2f4]
call fcn.0040fb1c
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x41e900]
call fcn.0042c598
call fcn.00409680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4266bb
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040a020
lea eax, [ebp - 0xc]
mov edx, dword [0x426520]
call fcn.0040c8ec
lea eax, [ebp - 8]
mov edx, dword [0x4264f0]
call fcn.0040c8ec
lea eax, [ebp - 4]
call fcn.00409fc0
ret

Function at 0x426720
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 0x42674d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x42682c
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.0040ae24
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x426896
test ah, 4
je 0x42688f
test bl, bl
jne 0x426854
mov al, 1
jmp 0x4268bd
test al, 0x10
je 0x42685c
xor eax, eax
jmp 0x4268bd
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x426880
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x4268bd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x4268bd
test al, 0x10
sete al
jmp 0x4268bd
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x4268b7
cmp ebx, 3
je 0x4268b7
cmp ebx, 0x7b
je 0x4268b7
mov eax, esi
call fcn.004267ec
test al, al
jne 0x4268bb
xor eax, eax
jmp 0x4268bd
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4268c4
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.0040ae24
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x42696b
test esi, 0x400
jne 0x426900
test esi, 0x10
setne bl
jmp 0x42699b
cmp byte [esp], 0
je 0x426934
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x42699b
push eax
call sub.kernel32.dll_CloseHandle_1
test esi, 0x10
setne bl
jmp 0x42699b
test esi, 0x10
je 0x426940
mov bl, 1
jmp 0x42699b
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x426967
push eax
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x42699b
mov bl, 1
jmp 0x42699b
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x426995
cmp eax, 3
je 0x426995
cmp eax, 0xa1
je 0x426995
cmp eax, 0x7b
je 0x426995
cmp eax, 0x35
je 0x426995
cmp eax, 0x15
je 0x426995
cmp eax, 0x43
jne 0x426999
xor ebx, ebx
jmp 0x42699b
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x426aa8
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 0x426b4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040ae24
push eax
call sub.kernel32.dll_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x426b32
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.00424b8c
test al, al
je 0x426b32
mov eax, dword [ebp - 4]
call fcn.004271dc
test al, al
je 0x426b22
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00426f50
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0042dc80
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.0040b090
mov eax, dword [ebp - 4]
call fcn.0040ae24
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 0x426b54
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040a020
ret
Function at 0x426b60
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 0x426c33
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a3e8
cmp byte [ebp - 9], 0
je 0x426bf1
mov eax, ebx
call fcn.0040ae24
push eax
call sub.kernel32.dll_GetFileAttributesW
test ah, 4
je 0x426bf1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00424b8c
test al, al
je 0x426bf1
mov eax, dword [ebp - 8]
call fcn.004271dc
test al, al
je 0x426be6
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00426f50
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042dc80
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.0040b090
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040a3e8
push edi
mov eax, dword [ebp - 4]
call fcn.0040ae24
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
jne 0x426c0b
call sub.kernel32.dll_GetLastError_2
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426c3a
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a020
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a020
ret

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

Function at 0x42b0bc
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 0x42b0f5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a148
jmp 0x42b0fe
mov eax, ebx
mov edx, esi
call fcn.0040a3a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42b108
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 0x42b12a
movzx eax, word [esp]
jmp 0x42b12c
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42c428
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 0x42c54d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042c230
mov esi, eax
mov eax, dword [0x90e064]
cmp byte [eax], 0
je 0x42c4f5
mov eax, dword [0x90d694]
call fcn.00407a18
call fcn.0040706c
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 [0x42c3f8]
call fcn.0040c7c8
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 0x42c568
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x42c531
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x90d53c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x912628]
call fcn.0040cd24
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 0x42c554
lea eax, [ebp - 4]
mov edx, dword [0x42c3f8]
call fcn.0040c8ec
ret

Function at 0x42d62c
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 0x42d702
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a3e8
lea eax, [ebp - 4]
call fcn.0040a590
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae24
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d6ec
mov eax, ebx
call fcn.00406ef8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42d6e5
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.0040ae24
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42d6cf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d714
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d6cf
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 0x42d6ec
mov eax, dword [ebp - 0x10]
call fcn.00406f14
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d709
lea eax, [ebp - 4]
call fcn.00409fc0
ret
Function at 0x42d718
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 0x42d818
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040a3e8
lea eax, [ebp - 4]
call fcn.0040a590
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040ae24
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42d802
mov eax, ebx
call fcn.00406ef8
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42d7fb
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.0040ae24
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42d7e5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x42d82c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42d7e5
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 0x42d802
mov eax, dword [ebp - 0x10]
call fcn.00406f14
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42d81f
lea eax, [ebp - 4]
call fcn.00409fc0
ret

Function at 0x42e8dc
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.0040a4d0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fbb0
mov edi, eax
cmp edi, 0x104
jbe 0x42e887
mov eax, edi
add eax, eax
call fcn.00406ef8
mov esi, eax
jmp 0x42e889
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040fbb0
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42e8c2
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 0x42e8ac
mov eax, esp
cmp esi, eax
je 0x42e8cf
mov eax, esi
call fcn.00406f14
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 0x42e908
cmp bl, 0
je 0x42e904
cmp bl, 0x41
jl 0x42e8ff
cmp bl, 0x5a
jg 0x42e8ff
or bl, 0x20
xor al, bl
inc esi
jmp 0x42e8e3
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x42e848

Function at 0x42f18c
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.0040aee0
add esp, 0x800
pop ebx
ret
Function at 0x42f7d8
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov esi, edx
mov edi, eax
mov eax, esi
call fcn.00409fc0
push 0x400
lea eax, [esp + 4]
push eax
mov eax, edi
call fcn.0040ae24
mov ebp, eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
mov ebx, eax
cmp ebx, 0x400
jge 0x42f81d
mov edx, esp
mov eax, esi
mov ecx, ebx
call fcn.0040a148
jmp 0x42f836
mov edx, ebx
dec edx
mov eax, esi
call fcn.0040afb8
push ebx
mov eax, dword [esi]
call fcn.0040ae24
push eax
push ebp
call sub.kernel32.dll_GetEnvironmentVariableW
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x488c9c
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 0x488ca4
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4c9464
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c9502
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c94c6
cmp byte [ebx + 0x11], 0
jne 0x4c94c6
cmp byte [ebx + 0x24], 0
jne 0x4c94c6
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 0x4c94e7
lea edx, [ebp - 4]
mov eax, dword [0x90df00]
call fcn.0040fb1c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x49abb0]
call fcn.0042c598
call fcn.00409680
jmp 0x4c94e7
lea edx, [ebp - 8]
mov eax, dword [0x90df00]
call fcn.0040fb1c
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x49abb0]
call fcn.0042c598
call fcn.00409680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9509
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a020
ret

Function at 0x4c9d1c
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 0x4c9d6a
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.004c92e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c9d83
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c9d8c
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.004c92e4
dec esi
jne 0x4c9dae
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4cc90c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x914e38
cmp dword [edi], 0
jne 0x4cc988
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x914e34]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x8fa8ac
mov ecx, 2
call fcn.0040716c
mov edx, 0x4cc8e4
lea eax, [esi + 5]
call fcn.004cc904
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cc904
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 0x4cc95d
mov dword [0x914e34], 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