joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cb00
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x4adfbb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e1370]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [0x4e91f0], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
mov ecx, 0x41
lea ebx, [ebp]
call fcn.0048c880
add esp, 0xc
xor eax, eax
mov word [ebp + 0x80], ax
xor ebx, ebx
xor esi, esi
lea ecx, [ebp]
push ecx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
je 0x48cc5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48cba4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], ebx
call fcn.0048c8f0
cmp eax, ebx
je 0x48cbba
mov dword [0x4e91f0], eax
jmp 0x48cc3b
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp eax, ebx
je 0x48cbd5
push 0x5c0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x48cbe9
push edi
push esi
call fcn.0048cf80
jmp 0x48cbeb
xor eax, eax
mov byte [ebp - 4], bl
mov dword [0x4e91f0], eax
cmp eax, ebx
jne 0x48cc0c
mov dword [ebp - 0x1c], 1
push 0x4d2664
lea edx, [ebp - 0x1c]
push edx
call fcn.00494e1b
mov esi, 1
mov dword [ebp - 0x24], esi
push eax
call fcn.0048c9c0
add esp, 4
test eax, eax
jne 0x48cc36
mov dword [ebp - 0x18], 3
push 0x4d2664
lea eax, [ebp - 0x18]
push eax
call fcn.00494e1b
mov eax, dword [0x4e91f0]
inc dword [eax + 0x5bc]
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp esi, ebx
jne 0x48cc5a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x4e91f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.0049021b
add ebp, 0x88
mov esp, ebp
pop ebp
ret
Function at 0x48cd40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4adcc0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x4e91f0]
xor edi, edi
cmp ecx, edi
jne 0x48cd8b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x48cd98
mov dword [ebp - 0x14], edi
jmp 0x48cdb0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x48ce56
mov ecx, dword [0x4e91f0]
mov eax, dword [ecx]
cmp eax, edi
je 0x48cd77
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x48cd77
mov dword [ebp - 4], edi
mov ebx, 0x4e91f0
call fcn.0048ce70
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x48cdee
mov dword [ebp - 0x18], 1
push 0x4d2664
lea eax, [ebp - 0x18]
push eax
call fcn.00494e1b
mov ecx, dword [0x4e91f0]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x48ce08
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x48ce1d
mov dword [ebp - 0x1c], 4
push 0x4d2664
lea edx, [ebp - 0x1c]
push edx
call fcn.00494e1b
mov dword [ebp - 4], 0xffffffff
jmp 0x48ce42
mov eax, dword [0x4e91f0]
mov eax, dword [eax]
test eax, eax
je 0x48ce54
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ce70
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x48ce9d
xor ecx, ecx
jmp 0x48cea9
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x48cf5d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x48ced0
mov dword [esp + 0xc], esi
jmp 0x48cf30
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x48cf29
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x48cf1c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x48cf30
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x48cf30
push 0x4cd758
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x48cf30
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x48cf53
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x48cec2
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x48cf71
mov ecx, dword [ebx]
add ecx, 8
call fcn.0048d100
test eax, eax
je 0x48cf71
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x48cf80
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x4adc9b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.00494b20
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x48d018
push 0x4d2664
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.00494e1b
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x48d2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4adf93
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea eax, [esi + 0xc]
push eax
mov dword [esi], vtable.BehLogImpl.0
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x48dc80
push 0x48dc10
push 1
mov byte [esp + 0x24], 1
push 0x1c
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x34]
push edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.00493080
mov eax, dword [edi + 0x14]
mov ecx, dword [edi]
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], ecx
mov eax, dword [edi + 0x14]
mov edi, dword [edi]
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x48df20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae3f2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
push 0x4e74e0
push 0x260
mov dword [ebp], 0
call fcn.00490df2
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
test eax, eax
je 0x48df81
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.0048e070
mov esi, eax
jmp 0x48df83
xor esi, esi
mov dword [esp + 0x20], 0xffffffff
test esi, esi
jne 0x48dfa6
lea eax, [esi + 8]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48dff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x48dfe0
lea eax, [esp + 0x14]
push eax
mov cl, 1
xor al, al
mov edx, esi
call fcn.0048e880
mov edi, dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x48e00a
mov ecx, dword [esp + 0x30]
mov byte [ecx], 0
mov dword [ebp], esi
jmp 0x48e014
cmp eax, 0x80
je 0x48dfce
cmp eax, 0x20
je 0x48dfce
mov edi, 2
jmp 0x48dfe0
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x48e3b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b06b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
add edi, 0xc
cmp dword [esi + 0x1c], 0
je 0x48e4d0
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 4]
push eax
mov edx, eax
mov edx, dword [edx]
push ecx
mov ebx, ecx
push edx
push ebx
push edi
lea ebx, [esp + 0x30]
call fcn.0048ef10
mov eax, dword [esi + 0x18]
mov ebx, dword [esp + 0x30]
add esp, 0x14
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
test ebx, ebx
je 0x48e437
cmp ebx, eax
je 0x48e43c
call fcn.00490387
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x14]
je 0x48e4d0
test ebx, ebx
jne 0x48e4cc
call fcn.00490387
mov edx, dword [esp + 0x20]
cmp edx, dword [ebx + 0x14]
jne 0x48e461
call fcn.00490387
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx + 8]
lea edi, [ecx + 8]
add eax, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
add ebx, 0xc
mov dword [eax], 0x41444543
mov dword [eax + 4], ebx
push edx
add eax, 0xc
push eax
call fcn.00497a60
sub dword [edi], ebx
mov eax, dword [esi + 0x38]
add dword [esi + 0x44], ebx
inc dword [eax + 0x18]
mov esi, dword [esi + 0x38]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x18]
add esp, 0xc
push ecx
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebx]
jmp 0x48e453
cmp edi, 0x1000
jbe 0x48e4ea
add edi, 0xfff
and edi, 0xfffff000
mov dword [esp + 0x10], edi
jmp 0x48e4f6
mov dword [esp + 0x10], 0x1000
mov edi, dword [esp + 0x10]
push 0x4e74e0
push edi
call fcn.00490c93
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x48e52d
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 8]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push 0
push ebx
call fcn.00494b20
mov edx, dword [esp + 0x1c]
mov dword [ebx], 0x4842494e
mov dword [ebx + 4], edi
add edx, 0xfffffff4
mov dword [ebx + 8], edx
mov eax, dword [esi + 0x18]
mov eax, dword [eax]
mov edx, dword [eax + 4]
lea edi, [ebx + 8]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], eax
call fcn.0048ee30
lea ecx, [esi + 4]
mov dword [esp + 0x1c], eax
call fcn.0048ee70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
lea eax, [ebx + 0xc]
jmp 0x48e473
Function at 0x48ea80
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x4e74e0
xor esi, esi
push 0x200
mov dword [edi], esi
call fcn.00490df2
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x48eab7
mov dword [edi], 8
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 8
ret 8
push ebp
mov dword [esp + 0x10], esi
mov edi, 0x200
mov ebp, ebx
mov dword [esp + 0x14], esi
jmp 0x48ead0
mov esi, 0x10000
cmp edi, 0x10000
ja 0x48eadf
mov esi, edi
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x48]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48eb08
sub edi, esi
add ebp, esi
test edi, edi
ja 0x48ead0
mov eax, dword [esp + 0x14]
jmp 0x48eb0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x20]
mov dword [esi], eax
pop ebp
test eax, eax
jne 0x48ebaa
xor ecx, ecx
mov edx, 1
xor ecx, dword [ebx + eax*4]
add eax, edx
cmp eax, 0x7f
jb 0x48eb24
cmp ecx, 0xffffffff
jne 0x48eb3a
mov ecx, 0xfffffffe
jmp 0x48eb40
test ecx, ecx
jne 0x48eb40
mov ecx, edx
cmp ecx, dword [ebx + 0x1fc]
jne 0x48eb9b
cmp dword [ebx], 0x48534441
jne 0x48eb9b
cmp dword [ebx + 4], 0
jne 0x48eb9b
mov eax, dword [ebx + 0x18]
cmp eax, dword [ebx + 0x1c]
jne 0x48eb9b
cmp dword [ebx + 8], edx
jne 0x48eb81
cmp dword [ebx + 0xc], 0
jne 0x48eb81
mov ecx, dword [esp + 0x18]
pop edi
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov eax, esi
pop esi
mov dword [ecx + 0x38], ebx
pop ebx
add esp, 8
ret 8
push ebx
mov dword [esi], 0x32
call fcn.00490210
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 8
push ebx
mov dword [esi], 0x570
call fcn.00490210
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 8

Function at 0x48ebc0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
xor ecx, ecx
xor eax, dword [edx + ecx*4]
inc ecx
cmp ecx, 0x7f
jb 0x48ebc4
cmp eax, 0xffffffff
jne 0x48ebd8
mov eax, 0xfffffffe
ret
test eax, eax
jne 0x48ebe1
mov eax, 1
ret

Function at 0x48ebf0
Capabilities:
Read file on windows

Disassembly:
push ebx
push edi
mov edi, eax
mov eax, dword [esp + 0x10]
mov ebx, ecx
mov dword [eax], 0
test edi, edi
jbe 0x48ec59
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
lea esp, [esp]
mov esi, 0x10000
cmp edi, 0x10000
ja 0x48ec1f
mov esi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x48]
push 0
push eax
push esi
push ebx
push edx
call ebp
test eax, eax
je 0x48ec49
sub edi, esi
add ebx, esi
test edi, edi
ja 0x48ec10
mov eax, dword [esp + 0x18]
pop esi
pop ebp
pop edi
pop ebx
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x18]
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
pop edi
pop ebx
ret 0xc
Function at 0x48ec60
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push edi
mov edi, eax
mov eax, dword [esp + 0x14]
mov dword [eax], 0
mov ebx, ecx
test edi, edi
jbe 0x48ece0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
lea ecx, [ecx]
mov esi, 0x10000
cmp edi, 0x10000
ja 0x48ec8f
mov esi, edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x48]
push 0
lea eax, [esp + 0x14]
push eax
push esi
push ebx
push edx
mov dword [esp + 0x24], 0
call ebp
test eax, eax
je 0x48ecd0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48ecbc
mov ecx, dword [esp + 0x10]
add dword [eax], ecx
sub edi, esi
add ebx, esi
test edi, edi
ja 0x48ec80
mov eax, dword [esp + 0x1c]
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x1c]
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
pop edi
pop ebx
pop ecx
ret 0xc

Function at 0x48f487
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4e7480], 0
push esi
jne 0x48f3fa
call fcn.0048f320
test eax, eax
je 0x48f43d
mov eax, dword [0x4e7480]
cmp eax, 1
jne 0x48f41b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x48f43d
pop esi
ret
push eax
call dword [0x4e7488]
test eax, eax
jne 0x48f485
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x48f441
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4e7480]
call dword [0x4e7488]
mov edi, eax
test edi, edi
je 0x48f466
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x48f482
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4e7480]
call dword [0x4e7484]
add edi, 0x10
cmp edi, esi
jb 0x48f46e
mov eax, edi
pop edi
pop esi
ret
jmp 0x48f3e7

Function at 0x49021b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4e1370]
jne 0x490225
repz ret
jmp fcn.00499c31
Function at 0x4a9028
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.00499db1
and dword [ebp - 4], 0
cmp dword [0x4e82ac], 0
mov ebx, eax
jne 0x4a90d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4a918a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4a918a
push eax
call fcn.00499d3f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4e82ac], eax
call esi
push eax
call fcn.00499d3f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4e82b0], eax
call esi
push eax
call fcn.00499d3f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4e82b4], eax
call esi
push eax
call fcn.00499d3f
pop ecx
mov dword [0x4e82bc], eax
test eax, eax
je 0x4a90d9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00499d3f
pop ecx
mov dword [0x4e82b8], eax
mov eax, dword [0x4e82b8]
cmp eax, ebx
je 0x4a9131
cmp dword [0x4e82bc], ebx
je 0x4a9131
push eax
call fcn.00499dba
push dword [0x4e82bc]
mov esi, eax
call fcn.00499dba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4a9131
test edi, edi
je 0x4a9131
call esi
test eax, eax
je 0x4a9128
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a9128
test byte [ebp - 0xc], 1
jne 0x4a9131
or dword [ebp + 0x10], 0x200000
jmp 0x4a916a
mov eax, dword [0x4e82b0]
cmp eax, ebx
je 0x4a916a
push eax
call fcn.00499dba
pop ecx
test eax, eax
je 0x4a916a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4a916a
mov eax, dword [0x4e82b4]
cmp eax, ebx
je 0x4a916a
push eax
call fcn.00499dba
pop ecx
test eax, eax
je 0x4a916a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4e82ac]
call fcn.00499dba
pop ecx
test eax, eax
je 0x4a918a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a918c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
call 0x8002b1f
ret
Function at 0x4029be
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.0040da80
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
xor esi, esi
cmp dword [0x4124e4], esi
push edi
mov dword [ebp - 8], esi
jne 0x4029f4
jmp 0x4029ea
push 0x2710
call ebx
call fcn.004071d3
cmp eax, 1
jne 0x4029e3
cmp dword [ebp + 0x18], esi
je 0x402a06
push 4
push esi
push 7
call fcn.0040ac2d
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
cmp dword [ebp + 0x14], esi
jle 0x402a39
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004074ea
add esp, 0xc
test eax, eax
jne 0x402a40
push 0xea60
inc edi
call ebx
cmp edi, dword [ebp + 0x14]
jl 0x402a16
xor eax, eax
jmp 0x402adf
cmp dword [ebp + 0x18], esi
je 0x402a52
push 4
push esi
push 8
call fcn.0040ac2d
add esp, 0xc
push 0x44
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.0040da00
lea eax, [ebp - 0x2064]
add esp, 0xc
push eax
mov edx, 0x40f5e8
call fcn.004057af
pop ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x2064]
call fcn.0040578b
mov ecx, 0x40f5ec
call fcn.0040578b
cmp dword [ebp + 0x10], esi
je 0x402aaf
mov edx, dword [ebp + 0x10]
mov eax, str.none
call fcn.00405705
test eax, eax
je 0x402aaf
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x2064]
call fcn.0040578b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x64]
push eax
push 0x422b90
push esi
push 0x20
push esi
push esi
push esi
lea eax, [ebp - 0x2064]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402adc
or dword [ebp - 8], 8
jmp 0x402adf
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, esi
je 0x402aeb
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov ecx, dword [ebp + 0x20]
cmp ecx, esi
je 0x402af4
mov dword [ecx], esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403668
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ecx]
sub esp, 0x140
push ebx
push esi
xor esi, esi
test ax, ax
push edi
mov edx, ecx
je 0x403693
movzx eax, ax
cmp ax, 3
je 0x40369b
inc edx
inc edx
movzx eax, word [edx]
test ax, ax
jne 0x403683
cmp word [edx], 3
je 0x40369b
xor edx, edx
test edx, edx
je 0x4036ab
call fcn.0040c836
mov dword [ebp - 4], eax
mov ebx, ecx
jmp 0x4036c3
lea ebx, [ebp - 0x40]
mov eax, ebx
push eax
mov edx, str.yA36zA48dEhfrvghGRg57h5UlDv3
mov dword [ebp - 4], 0x1c
call fcn.004057af
pop ecx
mov ecx, dword [ebp + 8]
call fcn.0040c836
cdq
sub eax, edx
mov edi, eax
sar edi, 1
cmp edi, 0xff
jge 0x403730
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x140]
call fcn.0040c705
test al, al
je 0x403730
dec edi
xor ecx, ecx
xor esi, esi
test edi, edi
jle 0x403726
cmp esi, dword [ebp - 4]
jne 0x4036fc
xor esi, esi
mov al, byte [ebx + esi*2]
xor al, byte [ebp + ecx - 0x13f]
mov dl, byte [ebp + ecx - 0x140]
cmp al, dl
jae 0x403713
dec al
sub al, dl
mov edx, dword [ebp + 8]
movzx ax, al
mov word [edx + ecx*2], ax
inc ecx
inc esi
cmp ecx, edi
jl 0x4036f5
mov eax, dword [ebp + 8]
and word [eax + ecx*2], 0
mov esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret