joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c16f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c1d3
cmp dword [ebp + 0xc], 1
je 0x40c1ab
cmp dword [ebp + 0xc], 2
je 0x40c1ab
push 0xd
pop eax
jmp 0x40c1d3
mov eax, dword [ebp - 4]
test edi, edi
je 0x40c1cd
test eax, eax
je 0x40c1c8
test al, 1
jne 0x40c1a6
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40c1cd
jmp 0x40c1a6
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

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

Disassembly:
cmp dword [0x480140], 0
push esi
push edi
jne 0x411e14
call fcn.00411d80
test eax, eax
je 0x411e59
mov eax, dword [0x480140]
cmp eax, 1
jne 0x411e35
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x411e59
jmp 0x411e9b
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x411e9b
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 0x411e5d
xor eax, eax
jmp 0x411e9b
mov eax, dword [esi]
push dword [0x480140]
call edi
mov edi, eax
test edi, edi
je 0x411e7f
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x411e9b
lea edi, [esi + 0xff0]
push esi
push dword [0x480140]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x411e85
mov eax, esi
pop edi
pop esi
ret
jmp 0x411e00

Function at 0x4121cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e084]
jne 0x4121d5
repz ret
jmp fcn.00415462
Function at 0x41fb5b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47e084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004185ca
and dword [ebp - 0x14], 0
cmp dword [0x480f84], 0
mov dword [ebp - 0x18], eax
jne 0x41fc0e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcb6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x45dc64
push ebx
call edi
test eax, eax
je 0x41fcb6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x480f84], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x480f88], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x480f8c], eax
call edi
push eax
call esi
mov dword [0x480f94], eax
test eax, eax
je 0x41fc0e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x480f90], eax
mov eax, dword [0x480f90]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc67
cmp dword [0x480f94], ecx
je 0x41fc67
push eax
call esi
push dword [0x480f94]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc67
test ebx, ebx
je 0x41fc67
call edi
test eax, eax
je 0x41fc5e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc5e
test byte [ebp - 8], 1
jne 0x41fc67
or dword [ebp + 0x10], 0x200000
jmp 0x41fc9a
mov eax, dword [0x480f88]
cmp eax, dword [ebp - 0x18]
je 0x41fc9a
push eax
call esi
test eax, eax
je 0x41fc9a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fc9a
mov eax, dword [0x480f8c]
cmp eax, dword [ebp - 0x18]
je 0x41fc9a
push eax
call esi
test eax, eax
je 0x41fc9a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x480f84]
call esi
test eax, eax
je 0x41fcb6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcb8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004121cb
leave
ret
Function at 0x4221db
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
not edx
mov ecx, 0xff
cmp edi, 8
jb 0x422297
mov esi, edi
shr esi, 3
movzx ebx, byte [eax]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 1]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 2]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 3]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 4]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 5]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 6]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
movzx ebx, byte [eax + 7]
xor ebx, edx
and ebx, ecx
shr edx, 8
xor edx, dword [ebx*4 + 0x45ec40]
add eax, 8
sub edi, 8
dec esi
jne 0x4221fb
test edi, edi
je 0x422379
fld qword [0x478a98]
movzx esi, byte [eax]
xor esi, edx
and esi, ecx
shr edx, 8
xor edx, dword [esi*4 + 0x45ec40]
inc eax
dec edi
fst qword [ebp - 8]
fld qword [0x478a30]
fstp qword [ebp - 0x18]
fld qword [0x478a90]
fstp qword [ebp - 0x10]
fld qword [0x478a88]
fstp qword [ebp - 0x20]
fst qword [ebp - 0x28]
fld qword [0x478a80]
fstp qword [ebp - 0x28]
fld qword [ebp - 8]
fadd qword [0x478a78]
fadd qword [ebp - 0x18]
fadd qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x478a70]
fsubp st(1)
fstp qword [ebp - 0x10]
fld qword [ebp - 0x28]
fmul qword [0x478a68]
fadd qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [ebp - 8]
fmul qword [0x478a60]
fdiv qword [0x478a58]
fsubp st(1)
fstp qword [ebp - 0x28]
fld qword [ebp - 0x18]
fld qword [ebp - 0x28]
fmul qword [0x478a50]
fsubp st(1)
fadd qword [ebp - 0x18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x10]
fmul qword [ebp - 0x18]
fmul qword [ebp - 0x18]
fsub qword [ebp - 8]
fadd qword [0x478a48]
fsub qword [ebp - 8]
fadd qword [0x478a40]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [ebp - 0x20]
fsub qword [ebp - 8]
fld qword [ebp - 0x20]
fmul qword [0x478a38]
faddp st(1)
fstp qword [ebp - 0x10]
jne 0x4222a5
fstp st(0)
fld qword [0x478ac8]
fstp qword [ebp - 0x10]
fld qword [0x478ac0]
fstp qword [ebp - 0x18]
fld qword [0x478ab8]
fstp qword [ebp - 0x20]
fld qword [0x478ab0]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [ebp - 0x20]
fadd qword [0x478aa8]
fadd qword [ebp - 0x20]
fadd qword [ebp - 0x20]
fadd qword [0x478aa0]
fsub qword [ebp - 0x18]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x10]
fcomp qword [ebp - 0x18]
fnstsw ax
test ah, 0x41
jne 0x4223d1
fld qword [ebp - 0x18]
fmul qword [ebp - 0x10]
fstp qword [ebp - 0x10]
pop edi
mov eax, edx
pop esi
not eax
pop ebx
leave
ret
Function at 0x444014
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0x5a4d
push esi
push edi
cmp word [ecx], ax
je 0x44402d
xor eax, eax
jmp 0x444166
fld qword [0x478a30]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
fsub qword [0x478a28]
fstp qword [ebp - 0x10]
jne 0x444026
mov dword [ebp - 4], 0x39
fld qword [0x478b88]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
sub edx, esi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul edx, esi
mov esi, dword [ebp - 4]
imul edx, edx, 0x45
sub edx, esi
mov esi, dword [ebp - 4]
lea edx, [edx + esi - 0xa]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul edx, esi
mov esi, dword [ebp - 4]
imul edx, edx, 0x15
imul esi, esi, 0x38
sub esi, edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 4]
imul edx, edi
add esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
lea edx, [esi + edx - 0x55]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
fstp qword [ebp - 0x10]
fld qword [0x478b80]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fld qword [0x478b90]
fmul st(1), st(0)
fld qword [ebp - 0x10]
faddp st(2)
fxch st(1)
fstp qword [ebp - 8]
fld qword [ebp - 8]
fsub qword [0x478b78]
fstp qword [ebp - 0x10]
fld qword [ebp - 8]
fsub qword [0x478b70]
fsub qword [ebp - 0x10]
faddp st(1)
fsub qword [ebp - 8]
fadd qword [0x478b68]
fadd qword [ebp - 8]
fstp qword [ebp - 8]
fld qword [ebp - 0x10]
fdiv qword [0x478a90]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [ebp - 0x10]
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 8]
fdiv qword [0x478b60]
fadd qword [ebp - 0x10]
fsub qword [ebp - 0x10]
fsub qword [ebp - 8]
fsub qword [0x478b58]
fadd qword [ebp - 8]
fadd qword [0x478b50]
fsub qword [ebp - 8]
mov eax, dword [eax + ecx + 0x98]
fadd qword [0x478b48]
fstp qword [ebp - 8]
test eax, eax
je 0x444026
add eax, ecx
pop edi
pop esi
leave
ret
Function at 0x44e821
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45a419
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x47e084]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
and dword [esp + 0xc], 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [esp + 0x30], 0
fld qword [0x478b40]
fstp qword [esp + 0xc]
mov esi, dword [ebp + 8]
fld qword [esp + 0xc]
lea eax, [esp + 0x14]
fdiv qword [0x478b28]
push eax
push dword [ebp + 0xc]
fdiv qword [0x478a30]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fdiv qword [0x478b20]
fmul qword [esp + 0x14]
fsubp st(1)
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478b18]
faddp st(1)
fadd qword [esp + 0x14]
fadd qword [0x478b10]
fsub qword [esp + 0x14]
fsub qword [0x478b08]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478b00]
faddp st(1)
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fadd qword [0x478a60]
fadd qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
faddp st(1)
fsub qword [esp + 0x14]
fsub qword [0x478af8]
fsub qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x478af0]
fsubp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fsub qword [0x478ae8]
fld qword [esp + 0x14]
fmul qword [esp + 0x14]
faddp st(1)
fstp qword [esp + 0x14]
call fcn.0044e645
pop ecx
pop ecx
test al, al
jne 0x44e962
push dword [ebp + 0x10]
jmp 0x44ea0c
push 8
push 0
lea eax, [esp + 0x1c]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
mov dword [esp + 0xc], 0x39
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
sub ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul ecx, edx
mov edx, dword [esp + 0xc]
imul ecx, ecx, 0x45
sub ecx, edx
mov edx, dword [esp + 0xc]
lea ecx, [ecx + edx - 0xa]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
imul ecx, edx
mov edx, dword [esp + 0xc]
imul ecx, ecx, 0x15
imul edx, edx, 0x38
sub edx, ecx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0xc]
imul ecx, esi
add edx, ecx
mov ecx, dword [esp + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0xc]
lea ecx, [edx + ecx - 0x55]
add ecx, dword [esp + 0xc]
mov dword [esp + 0xc], ecx
test eax, eax
js 0x44ea08
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x44ea0b
mov eax, dword [ebp + 0x10]
push eax
mov eax, ebx
call fcn.004061cb
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bf193
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4bf1fe
aas
mov byte [0xd7a23476], al
xchg edi, eax
push cs
xor al, 0x10
nop
cmpsb byte [esi], byte es:[edi]
jno 0x4bf213
stosd dword es:[edi], eax
xor bh, byte [edx]
push 0xb460f38d
sbb dh, byte [edi]
mov ah, 0x1a
aaa
sti
mov bl, byte [edi + ecx]
jge 0x4bf20c
or eax, 0x45f52bb2
in al, dx
mov ch, 0x2c
sub byte [eax - 0x26f06cef], al
sal ah, 0x2e
retf

Function at 0x4c421e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc230
cmp edx, dword [eax]
je 0x4c4240
add eax, 8
inc ecx
cmp eax, 0x4cc2c0
jl 0x4c4231
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc230]
jne 0x4c436e
mov eax, dword [0x4d08b8]
cmp eax, 1
je 0x4c4348
test eax, eax
jne 0x4c4271
cmp dword [0x4cc174], 1
je 0x4c4348
cmp edx, 0xfc
je 0x4c436e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c42a8
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c4930
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c4b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c42eb
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c4b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c8a20
push edi
call fcn.004c6330
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c4930
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c4940
lea eax, [ebp - 0xa0]
push 0x4c8a00
push eax
call fcn.004c4940
push dword [esi + 0x4cc234]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c4940
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004c62a4
add esp, 0x2c
pop edi
jmp 0x4c436e
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc234]
push 0
push eax
push dword [esi]
call fcn.004c4b60
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 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x47e257c7
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x8965617
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x385947bd
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x41be4ae9
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x4da226c2
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
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
nop
mov ecx, 0x234b2a44
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3ef60622
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xe4b7a7f
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401020
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
call fcn.00401480
cmp eax, 1
jge 0x401048
call fcn.004010e0
cmp eax, 1
jge 0x4010c5
or eax, 0xffffffff
add esp, 0x104
ret
push esi
push edi
push eax
call fcn.00403380
add esp, 4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
push 0x412693
lea eax, [esp + 0xc]
push str._s_tuc_file_f300a.dat
push eax
call fcn.00404a94
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 8]
push 0x412693
lea edx, [esp + 0xc]
push str._s_tuc_file_f300a.idx
rep stosd dword es:[edi], eax
push edx
call fcn.00404a94
add esp, 0xc
lea eax, [esp + 8]
push eax
call esi
call fcn.004010e0
pop edi
cmp eax, 1
pop esi
jge 0x4010c5
or eax, 0xffffffff
add esp, 0x104
ret
push eax
call fcn.00403380
add esp, 4
xor eax, eax
add esp, 0x104
ret

Function at 0x401210
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
call fcn.00401500
cmp eax, 1
jge 0x401238
call fcn.004012d0
cmp eax, 1
jge 0x4012b5
or eax, 0xffffffff
add esp, 0x104
ret
push esi
push edi
push eax
call fcn.00403380
add esp, 4
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
push 0x412693
lea eax, [esp + 0xc]
push str._s_tuc_filej311.dat
push eax
call fcn.00404a94
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 8]
push 0x412693
lea edx, [esp + 0xc]
push str._s_tuc_filej311.idx
rep stosd dword es:[edi], eax
push edx
call fcn.00404a94
add esp, 0xc
lea eax, [esp + 8]
push eax
call esi
call fcn.004012d0
pop edi
cmp eax, 1
pop esi
jge 0x4012b5
or eax, 0xffffffff
add esp, 0x104
ret
push eax
call fcn.00403380
add esp, 4
xor eax, eax
add esp, 0x104
ret