joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58f3f4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
xor eax, eax
push ebp
push 0x58f549
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
jne 0x58f43e
cmp dword [ebp - 8], 0
je 0x58f521
mov eax, 0x104
call fcn.00402fc0
mov edi, eax
mov eax, 0x104
call fcn.00402fc0
mov dword [ebp - 0x10], eax
call sub.user32.dll_GetDesktopWindow
push 5
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x58f512
push 0x104
push edi
push esi
call sub.user32.dll_GetClassNameA
push 0x104
mov eax, dword [ebp - 0x10]
push eax
push esi
call sub.user32.dll_GetWindowTextA
cmp dword [ebp - 4], 0
je 0x58f4ac
lea eax, [ebp - 0x14]
mov edx, edi
call fcn.00405c90
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0041038c
test eax, eax
setne byte [ebp - 0xa]
jmp 0x58f4b0
mov byte [ebp - 0xa], 1
cmp dword [ebp - 8], 0
je 0x58f4d4
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
call fcn.00405c90
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0041038c
test eax, eax
setne byte [ebp - 0xb]
jmp 0x58f4d8
mov byte [ebp - 0xb], 1
movzx ebx, byte [ebp - 0xa]
and bl, byte [ebp - 0xb]
test byte [ebp - 9], bl
je 0x58f4fc
push 0
push 0
push 0x1f
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x10
push esi
call sub.user32.dll_PostMessageA
test bl, bl
jne 0x58f512
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x58f46e
mov eax, dword [ebp - 0x10]
call fcn.00402fdc
mov eax, edi
call fcn.00402fdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58f550
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405abc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405abc
ret

Function at 0x58f55c
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffd8
mov ebx, eax
mov eax, dword [0x5d6114]
cmp dword [eax], 2
jne 0x58f5d6
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x58f5d6
lea eax, [esp + 0xc]
push eax
push 0x58f5ec
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
cmp eax, 1
sbb eax, eax
inc eax
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
mov edx, 0x10
xor ecx, ecx
mov dword [esp + 4], ecx
test al, al
je 0x58f5d6
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x1c]
push eax
push edx
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
push 0
push ebx
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x28
pop ebx
ret
Function at 0x593adc
Capabilities:
Set file attributes

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
mov eax, dword [ebp + 8]
call fcn.00405f18
xor eax, eax
push ebp
push 0x593c7e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x593c51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, edi
mov edx, esi
mov eax, ebx
call fcn.005957cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593c5b
cmp byte [0x5dcc8c], 0
jne 0x593c50
mov eax, dword [ebp + 8]
call fcn.0058f038
lea edx, [ebp - 4]
call fcn.0058f120
cmp dword [0x5dcd78], 3
jne 0x593b83
push dword [ebp - 4]
push dword [0x5dcd14]
push 0x593c98
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405e2c
jmp 0x593b9e
push dword [ebp - 4]
push dword [0x5dcd10]
push 0x593c98
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405e2c
push 2
mov eax, dword [ebp - 4]
call fcn.00405f28
push eax
call sub.kernel32.dll_SetFileAttributesA
lea edx, [ebp - 8]
mov eax, 0x593ca4
call fcn.0058fff8
mov eax, dword [ebp - 8]
call fcn.005936d4
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004c95c0
push dword [ebp - 4]
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.00589d2c
push dword [ebp - 0xc]
push 0x593ccc
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405e2c
mov eax, dword [0x5dcd8c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x593c50
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0040bbcc
mov eax, dword [ebp - 0x10]
call fcn.0040b938
test al, al
je 0x593c50
lea edx, [ebp - 0x14]
mov eax, 0x593ca4
call fcn.0058fff8
mov eax, dword [ebp - 0x14]
call fcn.005936d4
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040bbcc
mov eax, dword [ebp - 0x18]
pop edx
call fcn.004c95c0
movzx ecx, byte [0x5dcc8d]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00591b08
ret
Function at 0x593cd4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
xor eax, eax
push ebp
push 0x593e6c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x593e3d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00412bb0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x41c96c]
call fcn.004222bc
mov ebx, eax
push 0xffff
lea eax, [ebp - 0x10]
mov ecx, 0x593e84
mov edx, dword [ebp - 4]
call fcn.00405db0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x41c96c]
call fcn.004222bc
mov dword [ebp - 8], eax
mov eax, dword [0x5d97f8]
call fcn.0058fd74
call fcn.00402fc0
mov esi, eax
mov eax, dword [0x5d97f8]
call fcn.0058fd74
mov ecx, eax
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [0x5d97f8]
call fcn.0058fd74
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, esi
call fcn.00402fdc
mov eax, ebx
call fcn.00404b38
push 0x20
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41c96c]
call fcn.004222bc
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
call fcn.00402fc0
mov esi, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, esi
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, ebx
call fcn.00404b38
mov eax, dword [ebp - 8]
call fcn.00404b38
lea eax, [ebp - 0x14]
mov ecx, 0x593e90
mov edx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x14]
call fcn.00405f28
push eax
mov eax, dword [ebp - 4]
call fcn.00405f28
mov ebx, eax
push ebx
call sub.kernel32.dll_MoveFileA
push ebx
lea eax, [ebp - 0x18]
mov ecx, 0x593e84
mov edx, dword [ebp - 4]
call fcn.00405db0
mov eax, dword [ebp - 0x18]
call fcn.00405f28
push eax
call sub.kernel32.dll_MoveFileA
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x593e49
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593e73
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405abc
lea eax, [ebp - 4]
call fcn.00405a98
ret

Function at 0x59512c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x90], 5
jb 0x59515b
mov bl, 1
jmp 0x59516f
cmp dword [ebp - 0x90], 4
jne 0x59516f
cmp dword [ebp - 0x8c], 0x5a
jb 0x59516f
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5b44fc
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
jb 0x5b451d
mov al, 1
jmp 0x5b451f
xor eax, eax
test al, al
je 0x5b452e
mov eax, ebx
call fcn.0048777c
movzx eax, byte [eax + 8]
add esp, 0x94
pop ebx
ret

Function at 0x5b4538
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 4]
cmp eax, 5
jbe 0x5b4558
mov al, 1
jmp 0x5b456e
cmp eax, 5
jae 0x5b4561
xor eax, eax
jmp 0x5b456e
cmp dword [esp + 8], 1
jb 0x5b456c
mov al, 1
jmp 0x5b456e
xor eax, eax
add esp, 0x94
ret
Function at 0x5ba9dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
xor eax, eax
push ebp
push 0x5bab5f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.005b4aa4
mov eax, dword [ebp - 8]
call fcn.005b4ab8
mov ebx, eax
test ebx, ebx
je 0x5baa9f
mov byte [ebx + 0x370], 1
mov eax, ebx
call fcn.00482298
mov eax, dword [0x5d5d40]
xor edx, edx
mov dword [eax], edx
push 0
mov eax, ebx
call fcn.0046fcd8
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d5670]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d5674]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
call fcn.00485f60
cmp ebx, dword [0x5d566c]
jne 0x5baa7d
xor eax, eax
mov dword [0x5d566c], eax
xor eax, eax
mov dword [0x5d5670], eax
mov eax, 0x5dce08
call fcn.00405a98
mov eax, ebx
call fcn.0047d674
mov dword [0x5dcdf8], eax
mov eax, ebx
call fcn.0047d694
mov dword [0x5dcdfc], eax
mov eax, dword [ebp - 4]
call fcn.005b4ab8
mov ebx, eax
test ebx, ebx
je 0x5bab3d
mov byte [ebx + 0x370], 1
mov eax, ebx
call fcn.00482298
mov eax, dword [0x5d5d40]
xor edx, edx
mov dword [eax], edx
push 0
mov eax, ebx
call fcn.0046fcd8
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d5670]
push eax
call sub.user32.dll_ShowWindow
push 0
mov eax, dword [0x5d5674]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
call fcn.00485f60
mov eax, dword [ebp - 4]
call fcn.005b4294
cmp ebx, dword [0x5d566c]
jne 0x5bab1b
xor eax, eax
mov dword [0x5d566c], eax
xor eax, eax
mov dword [0x5d5670], eax
mov eax, 0x5dce08
call fcn.00405a98
mov eax, ebx
call fcn.0047d674
mov dword [0x5dcdf8], eax
mov eax, ebx
call fcn.0047d694
mov dword [0x5dcdfc], eax
xor eax, eax
call fcn.005b4294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bab66
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405abc
ret
Function at 0x5bab6c
Capabilities:
Hide graphical window

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 dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f18
mov eax, dword [ebp - 8]
call fcn.00405f18
xor eax, eax
push ebp
push 0x5baccd
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004031c8
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040bbcc
mov eax, dword [ebp - 0x10]
call fcn.00403158
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0040abac
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5dcdf0]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5bac21
push 0
mov edx, ebx
mov eax, dword [0x5dcdf0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.0046fcd8
push eax
call sub.user32.dll_ShowWindow
mov edx, ebx
mov eax, dword [0x5dcdf0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.00404b38
xor ecx, ecx
mov edx, ebx
mov eax, dword [0x5dcdf0]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [0x5d5d78]
mov eax, dword [eax]
call fcn.00485f60
jmp 0x5bac3b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0040abac
mov edx, dword [ebp - 0x18]
mov eax, dword [0x5dcdf0]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, eax
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x5bae64]
call fcn.005bb494
mov esi, eax
mov ecx, esi
mov edx, ebx
mov eax, dword [0x5dcdf0]
mov ebx, dword [eax]
call dword [ebx + 0x24]
mov dl, 1
mov eax, dword [0x41c748]
call fcn.00404b08
mov ebx, eax
lea eax, [ebp - 0x1c]
mov ecx, 0x5bace4
mov edx, dword [ebp - 8]
call fcn.00405db0
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.0042055c
mov edx, dword [ebp - 0x20]
lea eax, [esi + 0x37c]
call fcn.00405aec
mov eax, ebx
call fcn.00404b38
mov eax, esi
call fcn.0046fcd8
mov ebx, eax
mov eax, dword [ebp - 0xc]
call fcn.00403158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bacd4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405abc
ret
Function at 0x5c1c4c
Capabilities:
Get session user name
Get token privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c1df7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405a98
xor edx, edx
push ebp
push 0x5c1dc4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [0x5d6114]
cmp dword [eax], 2
jne 0x5c1d93
lea eax, [ebp - 0xc]
push eax
push 0x20008
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
mov eax, dword [ebp - 0x10]
inc eax
call fcn.00402fc0
mov ebx, eax
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x10]
push edx
push eax
push ebx
push 1
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetTokenInformation
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebx]
push eax
push 0
call sub.advapi32.dll_LookupAccountSidA
mov eax, dword [ebp - 0x14]
inc eax
call fcn.00402fc0
mov esi, eax
mov eax, dword [ebp - 0x18]
inc eax
call fcn.00402fc0
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push esi
mov eax, dword [ebx]
push eax
push 0
call sub.advapi32.dll_LookupAccountSidA
lea eax, [ebp - 0x120]
mov edx, edi
call fcn.00404494
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405cfc
push dword [ebp - 0x20]
push 0x5c1e10
lea eax, [ebp - 0x124]
mov edx, esi
call fcn.00405c90
push dword [ebp - 0x124]
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.00405e2c
mov eax, edi
call fcn.00402fdc
mov eax, esi
call fcn.00402fdc
mov eax, ebx
call fcn.00402fdc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x5c1dba
mov eax, 0x104
call fcn.00402fc0
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.00405c90
mov eax, ebx
call fcn.00402fdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5c1dd6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c1dfe
lea eax, [ebp - 0x124]
call fcn.00405a98
lea eax, [ebp - 0x20]
call fcn.00405a98
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6c8e7eb8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x27b476e9
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43ea34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x43ea30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x43ea30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x7094370
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.070944c0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7094396
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7094382
add dl, dl
jne 0x70943a1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x70943f4
xor eax, eax
add dl, dl
jne 0x70943ae
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7094495
add dl, dl
jne 0x70943bd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x70943c8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x70943d3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x70943de
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x70943ea
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x709438d
mov eax, 1
add dl, dl
jne 0x7094402
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x709440d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x70943f9
sub eax, ebx
mov ebx, 1
jne 0x7094440
mov ecx, 1
add dl, dl
jne 0x7094426
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7094431
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x709441d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x709438d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7094457
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7094462
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x709444e
cmp eax, 0x7d00
jae 0x7094485
cmp eax, 0x500
jb 0x7094480
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x709438d
cmp eax, 0x7f
ja 0x7094488
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x709438d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x70944b6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x709438d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1001768
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x28], eax
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push 0x10013a0
push eax
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10017bb
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop esi
leave
ret 4

Function at 0x10018bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x1001941
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 3
pop ecx
jbe 0x1001941
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [section..data], eax
je 0x100194e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push eax
call esi
or byte [ebp + 8], 0xff
push ebx
lea eax, [ebp - 8]
push eax
push 2
lea eax, [ebp + 8]
push eax
push dword [section..data]
mov byte [ebp + 9], 0xfe
mov byte [ebp + 0xa], bl
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push dword [section..data]
call esi
mov eax, dword [section..data]
pop esi
jmp 0x1001949
or eax, 0xffffffff
mov dword [section..data], eax
cmp eax, 0xffffffff
jne 0x100195e
cmp edi, ebx
je 0x1001959
mov dword [ebp - 4], 0x7b
cmp eax, 0xffffffff
je 0x1001965
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [section..data], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4

Function at 0x1001975
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1004010]
push esi
push edi
mov esi, 0x10013b0
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
cmp eax, edi
je 0x1001a1f
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
push eax
call esi
cmp eax, 3
pop ecx
jbe 0x1001a1f
push edi
push 0x80
push 4
push edi
push 1
push 0x40000000
push dword [0x1004010]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [section..data], eax
je 0x1001a1f
push 2
push edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [ebp + 8]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push edi
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], eax
add eax, eax
push eax
push dword [ebp + 8]
push dword [section..data]
call esi
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [section..data]
call esi
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [section..data], 0xffffffff
pop edi
pop esi
leave
ret 4