joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b9e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x30]
mov ecx, 0x5a4d
mov dword [esi + 0xc], eax
push edi
cmp word [eax], cx
je 0x49ba32
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x49ba05
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x49ba13
cmp eax, 0xffffffff
je 0x49ba13
push eax
call edi
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x516fb8
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], str.Incorrect_PE_file__e_magic___IMAGE_DOS_SIGNATURE_
call fcn.004c223c
mov ecx, dword [eax + 0x3c]
xor edx, edx
lea edi, [ecx + 0xf8]
cmp edx, dword [esi + 0x2c]
jb 0x49ba8c
ja 0x49ba49
cmp edi, dword [esi + 0x28]
jb 0x49ba8c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x49ba59
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x49ba67
cmp eax, 0xffffffff
je 0x49ba67
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x49ba77
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x516fb8
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], str.Incorrect_PE_file__header___filesize_
call fcn.004c223c
add ecx, eax
mov dword [esi + 0x40], ecx
cmp dword [ecx], 0x4550
je 0x49badc
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x49baa9
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x49bab7
cmp eax, 0xffffffff
je 0x49bab7
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x49bac7
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x516fb8
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], str.Incorrect_PE_file__incorrect_signature_
call fcn.004c223c
add ecx, 0x18
push ebx
xor ebx, ebx
mov dword [esi + 0x14], ecx
mov edx, 0x20b
cmp word [ecx], dx
sete bl
mov ecx, ebx
mov dword [esi + 0x3c], ecx
pop ebx
test ecx, ecx
je 0x49bb0d
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x44], eax
mov edx, dword [esi + 0x44]
add eax, 0x18
mov dword [esi + 0x18], eax
jmp 0x49bb10
mov edx, dword [esi + 0x40]
mov ax, word [edx + 6]
mov ecx, edx
add ecx, 4
cmp dword [esi + 0x3c], 0
mov dword [esi + 0x10], ecx
mov word [esi + 8], ax
pop edi
je 0x49bb34
mov eax, dword [esi + 0x18]
add eax, 0x70
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
add eax, 0x60
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
Function at 0x49d960
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0
push 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x49d98b
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x52912c], 0xffffffff
jne 0x49da60
push ecx
mov ecx, esp
mov dword [ebp - 8], esp
push str.License.dat
call fcn.004247ec
lea eax, [ebp - 8]
push eax
call fcn.0046d010
mov esi, dword [eax]
add esp, 8
call fcn.004ad3ae
test eax, eax
jne 0x49d9c9
push 0x80004005
call fcn.00422000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, eax
add edi, 0x10
mov dword [ebp - 4], edi
test esi, esi
je 0x49d9ff
test esi, 0xffff0000
jne 0x49da03
movzx esi, si
push esi
call fcn.004b5332
test eax, eax
je 0x49da19
push esi
push eax
lea ecx, [ebp - 4]
call fcn.00424e51
jmp 0x49da16
xor eax, eax
jmp 0x49da0c
push esi
call fcn.004bbaea
add esp, 4
push eax
push esi
lea ecx, [ebp - 4]
call fcn.004253d4
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49da38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.0049cd20
mov dword [0x52912c], eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49da60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [0x52912c]
test ebx, ebx
je 0x49da78
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a17a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 0x38], 0
mov dl, byte [eax + 0x34]
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, 1
jle 0x4a17eb
movzx esi, dl
push edi
nop
mov ecx, dword [eax + 0x260]
mov edi, ecx
shr edi, 0x18
shl ecx, 8
xor edi, esi
xor ecx, dword [edi*4 + 0x528438]
mov dword [eax + 0x260], ecx
mov ecx, dword [ebp - 4]
add ecx, ebx
cmp ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
jl 0x4a17c0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [eax + ecx + 0x58], bl
mov esi, dword [eax + 0x38]
mov ecx, esi
sub ecx, ebx
je 0x4a1879
sub ecx, ebx
je 0x4a185b
sub ecx, ebx
je 0x4a184f
mov byte [esi + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
add dword [eax + 0x44], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a37f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x526f10]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004bc420
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4a3842
cmp dword [ebp - 0x114], 6
lea eax, [esi + 1]
jae 0x4a3844
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004bb182
mov esp, ebp
pop ebp
ret
Function at 0x4a5c80
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a5c90
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4a5ce7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4a5ce7
mov edx, eax
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x4a5cc3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4aac80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [ebp + 0x18]
mov esi, dword [eax]
mov ebx, ecx
test esi, esi
je 0x4aacb6
test ebx, ebx
je 0x4aacb6
mov dl, byte [esi + edi]
mov ecx, dword [ebp + 8]
xor dl, byte [ecx]
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
inc eax
inc ecx
inc esi
dec ebx
and esi, 0xf
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
jne 0x4aac96
cmp ebx, 0x10
jb 0x4aad3f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, ecx
sub eax, edi
mov dword [ebp - 4], eax
mov eax, edx
sub eax, edi
mov dword [ebp - 8], eax
mov eax, ebx
shr eax, 4
mov dword [ebp - 0xc], eax
shl eax, 4
add ecx, eax
add edx, eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
push edi
push ecx
call fcn.00490660
mov edx, dword [ebp + 0x14]
add esp, 0xc
call fcn.004aac60
cmp esi, 0x10
jae 0x4aad2a
mov ecx, 0xf
sub ecx, esi
shr ecx, 2
lea eax, [esi + edi]
inc ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + eax]
xor edx, dword [eax]
mov esi, dword [ebp - 4]
mov dword [esi + eax], edx
add eax, 4
sub ecx, 1
jne 0x4aad14
mov eax, 0x10
add dword [ebp - 4], eax
add dword [ebp - 8], eax
sub ebx, eax
xor esi, esi
sub dword [ebp - 0xc], 1
jne 0x4aace8
test ebx, ebx
je 0x4aad8d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push eax
push edi
push ecx
call fcn.00490660
mov edx, dword [ebp + 0x14]
add esp, 0xc
call fcn.004aac60
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub edx, edi
lea eax, [esi + edi]
sub ecx, edi
mov dword [ebp - 0xc], edx
add esi, ebx
mov edi, edi
mov dl, byte [eax + ecx]
xor dl, byte [eax]
mov edi, dword [ebp - 0xc]
dec ebx
mov byte [eax + edi], dl
inc eax
test ebx, ebx
jne 0x4aad70
mov eax, dword [ebp + 0x18]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x18]
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aed1c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4aed40
cmp dword [edi + 0x54], 0
jne 0x4aed40
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004af713
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004aecdd
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4b4f4e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4b4f95
call fcn.004af713
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4b4f95
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4b4fb1
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004b4ac6
mov esi, eax
test edi, edi
je 0x4b4faf
test ebx, ebx
je 0x4b4faf
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4bb182
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x526f10]
jne 0x4bb18c
repz ret
jmp fcn.004c38ad

Function at 0x4cea99
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004c3211
and dword [ebp - 4], 0
cmp dword [0x52c528], 0
mov ebx, eax
jne 0x4ceb4a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4cebfb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ea220
push edi
call esi
test eax, eax
je 0x4cebfb
push eax
call fcn.004c319f
mov dword [esp], 0x4ea210
push edi
mov dword [0x52c528], eax
call esi
push eax
call fcn.004c319f
mov dword [esp], 0x4ea1fc
push edi
mov dword [0x52c52c], eax
call esi
push eax
call fcn.004c319f
mov dword [esp], 0x4ea1e0
push edi
mov dword [0x52c530], eax
call esi
push eax
call fcn.004c319f
pop ecx
mov dword [0x52c538], eax
test eax, eax
je 0x4ceb4a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004c319f
pop ecx
mov dword [0x52c534], eax
mov eax, dword [0x52c534]
cmp eax, ebx
je 0x4ceba2
cmp dword [0x52c538], ebx
je 0x4ceba2
push eax
call fcn.004c321a
push dword [0x52c538]
mov esi, eax
call fcn.004c321a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ceba2
test edi, edi
je 0x4ceba2
call esi
test eax, eax
je 0x4ceb99
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ceb99
test byte [ebp - 0xc], 1
jne 0x4ceba2
or dword [ebp + 0x10], 0x200000
jmp 0x4cebdb
mov eax, dword [0x52c52c]
cmp eax, ebx
je 0x4cebdb
push eax
call fcn.004c321a
pop ecx
test eax, eax
je 0x4cebdb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4cebdb
mov eax, dword [0x52c530]
cmp eax, ebx
je 0x4cebdb
push eax
call fcn.004c321a
pop ecx
test eax, eax
je 0x4cebdb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x52c528]
call fcn.004c321a
pop ecx
test eax, eax
je 0x4cebfb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4cebfd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4a579c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004a5750
test al, al
jne 0x4a57bd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4a580b
xor eax, eax
push ebp
push 0x4a57fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00408984
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5802
lea eax, [ebp - 0xc]
call fcn.004a578c
pop eax
jmp eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a602c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4a6045
xor eax, eax
jmp 0x4a6099
lea eax, [esp + 8]
push eax
push 0x4a60a0
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4a608a
xor eax, eax
jmp 0x4a6099
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x4a60c8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a6122
inc esi
xor edi, edi
cmp edi, 1
jne 0x4a60ee
mov eax, dword [ebp + 0xc]
push eax
call sub.kernel32.dll_Sleep
jmp 0x4a60fc
cmp edi, 1
jle 0x4a60fc
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_Sleep
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004a579c
test eax, eax
jne 0x4a6122
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4a6122
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4a6122
inc edi
dec esi
jne 0x4a60de
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4a612c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4a6150
mov eax, dword [ebp - 4]
jmp 0x4a6153
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a6158
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4a61a5
xor ebx, ebx
jmp 0x4a619a
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call fcn.0041b564
test eax, eax
jne 0x4a6199
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x4a6250
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a617b
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4a61b1
je 0x4a61ba
jmp 0x4a61c3
call fcn.004a13f8
mov esi, eax
jmp 0x4a61c5
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x4a61c5
xor esi, esi
test si, si
je 0x4a6250
xor ebx, ebx
jmp 0x4a61eb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x4a61ea
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a6250
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a61d2
xor ebx, ebx
jmp 0x4a6245
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov dx, 0x3ff
and dx, si
movzx edx, dx
cmp eax, edx
jne 0x4a6244
mov ax, 0x3ff
and ax, si
cmp ax, 4
jne 0x4a6239
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.004a612c
push eax
mov eax, esi
call fcn.004a612c
pop edx
cmp edx, eax
jne 0x4a6244
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x4a6250
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4a61fa
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4a663c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
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 0x4a6715
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a6730
push ebx
push 0x4a6740
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00408c5c
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405c10
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00408984
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4a66be
mov ax, 0x83
call fcn.004a6260
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004a6610
push 0x1cff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4a66c7
call fcn.004a6610
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a671c
lea eax, [ebp - 4]
call fcn.00407ed4
pop eax
jmp eax
Function at 0x4a6830
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a68f9
jmp 0x4a68ed
cmp dword [esi + 0x10], 0x1000
jne 0x4a68db
test byte [esi + 0x15], 1
jne 0x4a68db
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4a688c
cmp ebp, 2
je 0x4a688c
cmp ebp, 0x10
je 0x4a688c
cmp ebp, 0x20
jne 0x4a68a8
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4a68a8
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4a68b9
mov eax, dword [esi]
add eax, ebx
call fcn.004a6828
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4a68ac
cmp byte [esp + 4], 0
je 0x4a68db
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov edi, dword [esi]
add edi, dword [esi + 0xc]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4a68f9
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4a6861
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
mov ecx, 0x38306664
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x5d9e1702
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
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
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2f79695a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x34f01774
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x503b67
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], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
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], 0x504088
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 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret