joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1011ac20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a3940
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1c]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 8]
mov word [eax + 8], dx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0xc
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x18
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x30]
mov word [eax + 0x30], dx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4

Function at 0x101365c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov ecx, 0x101ea38f
call fcn.1019d101
cmp dword [ebp + 0xc], 1
jne 0x10136695
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1019d0de
cmp eax, 0xb7
jne 0x1013660c
xor eax, eax
jmp 0x10136697
lea eax, [ebp - 0xc8]
push eax
call fcn.10135300
add esp, 4
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
push ecx
mov ecx, 0x101e3064
call fcn.10133c60
lea ecx, [ebp - 0xc8]
call fcn.100e5cd0
mov ecx, 0x101e3064
call fcn.10068420
cmp dword [eax + 4], 0
je 0x1013665d
mov ecx, 0x101e3064
call fcn.10068420
cmp dword [eax + 4], 0xffffffff
jne 0x10136661
xor eax, eax
jmp 0x10136697
mov ecx, 0x101e3064
call fcn.10068420
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov esi, esp
push 0
push 0
push 0
push 0x10135cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp esi, esp
call fcn.1019d0de
mov eax, 1
jmp 0x10136697
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10149740
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5938
mov eax, dword fs:[0]
push eax
sub esp, 0x440
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2cc]
mov ecx, 0xb0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101ea6d5
call fcn.1019d101
mov ecx, dword [ebp - 0x18]
call fcn.10149fd0
movzx eax, al
test eax, eax
jne 0x101497a6
mov ecx, dword [ebp - 0x18]
call fcn.10149f20
push 0x101aaeb8
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10067380
add esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x10149803
cmp dword [ebp - 0x18c], 0xffffffff
jne 0x10149817
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
jmp 0x1014990a
push 0x101bce48
lea eax, [ebp - 0x154]
push eax
call fcn.101184b0
add esp, 8
test eax, eax
jne 0x101498c0
mov dword [ebp - 0x2a4], 0
mov esi, esp
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x298]
push ecx
push 0x104
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp esi, esp
call fcn.1019d0de
push 0x101be1ac
lea eax, [ebp - 0x154]
push eax
call fcn.101184b0
add esp, 8
test eax, eax
jne 0x101498c0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x44c], eax
lea ecx, [ebp - 0x154]
push ecx
lea ecx, [ebp - 0x444]
call fcn.100767e0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x444]
push edx
mov ecx, dword [ebp - 0x44c]
call fcn.1014a0c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.100681f0
mov esi, esp
lea eax, [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp esi, esp
call fcn.1019d0de
test eax, eax
jne 0x10149817
mov esi, esp
mov eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
push edx
mov ecx, ebp
push eax
lea edx, [0x10149944]
call fcn.1019d088
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019d133
add esp, 0x44c
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret
Function at 0x10182240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a7b3b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1c]
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x14]
add eax, 0x14
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0x20
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.101821e0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov eax, dword [ebp - 0x14]
add eax, 0x34
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
push ecx
mov ecx, dword [ebp - 0xdc]
call fcn.100cdca0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xdc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 4
Function at 0x8ddf78
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8ddf7e
pop ebp
sub ebp, 6
sub ebp, 0x4ddf78
jmp 0x8ddfdc
jmp 0x8ddfe5
add al, 0
add byte [eax], al
dec ebp
pop ebx
push eax
idiv byte [eax + 0x4ddf78]
mov eax, 0x4ddf78
add eax, ebp
add eax, 0x93
mov ecx, 0x631
mov edx, 0x41eb9ea3
xor byte [eax], dl
inc eax
dec ecx
jne 0x8ddffc
jmp 0x8de00f
leave
jecxz 0x8ddfdd
mov dword [0xcba3a3b3], eax
mov dword [0x22a38f6f], eax
push ebx
aas
jge 0x8de071
pop esp
and dl, byte [ebx + 0x3f]
jge 0x8de077
pop esp
nop
arpl bx, si
pop esp
lahf
and bh, 0xa3
sub byte [esi + 0x28], ch
sub bl, byte [edi + 0x22a3a3a3]
bound ebx, qword [ebx - 0x5d]
mov dword [0x1b6ea0a3], eax
movsd dword es:[edi], dword [esi]
mov dword [0x8b19a3a3], eax
mov dword [0x4154a3a3], eax
mov al, byte [0xaf22286b]
mov dword [0x66a0a3a3], eax
retf
mov dword [0x28f6a3a3], eax
dec edi
sub byte [esi], ah
stosd dword es:[edi], eax
mov dword [0x3628a3a3], eax
scasd eax, dword es:[edi]
mov dword [0x2e28a3a3], eax
mov bl, 0xa3
mov dword [0xa14a62a3], eax
xchg edx, eax
mov eax, dword [0xeaa76120]
lodsb al, byte [esi]
push edi
pop esp
pop esp
pop esp
invalid
Function at 0x40c1b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call sub.KERN_GetCommandLineA
mov edi, eax
cmp byte [edi], 0x22
jne 0x40c1e4
push 0x22
mov eax, edi
inc eax
push eax
call fcn.0040c7b8
add esp, 8
mov dword [ebp - 4], eax
or eax, eax
je 0x40c1ff
mov edi, eax
inc edi
jmp 0x40c1dc
inc edi
cmp byte [edi], 0x20
je 0x40c1db
jmp 0x40c1ff
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x40c1f0
cmp eax, 0x20
jne 0x40c1e3
jmp 0x40c1f3
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x40c1ff
cmp eax, 0x20
je 0x40c1f2
push 0
call sub.KERN_GetModuleHandleA
push 1
push edi
push 0
push eax
call fcn.0040ac7e
pop edi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4013b6
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
call fcn.004012be
mov dword [ebp - 0x30], eax
mov word [ebp - 0x28], 0x61
mov word [ebp - 0x26], 0x73
mov word [ebp - 0x24], 0x77
mov word [ebp - 0x22], 0x68
mov word [ebp - 0x20], 0x6f
mov word [ebp - 0x1e], 0x6f
mov word [ebp - 0x1c], 0x6b
mov word [ebp - 0x1a], 0x2e
mov word [ebp - 0x18], 0x64
mov word [ebp - 0x16], 0x6c
mov word [ebp - 0x14], 0x6c
mov word [ebp - 0x12], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x34]
je 0x401510
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x401457
xor eax, eax
jmp 0x401512
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x78]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 0x30]
push ecx
call fcn.00410258
add esp, 8
test eax, eax
je 0x40150b
mov dword [ebp - 0x2c], 0
jmp 0x4014c2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax + 0x18]
jae 0x40150b
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.004012d8
add esp, 8
test eax, eax
jne 0x401509
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
xor eax, eax
mov ax, word [edx + ecx*2]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 4]
add edx, dword [ecx + eax*4]
mov eax, edx
jmp 0x401512
jmp 0x4014b9
jmp 0x40142d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401592
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
cmp dword [ebp + 0x10], 0
jne 0x4015a2
xor al, al
jmp 0x401620
push 0x4826a0
push str.CRYPT32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp - 0x18]
test eax, eax
jne 0x4015db
xor al, al
jmp 0x401620
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
add ecx, 1
push ecx
call fcn.0041028d
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp - 0x18]
test eax, eax
jne 0x40161e
xor al, al
jmp 0x401620
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4048e5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x404923
call fcn.0043d021
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x404923
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40493a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x40493a
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x416cc1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x485048
cmp edx, dword [eax]
je 0x416ce3
add eax, 8
inc ecx
cmp eax, 0x4850d8
jl 0x416cd4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x485048]
jne 0x416e11
mov eax, dword [0x48862c]
cmp eax, 1
je 0x416deb
test eax, eax
jne 0x416d14
cmp dword [0x4847e4], 1
je 0x416deb
cmp edx, 0xfc
je 0x416e11
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x416d4b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00416ee0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00410460
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x416d8e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00410460
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x44bdd4
push edi
call fcn.0041a4c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00416ee0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00416ef0
lea eax, [ebp - 0xa0]
push 0x44bdb4
push eax
call fcn.00416ef0
push dword [esi + 0x48504c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00416ef0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041bba8
add esp, 0x2c
pop edi
jmp 0x416e11
lea eax, [ebp + 8]
lea esi, [esi + 0x48504c]
push 0
push eax
push dword [esi]
call fcn.00410460
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x426260
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00411e80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42632b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42632b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4262de
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4262e9
or bh, 8
and edi, 0x8000000
je 0x426304
mov eax, dword [0x48a27c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42632b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42672b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42674f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42676a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x42e349
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x42e381
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043179f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00431777
jmp 0x42e38d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x43014b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x43018d
call fcn.0043d021
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x43018d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x430184
xor eax, eax
jmp 0x430195
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043019b
pop edi
pop esi
pop ebx
ret 4
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

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx