joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b3c0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a230
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x270
mov eax, dword [0x4b9b20]
xor eax, ebp
mov dword [ebp - 0x18], 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 [ebp - 0x274], ecx
mov eax, dword [ebp - 0x274]
movsx ecx, byte [eax + 0xe4]
cmp ecx, 0xffffffff
je 0x43b411
xor eax, eax
jmp 0x43b63f
mov dword [ebp - 0x14], 1
movzx edx, byte [ebp + 0xc]
test edx, edx
jne 0x43b5f4
mov eax, dword [ebp - 0x274]
cmp dword [eax + 0x60], 0
jne 0x43b458
mov ecx, dword [ebp - 0x274]
call fcn.0043af90
mov ecx, dword [ebp - 0x274]
mov edx, dword [ecx + 0x68]
cmp edx, dword [eax + 0x14]
je 0x43b456
push 0xffffffffffffff9a
mov ecx, dword [ebp - 0x274]
call fcn.0043aa10
jmp 0x43b45f
mov dword [ebp - 0x14], 0xffffffff
mov ecx, dword [ebp - 0x274]
call fcn.0043af90
movzx eax, word [eax + 0xe]
cmp eax, 8
jne 0x43b482
mov ecx, dword [ebp - 0x274]
add ecx, 0x28
push ecx
call fcn.00480720
cmp dword [ebp + 8], 0
je 0x43b5f4
mov dword [ebp - 4], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
lea edx, [ebp - 0x240]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
mov dword [eax], 0
mov dword [eax + 4], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x268], ecx
mov edx, dword [ebp - 0x268]
mov dword [edx], 0
mov dword [edx + 4], 0
push 0
call fcn.00468ab8
add esp, 4
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x254], eax
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x238], edx
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x244], edx
mov byte [ebp - 0x228], 0
mov ecx, dword [ebp - 0x274]
call fcn.0043af90
mov dword [ebp - 0x278], eax
lea eax, [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x278]
call fcn.00442380
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004444d1
mov ecx, dword [ebp - 0x274]
call fcn.0043af90
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x43b5ca
mov dword [ebp - 0x14], 0xfffffffe
jmp 0x43b5f4
mov dword [ebp - 4], 0xffffffff
jmp 0x43b605
mov ecx, dword [ebp - 0x274]
add ecx, 0xe8
call fcn.004406a0
mov eax, dword [ebp - 0x274]
mov byte [eax + 0xe4], 0
mov ecx, dword [ebp - 0x274]
add ecx, 0x6c
call fcn.0043fa60
mov ecx, dword [ebp - 0x274]
call fcn.0043da90
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00466e70
mov esp, ebp
pop ebp
ret 8
Function at 0x43bf50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a389
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4b9b20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a8d0
mov dword [ebp - 4], 0
push 0x49ebd0
lea ecx, [ebp - 0x10]
call fcn.00421b90
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0043bb80
add esp, 8
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
or edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.004197d0
neg eax
sbb eax, eax
add eax, 1
movzx edx, al
test edx, edx
jne 0x43c008
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.0043c120
add esp, 4
cmp eax, 0xffffffff
je 0x43c008
mov dword [ebp - 0x80], 0
jmp 0x43c00f
mov dword [ebp - 0x80], 1
mov dl, byte [ebp - 0x80]
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
and eax, 1
je 0x43c030
and dword [ebp - 0x28], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.00419b80
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x43c053
mov byte [ebp - 0x19], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b80
mov al, byte [ebp - 0x19]
jmp 0x43c10d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0043bb80
add esp, 8
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.0043bf50
add esp, 4
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x1a], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00419b80
movzx ecx, byte [ebp - 0x1a]
test ecx, ecx
je 0x43c0c9
mov byte [ebp - 0x21], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b80
mov al, byte [ebp - 0x21]
jmp 0x43c10d
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x70], edx
push 0
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x43c0f7
mov byte [ebp - 0x22], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b80
mov al, byte [ebp - 0x22]
jmp 0x43c10d
mov byte [ebp - 0x23], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00419b80
mov al, byte [ebp - 0x23]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43f470
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a8a8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b9b20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edx]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0043ced0
add esp, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x25], al
lea ecx, [ebp - 0x30]
call fcn.00419b80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00419b80
movzx ecx, byte [ebp - 0x25]
test ecx, ecx
je 0x43f529
xor eax, eax
jmp 0x43f53f
mov edx, dword [ebp - 0x24]
imul edx, dword [ebp - 0x14]
imul edx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4444d1
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x444503
push dword [ebp + 8]
call edi
push eax
call fcn.00455bf4
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x44452e
test byte [ebp - 4], 1
je 0x44452e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x44452e
push dword [ebp + 8]
call edi
push eax
call fcn.00455bf4
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4445e8
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00444433
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x444564
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.00444433
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x44457a
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.00444433
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4445a7
push dword [ebp + 8]
call edi
push eax
call fcn.00455bf4
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4445d3
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.00455bf4
push ebx
call esi
test eax, eax
jne 0x4445e5
push dword [ebp + 8]
call edi
push eax
call fcn.00455bf4
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x444610
test byte [ebp - 4], 1
jne 0x444610
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x444610
push dword [ebp + 8]
call edi
push eax
call fcn.00455bf4
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x44a491
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 0x44a4d8
call fcn.0044e8ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44a4d8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44a4f4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044a009
mov esi, eax
test edi, edi
je 0x44a4f2
test ebx, ebx
je 0x44a4f2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44bc11
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x48b16f
call fcn.0046c141
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x44bc36
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44bc7c
lea ecx, [ebp - 0x10]
call fcn.00419b50
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004435f2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004192e0
mov eax, esi
call fcn.0046c219
ret 8

Function at 0x44ddcc
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 0x44ddf0
cmp dword [edi + 0x54], 0
jne 0x44ddf0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044e8ff
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.0044dd8d
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 0x4526e9
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x4b9b20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x452781
push 0x498f9c
push 4
push eax
call fcn.0046bfa5
push eax
call fcn.00419180
add esp, 0x10
push ebx
push edi
call fcn.0046c28d
mov edi, dword [eax]
call fcn.0046c28d
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00468e79
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0046c28d
cmp dword [eax], ebx
je 0x452798
call fcn.0046c28d
push dword [eax]
call fcn.00444911
pop ecx
jmp 0x45279f
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x45272c
jmp 0x452826
call fcn.0046c28d
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x452822
cmp dword [ebp - 0x234], esi
jae 0x452822
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.004661f0
add esp, 0xc
push 0x498284
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x452811
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x452811
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x452811
push ebx
push ebx
push esi
jmp 0x45281a
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x452824
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00466e70
leave
ret

Function at 0x4539c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x453a0a
call fcn.0044e8ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x453a0a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x453a4d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x453a36
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x453a36
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x453a4a
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x463ba2
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4b9b20]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x463bd7
xor eax, eax
jmp 0x463c2a
lea eax, [ebp - 0x210]
push eax
call fcn.0046a562
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x463c08
push 0x49ebd0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00469f78
add esp, 0xc
test eax, eax
jne 0x463bd3
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00469f78
add esp, 0xc
test eax, eax
jne 0x463bd3
lea eax, [ebp - 0x210]
push eax
call fcn.0044369d
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00466e70
leave
ret

Function at 0x466e70
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b9b20]
jne 0x466e7a
repz ret
jmp fcn.00471b2c

Function at 0x47832b
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.0046da29
and dword [ebp - 4], 0
cmp dword [0x4c278c], 0
mov ebx, eax
jne 0x4783dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47848d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47848d
push eax
call fcn.0046d9b7
mov dword [esp], 0x49b9f0
push edi
mov dword [0x4c278c], eax
call esi
push eax
call fcn.0046d9b7
mov dword [esp], 0x49b9dc
push edi
mov dword [0x4c2790], eax
call esi
push eax
call fcn.0046d9b7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c2794], eax
call esi
push eax
call fcn.0046d9b7
pop ecx
mov dword [0x4c279c], eax
test eax, eax
je 0x4783dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0046d9b7
pop ecx
mov dword [0x4c2798], eax
mov eax, dword [0x4c2798]
cmp eax, ebx
je 0x478434
cmp dword [0x4c279c], ebx
je 0x478434
push eax
call fcn.0046da32
push dword [0x4c279c]
mov esi, eax
call fcn.0046da32
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x478434
test edi, edi
je 0x478434
call esi
test eax, eax
je 0x47842b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47842b
test byte [ebp - 0xc], 1
jne 0x478434
or dword [ebp + 0x10], 0x200000
jmp 0x47846d
mov eax, dword [0x4c2790]
cmp eax, ebx
je 0x47846d
push eax
call fcn.0046da32
pop ecx
test eax, eax
je 0x47846d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47846d
mov eax, dword [0x4c2794]
cmp eax, ebx
je 0x47846d
push eax
call fcn.0046da32
pop ecx
test eax, eax
je 0x47846d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c278c]
call fcn.0046da32
pop ecx
test eax, eax
je 0x47848d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47848f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x480d70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x480d7f
xor eax, eax
pop esi
ret 0xc
mov eax, dword [0x4bb00c]
test eax, eax
je 0x480d8d
call fcn.00480d10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
cmp edx, 8
push ebx
not eax
jb 0x480e8f
push edi
mov edi, edx
shr edi, 3
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [ecx*4 + 0x4c27f0]
sub edx, 8
xor eax, ebx
inc esi
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c27f0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c27f0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c27f0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c27f0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov ecx, dword [ecx*4 + 0x4c27f0]
shr eax, 8
xor ecx, eax
inc esi
mov eax, ecx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [esi + 1]
mov eax, dword [eax*4 + 0x4c27f0]
shr ecx, 8
xor eax, ecx
inc esi
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c27f0]
xor eax, ecx
inc esi
dec edi
jne 0x480da7
pop edi
test edx, edx
je 0x480eb1
mov ecx, eax
xor ebx, ebx
mov bl, byte [esi]
and ecx, 0xff
xor ecx, ebx
shr eax, 8
mov ecx, dword [ecx*4 + 0x4c27f0]
xor eax, ecx
inc esi
dec edx
jne 0x480e93
pop ebx
pop esi
not eax
ret 0xc
Function at 0x430000
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
nop
nop
mov ecx, 0xa365cd8
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x52156984
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
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 [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
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 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret