joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4089f4
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.00408eb4
mov byte [esp], al
cmp byte [esp], 0
jne 0x408b7d
test edi, edi
je 0x408b7d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x408a98
cmp edi, 0xffffffff
je 0x408a59
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408a59
mov byte [esp], 0
jmp 0x408b7d
cmp dword [esi], 1
jg 0x408a98
cmp dword [esi], 0
jne 0x408a8a
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408a8a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408b7d
lea eax, [esp + 0xc]
call fcn.004086a4
dec ebp
test ebp, ebp
jg 0x408a3e
cmp edi, 0xffffffff
je 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x408abb
mov byte [esp], 0
jmp 0x408b7d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x408a02
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408abd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00408bf8
mov edx, eax
mov ebx, dword [0x4d58f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x408b21
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x408b1f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x408b21
xor edi, edi
cmp byte [esp], 0
je 0x408b47
mov ebx, dword [esi]
test bl, 1
jne 0x408b5d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b27
mov byte [esp + 1], 1
jmp 0x408b5d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408b47
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408ad4
cmp byte [esp], 0
je 0x408b7d
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 0x409a44
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d5058], 0
je 0x409aab
cmp word [0x4d5344], 0xd7b2
jne 0x409a6d
cmp dword [0x4d534c], 0
jbe 0x409a6d
mov eax, 0x4d5340
call dword [0x4d535c]
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, 0x409ad8
call fcn.0040a5c4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d1036], 0
jne 0x409ac7
push 0
push 0x4d19d3
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x409c6c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4d1038], 0
je 0x409c97
mov edx, edi
mov eax, esi
call dword [0x4d1038]
mov ebx, eax
jmp 0x409ca8
mov eax, 8
call fcn.00406f40
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4d5059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x409c34
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x409cd8
mov eax, ebx
call fcn.00406f5c
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40d390
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 0x40d4f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409dac
cmp si, word [0x4d1a10]
jb 0x40d428
cmp si, word [0x4d1c10]
ja 0x40d428
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d428
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d1a10]
jae 0x40d402
mov edi, ebx
dec edi
jmp 0x40d423
cmp si, word [ebx*8 + 0x4d1a10]
jbe 0x40d412
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d423
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d1a14]
call fcn.0040d2ac
jmp 0x40d428
cmp edi, dword [ebp - 8]
jae 0x40d3ec
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d4d7
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d4d7
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.0040a8ac
push dword [ebp - 0x160]
push 0x40d514
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040a8ac
push dword [ebp - 0x164]
push 0x40d524
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040a8ac
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040aae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d4fe
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409e0c
pop eax
jmp eax
Function at 0x40d6ac
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 0x40d7b2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d7c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4d7c28]
jne 0x40d6f8
mov eax, esi
mov edx, 0x4d7c2a
mov ecx, 0x55
call fcn.0040a8ac
push 0x4d7c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d79a
push 0x4d7c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409dac
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d767
cmp byte [0x4d7c0c], 0
je 0x40d72c
mov edx, esi
mov eax, ebx
call fcn.0040d590
jmp 0x40d767
mov edx, esi
mov eax, ebx
call fcn.0040d390
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40d767
cmp dword [esi], 0
je 0x40d750
mov eax, esi
mov edx, 0x40d7cc
call fcn.0040aa04
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d390
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040aa04
push 0x4d7c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4d7c28], bx
mov eax, dword [esi]
call fcn.0040a810
mov ecx, eax
mov eax, 0x4d7c2a
mov edx, 0xaa
call fcn.0040d20c
push 0x4d7c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d7b9
lea eax, [ebp - 4]
call fcn.00409dac
pop eax
jmp eax
Function at 0x40d9f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409ea0
xor eax, eax
push ebp
push 0x40dc1c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40da3a
push 0x105
lea eax, [ebp - 0x21e]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40da54
mov eax, dword [ebp - 4]
call fcn.0040a810
mov ecx, eax
lea eax, [ebp - 0x21e]
mov edx, 0x105
call fcn.0040d20c
cmp word [ebp - 0x21e], 0
je 0x40dbff
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dc2c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40db23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dc2c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40db23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dc68
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40db23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dc68
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40db23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dc9c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40db23
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x40dcd0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40dbff
xor eax, eax
push ebp
push 0x40dbf8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
lea eax, [ebp - 0x21e]
call fcn.0040d7f4
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40db86
mov eax, dword [ebp - 0x14]
call fcn.00406f40
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040a870
jmp 0x40dbd1
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0x40dd10
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40dbd1
mov eax, dword [ebp - 0x14]
call fcn.00406f40
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push 0x40dd10
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, esi
mov edx, dword [ebp - 0xc]
call fcn.0040a870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbff
cmp dword [ebp - 0xc], 0
je 0x40dbec
mov eax, dword [ebp - 0xc]
call fcn.00406f5c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dc23
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e0c
pop eax
jmp eax
Function at 0x40df30
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.00409ea0
xor eax, eax
push ebp
push 0x40dff2
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.0040a8ac
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa5c
mov eax, dword [ebx]
call fcn.0040ddd8
test al, al
jne 0x40dfcd
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a8ac
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040aa5c
mov eax, dword [ebx]
call fcn.0040ddd8
test al, al
jne 0x40dfcd
mov eax, ebx
call fcn.00409dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dff9
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409e0c
lea eax, [ebp - 4]
call fcn.00409dac
pop eax
jmp eax

Function at 0x40facc
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 0x41fc9c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41fcf5
test eax, edx
je 0x41fcf8
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41fcb3
movzx eax, word [eax]
sub eax, ecx
jmp 0x41fcda
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x41fcdb
add ecx, 4
js 0x41fccb
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41fcd8
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41fcda
xor eax, eax
ret
test eax, eax
je 0x41fd04
test edx, edx
jne 0x41fca4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x420b60
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.0040a810
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x420bca
test ah, 4
je 0x420bc3
test bl, bl
jne 0x420b88
mov al, 1
jmp 0x420bf1
test al, 0x10
je 0x420b90
xor eax, eax
jmp 0x420bf1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x420bb4
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x420bf1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x420bf1
test al, 0x10
sete al
jmp 0x420bf1
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x420beb
cmp ebx, 3
je 0x420beb
cmp ebx, 0x7b
je 0x420beb
mov eax, esi
call fcn.00420b20
test al, al
jne 0x420bef
xor eax, eax
jmp 0x420bf1
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x4251d4
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 0x42520d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409f44
jmp 0x425216
mov eax, ebx
mov edx, esi
call fcn.0040a19c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x425220
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x425244
movzx eax, word [esp]
jmp 0x425246
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x426960
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 0x426a87
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00426768
mov esi, eax
mov eax, dword [0x4d4bd8]
cmp byte [eax], 0
je 0x426a2d
mov eax, dword [0x4d4a1c]
call fcn.00407808
call fcn.004070b4
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 [0x426930]
call fcn.0040c914
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 0x426aa0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x426a69
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d49e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d8634]
call fcn.0040ceb0
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 0x426a8e
lea eax, [ebp - 4]
mov edx, dword [0x426930]
call fcn.0040ca38
pop eax
jmp eax

Function at 0x428b68
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.0040a290
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040faac
mov edi, eax
cmp edi, 0x104
jbe 0x428b13
mov eax, edi
add eax, eax
call fcn.00406f40
mov esi, eax
jmp 0x428b15
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040faac
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x428b4e
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 0x428b38
mov eax, esp
cmp esi, eax
je 0x428b5b
mov eax, esi
call fcn.00406f5c
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 0x428b94
cmp bl, 0
je 0x428b90
cmp bl, 0x41
jl 0x428b8b
cmp bl, 0x5a
jg 0x428b8b
or bl, 0x20
xor al, bl
inc esi
jmp 0x428b6f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x428ad4

Function at 0x42948c
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
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a8ac
add esp, 0x800
pop ebx
ret
Function at 0x44e708
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x44e71c
add esp, 0xfffffff0
call fcn.004085ec
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x4487a4]
call fcn.0046c544
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x44d744]
call fcn.0046f314
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x44d744]
call fcn.0046f314
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x44e771
call fcn.00408644
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b1974
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4b19b7
cmp byte [ebx + 0x11], 0
jne 0x4b19b7
cmp byte [ebx + 0x24], 0
jne 0x4b19b7
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 0x4b19ce
mov ecx, dword [0x4d4b94]
mov dl, 1
mov eax, dword [0x484960]
call fcn.00426bec
call fcn.004094a4
pop ebx
ret
mov ecx, dword [0x4d4b94]
mov dl, 1
mov eax, dword [0x484960]
call fcn.00426bec
call fcn.004094a4
pop ebx
ret

Function at 0x4b2340
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 0x4b238e
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.004b1820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b23a7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

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

Function at 0x4cbf74
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
mov dword [ebp - 8], 0x1f
mov eax, dword [ebp - 8]
call fcn.00406f40
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cbfe3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4cbfba
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a870
jmp 0x4cbfcb
mov ecx, ebx
mov edx, 2
mov eax, 1
call fcn.004cab84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbfea
mov eax, dword [ebp - 4]
call fcn.00406f5c
pop eax
jmp eax

Function at 0x4cc5bc
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathW
mov edx, ebx
mov eax, esp
call fcn.00420f0c
add esp, 0x20c
pop ebx
ret
Function at 0x4cc5e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4cc6cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 0xe
mov eax, 0xd
call fcn.004cab84
push dword [ebp - 8]
push ebx
lea ecx, [ebp - 0xc]
mov edx, 0xf
mov eax, 0xe
call fcn.004cab84
push dword [ebp - 0xc]
push esi
push 0x4cc6e8
push edi
lea eax, [ebp - 4]
mov edx, 6
call fcn.0040aae4
push 0
push 0
lea ecx, [ebp - 0x10]
mov edx, 0x12
mov eax, 0x11
call fcn.004cab84
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040aa04
mov eax, dword [ebp - 0x10]
call fcn.0040a810
push eax
lea ecx, [ebp - 0x14]
mov edx, 0x11
mov eax, 0x10
call fcn.004cab84
mov eax, dword [ebp - 0x14]
call fcn.0040a810
push eax
lea ecx, [ebp - 0x18]
mov edx, 0x10
mov eax, 0xf
call fcn.004cab84
mov eax, dword [ebp - 0x18]
call fcn.0040a810
push eax
push 0
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cc6d4
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00409e0c
pop eax
jmp eax

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x19526346
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2a205804
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x41d380
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x5d7008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x19c], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x198], 6
jb 0x41d432
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x1d8], 0x3c
mov dword [ebp - 0x1d4], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1d8]
push eax
mov dword [ebp - 0x1cc], str.runas
mov dword [ebp - 0x1c4], str._softwarecad
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 1
mov dword [ebp - 0x1b8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d630
mov esp, ebp
pop ebp
ret