joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b54
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405e2c
mov byte [esp], al
cmp byte [esp], 0
jne 0x405cdd
test edi, edi
je 0x405cdd
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405c1d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x405bf8
cmp edi, 0xffffffff
je 0x405bb9
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405bb9
mov byte [esp], 0
jmp 0x405cdd
cmp dword [esi], 1
jg 0x405bf8
cmp dword [esi], 0
jne 0x405bea
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x405bea
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x405cdd
lea eax, [esp + 0xc]
call fcn.004058e8
dec ebp
test ebp, ebp
jg 0x405b9e
cmp edi, 0xffffffff
je 0x405c1d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405c1b
mov byte [esp], 0
jmp 0x405cdd
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405b62
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405c1d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405d58
mov edx, eax
mov ebx, dword [0x43e8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405c81
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405c7f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405c81
xor edi, edi
cmp byte [esp], 0
je 0x405ca7
mov ebx, dword [esi]
test bl, 1
jne 0x405cbd
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405c87
mov byte [esp + 1], 1
jmp 0x405cbd
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405ca7
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405c34
cmp byte [esp], 0
je 0x405cdd
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4068a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x43e054], 0
je 0x406907
cmp word [0x43e340], 0xd7b2
jne 0x4068c9
cmp dword [0x43e348], 0
jbe 0x4068c9
mov eax, 0x43e33c
call dword [0x43e358]
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, 0x406934
call fcn.00407178
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x43b02e], 0
jne 0x406923
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x4095e4
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 0x409749
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406b3c
cmp si, word [0x43b9f8]
jb 0x40967c
cmp si, word [0x43bbf8]
ja 0x40967c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40967c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x43b9f8]
jae 0x409656
mov edi, ebx
dec edi
jmp 0x409677
cmp si, word [ebx*8 + 0x43b9f8]
jbe 0x409666
inc ebx
mov dword [ebp - 8], ebx
jmp 0x409677
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x43b9fc]
call fcn.00409504
jmp 0x40967c
cmp edi, dword [ebp - 8]
jae 0x409640
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40972b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40972b
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.004073ec
push dword [ebp - 0x160]
push 0x409764
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004073ec
push dword [ebp - 0x164]
push 0x409774
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004073ec
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.004075b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409750
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406b9c
ret
Function at 0x4098fc
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 0x409a00
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x440c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x440c24]
jne 0x409948
mov eax, esi
mov edx, 0x440c26
mov ecx, 0x55
call fcn.004073ec
push 0x440c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4099ea
push 0x440c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406b3c
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4099b7
cmp byte [0x440c08], 0
je 0x40997c
mov edx, esi
mov eax, ebx
call fcn.004097e0
jmp 0x4099b7
mov edx, esi
mov eax, ebx
call fcn.004095e4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4099b7
cmp dword [esi], 0
je 0x4099a0
mov eax, esi
mov edx, 0x409a18
call fcn.004074d8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004095e4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004074d8
push 0x440c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x440c24], bx
mov eax, dword [esi]
call fcn.0040735c
mov ecx, eax
mov eax, 0x440c26
mov edx, 0xaa
call fcn.00409464
push 0x440c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a07
lea eax, [ebp - 4]
call fcn.00406b3c
ret
Function at 0x409c30
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.00406c20
xor eax, eax
push ebp
push 0x409e55
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x409c70
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409c8a
mov eax, dword [ebp - 4]
call fcn.0040735c
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409464
cmp word [ebp - 0x21a], 0
je 0x409e3f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409e64
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409d59
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409e64
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409d59
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ea0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409d59
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ea0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409d59
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ed4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409d59
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409f08
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409e3f
xor eax, eax
push ebp
push 0x409e38
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409a40
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 0x409dc8
mov eax, dword [ebp - 0x10]
call fcn.00404cf4
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.004073b0
jmp 0x409e13
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409f48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409e13
mov eax, dword [ebp - 0x10]
call fcn.00404cf4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409f48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004073b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409e3f
cmp dword [ebp - 8], 0
je 0x409e2e
mov eax, dword [ebp - 8]
call fcn.00404d10
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 0x409e5c
lea eax, [ebp - 4]
call fcn.00406b3c
ret
Function at 0x40a15c
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.00406c20
xor eax, eax
push ebp
push 0x40a21c
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.004073ec
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407530
mov eax, dword [ebx]
call fcn.0040a00c
test al, al
jne 0x40a1f9
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.004073ec
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407530
mov eax, dword [ebx]
call fcn.0040a00c
test al, al
jne 0x40a1f9
mov eax, ebx
call fcn.00406b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a223
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406b9c
lea eax, [ebp - 4]
call fcn.00406b3c
ret

Function at 0x40b920
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x40db94
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff3e0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push 0x443861
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
jne 0x40dc4e
lea eax, [ebp - 0xc10]
push eax
push 0
push 0
push 0x8005
push 0
call sub.SHFolder.dll_SHGetFolderPathA
test eax, eax
jne 0x40dc4e
lea eax, [ebp - 0xc10]
call fcn.0040cc00
mov ebx, eax
test ebx, ebx
je 0x40dc02
cmp byte [ebp + ebx - 0xc11], 0x5c
je 0x40dc0b
mov byte [ebp + ebx - 0xc10], 0x5c
inc ebx
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x10]
mov eax, 0x443861
call fcn.0040db74
mov ecx, dword [ebp - 0xc]
inc ecx
lea edx, [ebp + ebx - 0xc10]
mov eax, dword [ebp - 0x10]
call fcn.00404f08
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0xc10]
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x40dd82
push 2
push 0
push 0
push esi
call sub.kernel32.dll_SetFilePointer
lea edx, [ebp - 0x410]
mov eax, 0x40dd8c
mov ecx, 2
call fcn.0040cedc
mov ebx, eax
mov eax, 0x40dd90
mov ecx, 0x20
mov edx, ebx
call fcn.0040cedc
mov ebx, eax
lea eax, [ebp - 0xc20]
push eax
call sub.kernel32.dll_GetLocalTime
movzx eax, word [ebp - 0xc20]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov byte [ebx], 0x2f
inc ebx
movzx eax, word [ebp - 0xc1e]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov byte [ebx], 0x2f
inc ebx
movzx eax, word [ebp - 0xc1a]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov byte [ebx], 0x20
inc ebx
movzx eax, word [ebp - 0xc18]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov byte [ebx], 0x3a
inc ebx
cmp word [ebp - 0xc16], 0xa
jae 0x40dcf7
mov byte [ebx], 0x30
inc ebx
movzx eax, word [ebp - 0xc16]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov byte [ebx], 0x3a
inc ebx
cmp word [ebp - 0xc14], 0xa
jae 0x40dd19
mov byte [ebx], 0x30
inc ebx
movzx eax, word [ebp - 0xc14]
mov edx, ebx
call fcn.0040ce38
mov ebx, eax
mov eax, 0x40dd90
mov ecx, 0x20
mov edx, ebx
call fcn.0040cedc
mov ebx, eax
mov eax, 0x40dd8c
mov ecx, 2
mov edx, ebx
call fcn.0040cedc
mov ebx, eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x410]
sub ebx, eax
push ebx
lea eax, [ebp - 0x410]
push eax
push esi
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
push esi
call sub.kernel32.dll_WriteFile
push esi
call sub.kernel32.dll_CloseHandle
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ddd4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f8
push ebx
mov eax, 0x443861
call fcn.0040cc1c
mov ebx, eax
test ebx, ebx
jbe 0x40de76
mov eax, dword [0x43c3f4]
call fcn.0040cc00
mov ecx, eax
inc ecx
lea edx, [ebx + 0x44385d]
mov eax, dword [0x43c3f4]
call fcn.00404f08
push 0x3ff
lea eax, [ebp - 0x808]
push eax
push 0x40de7c
call sub.kernel32.dll_GetEnvironmentVariableA
mov ebx, eax
test ebx, ebx
jbe 0x40de76
cmp byte [ebp + ebx - 0x809], 0x5c
je 0x40de3e
mov byte [ebp + ebx - 0x808], 0x5c
inc ebx
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, 0x443861
call fcn.0040db74
mov ecx, dword [ebp - 8]
inc ecx
lea edx, [ebp + ebx - 0x808]
mov eax, dword [ebp - 4]
call fcn.00404f08
mov edx, 0x443861
lea eax, [ebp - 0x808]
mov ecx, 0x3ff
call fcn.00404f08
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41e918
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
test eax, eax
jle 0x41e951
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406c94
jmp 0x41e95a
mov eax, ebx
mov edx, esi
call fcn.00406eec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41e964
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
test eax, eax
jle 0x41e986
movzx eax, word [esp]
jmp 0x41e988
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41f988
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 0x41faad
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041f790
mov esi, eax
mov eax, dword [0x43d1f4]
cmp byte [eax], 0
je 0x41fa55
mov eax, dword [0x43d0c8]
call fcn.004050b0
call fcn.00404eb8
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41f958]
call fcn.00408f1c
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41fac8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x41fa91
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x43d0a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x44162c]
call fcn.00409108
push eax
call sub.user32.dll_LoadStringW
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 0x41fab4
lea eax, [ebp - 4]
mov edx, dword [0x41f958]
call fcn.00409040
ret
Function at 0x420898
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 0x420998
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406f34
lea eax, [ebp - 4]
call fcn.0040703c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040735c
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x420982
mov eax, ebx
call fcn.00404cf4
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x42097b
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.0040735c
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x420965
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4209ac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x420965
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 0x420982
mov eax, dword [ebp - 0x10]
call fcn.00404d10
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42099f
lea eax, [ebp - 4]
call fcn.00406b3c
ret

Function at 0x421244
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.00406fd0
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b900
mov edi, eax
cmp edi, 0x104
jbe 0x4211ef
mov eax, edi
add eax, eax
call fcn.00404cf4
mov esi, eax
jmp 0x4211f1
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040b900
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x42122a
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 0x421214
mov eax, esp
cmp esi, eax
je 0x421237
mov eax, esi
call fcn.00404d10
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 0x421270
cmp bl, 0
je 0x42126c
cmp bl, 0x41
jl 0x421267
cmp bl, 0x5a
jg 0x421267
or bl, 0x20
xor al, bl
inc esi
jmp 0x42124b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4211b0
Function at 0x429070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
add esp, 0xffffffe8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp + 4]
test edi, edi
jle 0x429178
movzx eax, word [esi]
mov word [esp + 8], ax
movzx eax, word [esp + 8]
add eax, 0xffffffc6
sub ax, 7
jae 0x4290a4
mov al, 1
jmp 0x4290bb
movzx eax, word [esi]
mov word [esp + 0xa], ax
movzx eax, word [esp + 0xa]
add eax, 0xffffffb9
sub ax, 0x1a
setb al
test al, al
je 0x4290c3
mov dl, 1
jmp 0x429102
movzx eax, word [esi + 2]
mov word [esp + 0xc], ax
movzx eax, word [esp + 0xc]
add eax, 0xffffffc6
sub ax, 7
jae 0x4290e1
mov byte [esp + 0x10], 1
jmp 0x4290fd
movzx eax, word [esi + 2]
mov word [esp + 0xe], ax
movzx eax, word [esp + 0xe]
add eax, 0xffffffb9
sub ax, 0x1a
setb al
mov byte [esp + 0x10], al
movzx edx, byte [esp + 0x10]
test dl, dl
jne 0x429178
movzx eax, word [esi]
mov word [esp + 0x12], ax
movzx eax, word [esp + 0x12]
add eax, 0xffffffd0
sub ax, 0x37
jb 0x429123
mov byte [esp + 0x16], 1
jmp 0x429141
movzx eax, word [esi + 2]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x14]
add eax, 0xffffffd0
sub ax, 0x37
setb al
xor al, 1
mov byte [esp + 0x16], al
cmp byte [esp + 0x16], 0
jne 0x429178
movzx eax, byte [esi]
movzx eax, word [eax*2 + 0x43cd6c]
shl eax, 4
movzx edx, byte [esi + 2]
movzx edx, word [edx*2 + 0x43cd6c]
add al, dl
mov edx, dword [esp]
mov byte [edx], al
inc dword [esp]
add esi, 4
dec edi
test edi, edi
jg 0x42908a
mov eax, dword [esp + 4]
sub eax, edi
add esp, 0x18
pop edi
pop esi
ret
Function at 0x433ea0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x434043
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [0x42810c]
call fcn.00409040
lea eax, [ebp - 8]
call fcn.00406b3c
push 0
push 0
call sub.kernel32.dll_GetLogicalDriveStringsW
test eax, eax
jns 0x433ee7
call fcn.00405468
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00407458
mov eax, dword [ebp - 8]
call fcn.0040735c
push eax
mov eax, dword [ebp - 0x14]
test eax, eax
jns 0x433f0a
call fcn.00405468
push eax
call sub.kernel32.dll_GetLogicalDriveStringsW
test eax, eax
jns 0x433f19
call fcn.00405468
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43401f
lea eax, [ebp - 0x18]
mov edx, dword [0x42810c]
call fcn.00409040
mov ecx, eax
mov edx, 0x43405c
mov eax, dword [ebp - 8]
call fcn.004291d0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x433f5a
mov eax, dword [ebp - 0x20]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x42810c]
call fcn.00408f1c
add esp, 4
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x433f90
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x434005
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x433fb2
cmp eax, dword [edx - 4]
jb 0x433fb7
call fcn.00405468
cmp dword [edx + eax*4], 0
je 0x433ffd
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
test edx, edx
je 0x433fce
cmp eax, dword [edx - 4]
jb 0x433fd3
call fcn.00405468
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x433fe5
cmp edx, dword [ecx - 4]
jb 0x433fea
call fcn.00405468
mov edx, dword [ecx + edx*4]
call fcn.00406eec
add dword [ebp - 0x10], 1
jno 0x433ffd
call fcn.00405470
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x433fa3
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x42810c]
call fcn.00408f1c
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43404a
lea eax, [ebp - 0x18]
mov edx, dword [0x42810c]
call fcn.00409040
lea eax, [ebp - 8]
call fcn.00406b3c
ret