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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x488131
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.004861b0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00486188
jmp 0x48813d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4897ea
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 0x48982c
call fcn.0048f5a2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48982c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x489823
xor eax, eax
jmp 0x489834
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048983a
pop edi
pop esi
pop ebx
ret 4

Function at 0x48fad2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48fb00
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48fb1e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048fa38
jmp 0x48fb1e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48fb1e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048fa38
test edi, edi
mov eax, edi
jne 0x48fb08
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4042e8
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x6525da22
xor edi, 0x7e43d90f
push edi
push 0x29c6e7c7
mov eax, 0xc033364
pop edi
xor eax, edi
pop esi
xor eax, esi
mov ebx, 0x5024480d
mov esi, 0xa908252
xor ebx, esi
mov edx, 0x4c8bdd84
xor edx, 0x3097d2fe
xor edx, ebx
xor edx, eax
mov ecx, sym.imp.kernel32.dll_ReadFile
mov edx, 0x80
add byte [eax], 0
add byte [ecx], dh
ror dword [ecx + 0x438b4bcb], 1
add dword [ecx + 0x4b8b4bc3], ecx
add dword [ecx - 0x87e31], ecx
invalid
invalid
inc dword [ecx - 0x276b1919]
rol byte [ecx + 0x276b19e1], 1
das
mov edx, 0x24708017
mov edi, 0x98d0468
xor edx, edi
push edx
mov edx, 0x3df1b108
mov ecx, 0x7da744a8
xor ecx, edx
pop esi
xor ecx, esi
mov edx, ecx
push edx
mov ebx, 0x4471302
mov edx, 0x398a044
xor ebx, edx
mov ecx, 0x1a9d3c12
xor ebx, ecx
xor ebx, 0x96fc61f
pop eax
xor ebx, eax
test ebx, ebx
jne 0x403f2a
xor eax, eax
mov dword [0x40c02c], eax
mov byte [0x40c033], 2
mov byte [0x40c034], 2
mov byte [0x40c035], 3
mov word [0x40c3dc], 0
mov word [0x40c3ec], 1
call fcn.0040285c
mov eax, 0x40c038
mov edx, 0x404398
call fcn.00403c25
mov eax, 0x40c204
mov edx, 0x404398
call fcn.00403c25
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404391
ret

Function at 0x40520c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405245
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40524e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405258
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405279
mov al, byte [esp]
jmp 0x40527b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4062da
Capabilities:
Encode data using xor

Disassembly:
fstp xword [ebx + 0x4545bf5f]
xor ebx, 0x3b0cc8bb
mov ecx, 0x59098746
mov edx, 0x2a22801
xor ecx, edx
xor ecx, ebx
push ecx
pop ebx
mov edx, 0x9ecc9d74
xor ebx, edx
xor ebx, 0x6133628b
and ebx, 0x25e2d8a3
and ecx, 0xda1d275c
or ecx, ebx
mov edx, ecx
mov esi, 4
sub esp, esi
mov dword [esp], edx
xor edi, edi
add edi, esp
push edi
pop ebx
add esp, 0xfffffffc
mov esi, esp
mov dword [esi], ebx
mov ecx, 0x55402c9d
xor ecx, 0x311cf4a6
push ecx
mov ecx, 0xa6ac735
mov edx, 0x73c7139d
xor edx, ecx
pop esi
xor edx, esi
mov ecx, edx
push ecx
mov ebx, 0xb00001
mov edx, 0x8010800
xor ebx, edx
mov edx, 0x18e1f437
mov ecx, 0xda1f0e5
xor ecx, edx
xor ebx, ecx
pop edi
xor ebx, edi
push ebx
pop ecx
mov edx, 0xfffffffc
add esp, edx
mov dword [esp], ecx
push 0xb1d7996
mov edi, 0x234f4c4f
pop esi
xor edi, esi
push edi
push 0x698f2739
mov ebx, 0x41dd82e0
pop esi
xor ebx, esi
pop edx
xor ebx, edx
mov edx, 0x33928e1b
xor edx, 0x2d6e67f7
mov ecx, 0x1c90a16c
mov esi, 0x26c4c80
xor ecx, esi
xor ecx, edx
xor ebx, ecx
push ebx
pop edx
mov esi, edx
push esi
mov ecx, 0x4f5e8234
xor ecx, 0x587641fa
push ecx
mov edi, 0x24aa0d32
mov ecx, 0x10502001
xor edi, ecx
pop edx
xor edi, edx
add esp, 0xfffffffc
mov ecx, esp
mov dword [ecx], edi
mov esi, 0x312c004
mov edx, 0x20000491
xor esi, edx
push 0x7f989109
mov ecx, 0x7f18ab61
pop edi
xor ecx, edi
xor esi, ecx
pop ebx
xor esi, ebx
push esi
pop edi
mov ecx, edi
push ecx
call eax
pop edi
mov ecx, 0x5e74ccf1
xor ecx, 0x57c780b7
mov esi, 0x653e6b78
xor ecx, esi
xor ecx, 0x6c8d271f
mov ebx, 0x32342f26
xor ebx, 0x47185f88
mov eax, 0x596ab9db
mov edx, 0x2c46ca71
xor edx, eax
xor edx, ebx
xor ecx, edx
mov ebx, 0x3564f178
xor ebx, 0x5d57c6a8
mov edx, ebx
xor edx, 0xffffffff
and edx, 0x382ff963
and ebx, 0xc7d0069c
or ebx, edx
mov edx, ebx
add esp, 0xfffffffc
mov dword [esp], edx
mov ebx, 0x30e6b1e1
xor ebx, 0x6dca8bac
push ebx
mov edi, 0xb7b8969
xor edi, 0x60b1d4d
pop esi
xor edi, esi
pop eax
xor edi, eax
push 0x29149d77
mov edx, 0x3b8a89cb
pop esi
xor edx, esi
push edx
mov esi, 0x6c6e1cc1
mov eax, 0x2be18a2f
xor eax, esi
mov edx, eax
xor edx, 0xffffffff
and edx, 0x55510eb3
and eax, 0xaaaef14c
or eax, edx
pop ebx
xor eax, ebx
mov esi, 0x44146c8c
mov edx, 0xbbeb9370
xor esi, edx
add esp, esi
mov edx, esp
push edx
pop ebx
mov dword [ebx], ecx
mov ebx, 0xfffffffc
add esp, ebx
mov edx, esp
mov dword [edx], eax
xor ecx, ecx
mov cl, byte [edi]
add eax, ecx
mov cl, byte [eax]
pop eax
mov byte [edi], cl
mov edx, 0x36100d04
mov esi, 0x400cc220
xor edx, esi
mov ebx, 0x1601051
mov esi, 0x8883208a
xor ebx, esi
xor ebx, edx
add edi, ebx
pop ecx
push 0x1dbad726
mov edx, 0x1dbad727
pop esi
xor edx, esi
sub ecx, edx
xor edx, edx
add edx, ecx
and edx, edx
jne 0x4064a3
mov esi, 0x64008ca
mov edx, 0x28826200
xor esi, edx
mov edx, esi
xor edx, 0xffffffff
and edx, 0x78a7895c
and esi, 0x875876a3
or esi, edx
mov eax, 0x2d6941ab
mov ecx, 0x65cbae9e
xor ecx, eax
mov edx, 0x7ea3770a
mov ebx, 0x6024261f
xor ebx, edx
xor ebx, ecx
xor ebx, esi
call ebx
pop esi
pop esi
ret
Function at 0x402a36
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push ebx
push edi
lea esi, [ebp - 4]
push esi
mov eax, dword [0x451c10]
or al, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402aca
mov esi, 0x105
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x402a87
cmp dword [ebp + 0x10], ebx
jne 0x402abe
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00402a36
test eax, eax
jne 0x402a99
lea eax, [ebp - 0x10c]
push esi
push eax
push ebx
push dword [ebp - 4]
call edi
test eax, eax
je 0x402a6e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00405d2e
cmp eax, ebx
je 0x402ad1
push ebx
push dword [0x451c10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402aca
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret 0xc
cmp dword [0x451c10], ebx
jne 0x402ac7
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402ac7
jmp 0x402aca
Function at 0x40526c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
lea eax, [ebp - 0x10]
mov dword [0x447fe8], 0x44
push eax
xor eax, eax
push 0x447fe8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052a7
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405331
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push edi
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.004055e0
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405365
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x451be8], eax
jmp 0x4054f9
push esi
mov esi, dword [ebp + 0xc]
and esi, 1
mov dword [ebp - 4], esi
je 0x405383
or eax, eax
je 0x4054a4
test byte [ebp + 0xc], 2
je 0x4054a4
mov edi, 0x4437e8
push ebx
push edi
call fcn.00405a0c
or esi, esi
je 0x4053a0
push str..
push edi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4053a6
push ebx
call fcn.00405546
cmp byte [ebx], 0
jne 0x4053b4
cmp byte [0x4437e8], 0x5c
jne 0x4053bf
push 0x409010
push ebx
call sub.KERNEL32.dll_lstrcatA
push ebx
call sub.KERNEL32.dll_lstrlenA
mov esi, eax
lea eax, [ebp - 0x148]
push eax
push edi
add esi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40549a
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea edi, [ebp - 0x11c]
call fcn.0040552a
cmp byte [eax], 0
je 0x405405
cmp byte [ebp - 0x18], 0
je 0x405405
lea edi, [ebp - 0x18]
cmp byte [edi], 0x2e
jne 0x40541b
mov al, byte [edi + 1]
or al, al
je 0x405479
cmp al, 0x2e
jne 0x40541b
cmp byte [edi + 2], 0
je 0x405479
push edi
push esi
call fcn.00405a0c
test byte [ebp - 0x148], 0x10
je 0x405440
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405479
push dword [ebp + 0xc]
push ebx
call fcn.00405331
jmp 0x405479
push ebx
call fcn.004056c4
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or eax, eax
jne 0x405471
test byte [ebp + 0xc], 4
je 0x405469
push ebx
push 0xfffffffffffffff1
call fcn.00404daa
push 0
push ebx
call fcn.0040575a
jmp 0x405479
inc dword [0x451be8]
jmp 0x405479
push ebx
push 0xfffffffffffffff2
call fcn.00404daa
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
or eax, eax
jne 0x4053e3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x4054a4
and byte [esi - 1], 0
xor edi, edi
pop esi
cmp dword [ebp - 4], edi
je 0x4054f9
cmp dword [ebp - 8], edi
jne 0x4054b9
inc dword [0x451be8]
jmp 0x4054f9
push ebx
call fcn.00405d07
test eax, eax
je 0x4054f9
push ebx
call fcn.004054ff
push ebx
call fcn.004056c4
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
or eax, eax
jne 0x4054f1
test byte [ebp + 0xc], 4
je 0x4054b1
push ebx
push 0xfffffffffffffff1
call fcn.00404daa
push edi
push ebx
call fcn.0040575a
jmp 0x4054f9
push ebx
push 0xffffffffffffffe5
call fcn.00404daa
pop ebx
pop edi
leave
ret 8
Function at 0x4055e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4457e8
push esi
call fcn.00405a0c
push esi
call fcn.00405593
mov edi, eax
or edi, edi
jne 0x405601
xor eax, eax
jmp 0x405653
push edi
call fcn.00405c6e
test byte [0x451b78], 0x80
je 0x40561a
mov al, byte [edi]
test al, al
je 0x4055fd
cmp al, 0x5c
je 0x4055fd
sub edi, esi
jmp 0x405632
call fcn.00405d07
test eax, eax
je 0x40562c
test byte [eax], 0x10
je 0x4055fd
push esi
call fcn.00405546
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x40561e
call fcn.004054ff
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4056c4
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4056e0
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x4056e3
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
mov ecx, eax
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405712
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
push esi
push 0x64
pop esi
dec esi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push edi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x405756
test esi, esi
jne 0x40571d
and byte [edi], 0
pop esi
pop edi
pop ebp
ret 8
mov eax, edi
jmp 0x405750
Function at 0x40575a
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405d2e
mov esi, dword [esp + 0x18]
test eax, eax
je 0x40577e
push 5
push esi
push dword [esp + 0x1c]
call eax
or eax, eax
jne 0x4058b7
test esi, esi
mov ebp, 0x448170
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov edi, 0x400
mov dword [0x448170], 0x4c554e
je 0x4057c2
push 1
push 0
push esi
call fcn.004056e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
mov esi, 0x447be8
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4058bd
cmp eax, edi
jg 0x4058bd
push esi
push ebp
push str._s_s_r_n
push 0x4477e8
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x451b70]
sub esp, 0xfffffff0
push dword [eax + 0x128]
push esi
call fcn.00405a2e
push 4
push 0xc0000000
push esi
call fcn.004056e3
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x4058b7
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
or esi, esi
je 0x4058b0
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4058b0
cmp edi, dword [esp + 0x18]
jne 0x4058b0
push str._Rename__r_n
push esi
call fcn.00405658
or eax, eax
jne 0x4058c4
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405a0c
add edi, 0xa
mov eax, edi
add eax, esi
push ebx
push 0x4477e8
push eax
call fcn.004056a4
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x451bf0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x409330
sub eax, 0xfffffff6
push eax
call fcn.00405658
test eax, eax
je 0x40587b
inc eax
lea ecx, [esi + edi]
mov ebp, eax
cmp eax, ecx
jae 0x4058eb
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4058e0
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40587d
Function at 0x4058f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x100
mov byte [esi], bl
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405964
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x2000
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405953
cmp dword [ebp + 0x14], 1
je 0x405955
cmp dword [ebp + 0x14], 2
je 0x405955
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x448574], 0
push esi
jne 0x405dd1
xor edx, edx
mov eax, edx
push 8
pop esi
mov ecx, eax
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
dec esi
jne 0x405dab
mov dword [edx*4 + 0x448570], eax
inc edx
cmp edx, 0x100
jl 0x405da6
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov eax, dword [esp + 8]
not eax
jbe 0x405e02
mov edx, dword [esp + 0xc]
push edi
mov edi, eax
movzx esi, byte [edx]
and edi, 0xff
xor edi, esi
mov edi, dword [edi*4 + 0x448570]
shr eax, 8
xor eax, edi
inc edx
dec ecx
jne 0x405de4
pop edi
pop esi
not eax
ret 0xc
Function at 0x9fceb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x7e5015
lea edi, [esi - 0x3e4015]
push edi
or ebp, 0xffffffff
jmp 0x9fced2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9fced9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9fcec8
mov eax, 1
add ebx, ebx
jne 0x9fceeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9fcefc
jne 0x9fcf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9fcf1b
dec eax
add ebx, ebx
jne 0x9fcf08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9fcee0
add ebx, ebx
jne 0x9fcf17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9fcf6d
xor ecx, ecx
sub eax, 3
jb 0x9fcf33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9fcfa2
sar eax, 1
mov ebp, eax
jmp 0x9fcf3e
add ebx, ebx
jne 0x9fcf3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9fcf0c
inc ecx
add ebx, ebx
jne 0x9fcf4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9fcf0c
add ebx, ebx
jne 0x9fcf59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9fcf4e
jne 0x9fcf6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9fcf4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9fcf8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9fcf7e
jmp 0x9fcece
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9fcf8c
add edi, ecx
jmp 0x9fcece
pop esi
mov edi, esi
mov ecx, 0x10c60
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9fcfaa
cmp byte [edi], 0x22
jne 0x9fcfaa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9fcfaf
lea edi, [esi + 0x5e1000]
mov eax, dword [edi]
or eax, eax
je 0x9fd01e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5fd000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5fd028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9fcfdc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5fd030]
or eax, eax
je 0x9fd018
mov dword [ebx], eax
add ebx, 4
jmp 0x9fcff9
call dword [esi + 0x5fd02c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9fd04f
cmp al, 0xef
ja 0x9fd042
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9fd024
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9fd031
mov ebp, dword [esi + 0x5fd034]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9fd083
sub esp, 0xffffff80
jmp 0x45fc00
Function at 0x4012a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403df4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403df0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x4011a6
mov dword [ebp - 0x24], str.cognomen
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403df0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.invocatory
push str.cognomen
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403df8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x40136d
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401354
mov eax, dword [0x403df4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
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
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219