joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4063c0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x459058], 0
je 0x406427
cmp word [0x459344], 0xd7b2
jne 0x4063e9
cmp dword [0x45934c], 0
jbe 0x4063e9
mov eax, 0x459340
call dword [0x45935c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x406454
call fcn.00406ed0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45702e], 0
jne 0x406443
push 0
push 0x4579ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4089bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408b21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406658
cmp si, word [0x4579f8]
jb 0x408a54
cmp si, word [0x457bf8]
ja 0x408a54
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x408a54
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4579f8]
jae 0x408a2e
mov edi, ebx
dec edi
jmp 0x408a4f
cmp si, word [ebx*8 + 0x4579f8]
jbe 0x408a3e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408a4f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4579fc]
call fcn.004088cc
jmp 0x408a54
cmp edi, dword [ebp - 8]
jae 0x408a18
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408b03
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408b03
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040734c
push dword [ebp - 0x160]
push 0x408b3c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040734c
push dword [ebp - 0x164]
push 0x408b4c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040734c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407584
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b28
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004066b8
ret
Function at 0x408cd4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408dd7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45bb88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45bba0]
jne 0x408d20
mov eax, esi
mov edx, 0x45bba2
mov ecx, 0x55
call fcn.0040734c
push 0x45bb88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408dc1
push 0x45bb88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406658
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408d8f
cmp byte [0x45bb84], 0
je 0x408d54
mov edx, esi
mov eax, ebx
call fcn.00408bb8
jmp 0x408d8f
mov edx, esi
mov eax, ebx
call fcn.004089bc
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408d8f
cmp dword [esi], 0
je 0x408d78
mov eax, esi
mov edx, 0x408df0
call fcn.004074a4
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004089bc
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004074a4
push 0x45bb88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45bba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.004072b8
push eax
push 0x45bba2
call sub.kernel32.dll_lstrcpynW
push 0x45bb88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408dde
lea eax, [ebp - 4]
call fcn.00406658
ret
Function at 0x40900c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040673c
xor eax, eax
push ebp
push 0x409231
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40904c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409066
push 0x105
mov eax, dword [ebp - 4]
call fcn.004072b8
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40921b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409240
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409135
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409240
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409135
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40927c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409135
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40927c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409135
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409135
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x4092e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40921b
xor eax, eax
push ebp
push 0x409214
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408e18
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4091a4
mov eax, dword [ebp - 0x10]
call fcn.00404484
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407310
jmp 0x4091ef
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409324
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x4091ef
mov eax, dword [ebp - 0x10]
call fcn.00404484
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409324
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407310
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40921b
cmp dword [ebp - 8], 0
je 0x40920a
mov eax, dword [ebp - 8]
call fcn.004044a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409238
lea eax, [ebp - 4]
call fcn.00406658
ret
Function at 0x409514
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.0040673c
xor eax, eax
push ebp
push 0x4095d4
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.0040734c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004074fc
mov eax, dword [ebx]
call fcn.004093dc
test al, al
jne 0x4095b1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040734c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004074fc
mov eax, dword [ebx]
call fcn.004093dc
test al, al
jne 0x4095b1
mov eax, ebx
call fcn.00406658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4095db
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004066b8
lea eax, [ebp - 4]
call fcn.00406658
ret

Function at 0x418704
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41875d
test eax, edx
je 0x418760
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41871b
movzx eax, word [eax]
sub eax, ecx
jmp 0x418742
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 0x418743
add ecx, 4
js 0x418733
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x418740
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x418742
xor eax, eax
ret
test eax, eax
je 0x41876c
test edx, edx
jne 0x41870c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4197e4
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.004072b8
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41984e
test ah, 4
je 0x419847
test bl, bl
jne 0x41980c
mov al, 1
jmp 0x419875
test al, 0x10
je 0x419814
xor eax, eax
jmp 0x419875
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x419838
push eax
call sub.kernel32.dll_CloseHandle_1
mov al, 1
jmp 0x419875
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x419875
test al, 0x10
sete al
jmp 0x419875
call sub.kernel32.dll_GetLastError_2
mov ebx, eax
cmp ebx, 2
je 0x41986f
cmp ebx, 3
je 0x41986f
cmp ebx, 0x7b
je 0x41986f
mov eax, esi
call fcn.004197a4
test al, al
jne 0x419873
xor eax, eax
jmp 0x419875
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x41987c
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.004072b8
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x4198d1
call sub.kernel32.dll_GetLastError_2
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4198cb
test ah, 4
je 0x4198cb
test al, 0x10
je 0x4198cb
mov eax, esi
call fcn.004072b8
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4198d1
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41d5d8
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 0x41d611
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004067e0
jmp 0x41d61a
mov eax, ebx
mov edx, esi
call fcn.00406a38
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x41e30c
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 0x41e431
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041e114
mov esi, eax
mov eax, dword [0x458bac]
cmp byte [eax], 0
je 0x41e3d9
mov eax, dword [0x458a14]
call fcn.00404948
call fcn.004045d8
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 [0x41e2dc]
call fcn.0040843c
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 0x41e44c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41e415
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4589d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45bc50]
call fcn.00408500
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 0x41e438
lea eax, [ebp - 4]
mov edx, dword [0x41e2dc]
call fcn.00408448
ret
Function at 0x42037c
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.0040734c
add esp, 0x800
pop ebx
ret

Function at 0x4442b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45df9c
cmp dword [edi], 0
jne 0x444330
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45df98]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45882c
mov ecx, 2
call fcn.00404628
mov edx, 0x44428c
lea eax, [esi + 5]
call fcn.004442ac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004442ac
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 0x444305
mov dword [0x45df98], 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 0x4489ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0x448a88
push 0
mov eax, ebx
call fcn.004072b8
push eax
mov eax, dword [ebp + 8]
push eax
call sub.advapi32.dll_RegCreateKeyExW
mov ebx, eax
test ebx, ebx
jne 0x448a63
mov ebx, esi
test ebx, ebx
je 0x448a35
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.004072b8
push eax
push 1
push 0
mov eax, edi
call fcn.004072b8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
test ebx, ebx
je 0x448a7e
mov ecx, dword [0x458a28]
mov dl, 1
mov eax, dword [0x446d30]
call fcn.0041e50c
call fcn.00405e5c
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x44b4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004099ac
xor eax, eax
push ebp
push 0x44b5ea
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
call fcn.00448954
xor eax, eax
push ebp
push 0x44b5ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
movzx ebx, word [eax + 0x30]
dec ebx
test ebx, ebx
jl 0x44b59f
inc ebx
xor esi, esi
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
call fcn.00448954
mov eax, dword [ebp - 0x1c]
and eax, 2
cmp eax, 2
jne 0x44b597
mov eax, dword [ebp - 0x1c]
and eax, 1
dec eax
jne 0x44b597
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
call fcn.00448954
lea eax, [ebp - 8]
call fcn.00409938
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
call fcn.00448954
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.00448954
lea eax, [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00409950
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0044b418
inc esi
dec ebx
jne 0x44b512
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b5c1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x4c]
ret
Function at 0x44ea88
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040673c
xor eax, eax
push ebp
push 0x44eb77
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.004072b8
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x44eb61
mov eax, esi
call fcn.00404484
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x44eb5a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push esi
push 0
push edi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x44eb8c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp - 8]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
mov edx, eax
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
and eax, 0xffff
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eb61
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.004044a0
mov bl, 1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eb7e
lea eax, [ebp - 4]
call fcn.00406658
ret

Function at 0x44f558
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov edi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
jmp 0x44f5a0
push 1
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x44f592
push esp
call sub.user32.dll_TranslateMessage
push esp
call sub.user32.dll_DispatchMessageW
push 1
call sub.kernel32.dll_Sleep_1
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
sub ebx, esi
cmp edi, ebx
jg 0x44f570
add esp, 0x1c
pop edi
pop esi
pop ebx
ret

Function at 0x450420
Capabilities:
Encrypt data using rc6

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
lea edx, [esp + 4]
mov eax, dword [0x45e0bc]
mov ecx, 0x40
call fcn.00404628
mov dword [0x45e008], 0xb7e15163
mov ebx, 0x2b
mov eax, 0x45e008
mov edx, dword [eax]
add edx, 0x9e3779b9
mov dword [eax + 4], edx
add eax, 4
dec ebx
jne 0x45044e
xor ebx, ebx
xor edi, edi
xor esi, esi
xor ebp, ebp
mov dword [esp], 0x84
mov eax, dword [ebx*4 + 0x45e008]
add eax, esi
add eax, ebp
mov edx, 3
call fcn.004502cc
mov esi, eax
mov dword [ebx*4 + 0x45e008], esi
lea edx, [ebp + esi]
mov eax, dword [esp + edi*4 + 4]
add eax, esi
add eax, ebp
call fcn.004502cc
mov ebp, eax
mov dword [esp + edi*4 + 4], ebp
lea eax, [ebx + 1]
mov ecx, 0x2c
cdq
idiv ecx
mov ebx, edx
inc edi
and edi, 0x8000000f
jns 0x4504be
dec edi
or edi, 0xfffffff0
inc edi
dec dword [esp]
jne 0x45046e
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x450548
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov eax, dword [0x45e0b4]
sub dword [ebx + 8], eax
mov eax, dword [0x45e0b0]
sub dword [ebx], eax
mov esi, 0x14
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 4]
mov dword [ebx + 8], edx
mov edx, dword [ebx]
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.004502cc
mov ebp, eax
mov eax, dword [ebx + 4]
mov edx, eax
add eax, eax
inc eax
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.004502cc
mov edi, eax
mov eax, dword [ebx + 8]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x45e00c]
mov edx, edi
call fcn.004502ec
xor eax, ebp
mov dword [ebx + 8], eax
mov eax, dword [ebx]
mov edx, esi
add edx, edx
sub eax, dword [edx*4 + 0x45e008]
mov edx, ebp
call fcn.004502ec
xor edi, eax
mov dword [ebx], edi
dec esi
test esi, esi
jne 0x450562
mov eax, dword [0x45e00c]
sub dword [ebx + 0xc], eax
mov eax, dword [0x45e008]
sub dword [ebx + 4], eax
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x451994
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x45199d
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push esi
xor ecx, ecx
mov dword [ebp - 0x200c], ecx
mov dword [ebp - 0x2008], ecx
mov dword [ebp - 0x2004], ecx
mov esi, edx
xor edx, edx
push ebp
push 0x451a9c
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 0x1000
lea edx, [ebp - 0x2000]
mov word [edx], 0x20
add edx, 2
dec ecx
jne 0x4519dd
sub eax, 1
jb 0x4519f7
je 0x451a2d
dec eax
je 0x451a64
jmp 0x451a7e
lea eax, [ebp - 0x2000]
push eax
push 0x1000
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x2004]
lea edx, [ebp - 0x2000]
mov ecx, 0x1000
call fcn.004067e0
mov eax, dword [ebp - 0x2004]
mov edx, esi
call fcn.00418978
jmp 0x451a7e
push 0
push 0x1c
lea eax, [ebp - 0x2000]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
lea eax, [ebp - 0x2008]
lea edx, [ebp - 0x2000]
mov ecx, 0x1000
call fcn.004067e0
mov eax, dword [ebp - 0x2008]
mov edx, esi
call fcn.00418978
jmp 0x451a7e
lea edx, [ebp - 0x200c]
xor eax, eax
call fcn.00404844
mov eax, dword [ebp - 0x200c]
mov edx, esi
call fcn.00419a38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451aa3
lea eax, [ebp - 0x200c]
mov edx, 3
call fcn.004066b8
ret

Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0