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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47c501
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.004046c4
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x47c4db
lea eax, [ebp - 0x10c]
call fcn.0047c338
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.004084cc
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.004086f4
mov edx, dword [ebp - 4]
mov eax, 0x47c518
call fcn.00404ce4
test eax, eax
jg 0x47c435
mov edx, dword [ebp - 4]
mov eax, 0x47c528
call fcn.00404ce4
test eax, eax
jle 0x47c449
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x47c4db
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x47c4db
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404934
lea eax, [ebp - 0x114]
call fcn.0047c338
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.004084cc
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.004086f4
mov edx, dword [ebp - 4]
mov eax, 0x47c518
call fcn.00404ce4
test eax, eax
jle 0x47c4db
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x47c4db
mov eax, dword [edi]
call fcn.004049a0
mov ebx, eax
test ebx, ebx
jbe 0x47c4db
mov esi, 1
mov eax, edi
call fcn.00404bf8
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x47c4cb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c508
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.004046e8
lea eax, [ebp - 4]
call fcn.004046c4
ret

Function at 0x4801b8
Capabilities:
Terminate thread

Disassembly:
call fcn.0042fea0
test al, al
jne 0x480215
cmp dword [0x4958e8], 0
je 0x480215
mov eax, dword [0x4958e8]
call fcn.0041dd20
mov eax, dword [0x492668]
call fcn.0045dbc0
test al, al
jne 0x4801f4
push 0xffffffffffffffff
mov eax, dword [0x4958e8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x480204
push 1
mov eax, dword [0x4958e8]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4958e8]
call fcn.004037c0
xor eax, eax
mov dword [0x4958e8], eax
ret
Function at 0x481360
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
call fcn.0045f55c
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x4171d4]
call fcn.00403790
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x481491
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 0x10
call fcn.00461618
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4813aa
mov dword [ebp - 0x1c], 1
jmp 0x4813b5
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00418270
mov al, 0x13
call fcn.00461618
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4813ce
mov dword [ebp - 0x14], 1
jmp 0x4813d9
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00418270
mov al, 0x11
call fcn.00461618
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4813f2
mov dword [ebp - 0x18], 1
jmp 0x4813fd
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00418270
mov eax, dword [ebp - 4]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x481439
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [edi], eax
mov eax, dword [edi]
cmp eax, dword [ebp - 0x18]
je 0x481435
mov eax, dword [edi]
cmp eax, dword [ebp - 0x14]
je 0x481435
mov eax, dword [edi]
cmp eax, dword [ebp - 0x1c]
je 0x481435
mov edx, dword [edi]
mov eax, dword [ebp - 0xc]
call fcn.00418270
inc ebx
dec esi
jne 0x48140a
mov eax, dword [ebp - 4]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x48147b
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004811f0
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004183ac
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x481446
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481498
mov eax, dword [ebp - 0xc]
call fcn.004037c0
ret
Function at 0x481538
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
lea esi, [ebp - 0xc]
lea edi, [ebp - 8]
call fcn.0045f55c
mov dword [edi], eax
mov eax, dword [edi]
mov ebx, dword [eax]
dec ebx
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
mov dword [esi], eax
jmp 0x48156a
dec ebx
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
mov dword [esi], eax
test ebx, ebx
jl 0x48157a
cmp dword [esi], 0
je 0x48155f
mov eax, dword [esi]
cmp dword [eax], 0
je 0x48155f
cmp dword [esi], 0
je 0x4815cd
mov eax, dword [esi]
cmp dword [eax], 0
je 0x4815cd
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
mov dword [0x495868], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.004811f0
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [edi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.004811f0
mov dword [0x4958b4], eax
mov eax, 0x4814a0
mov edx, dword [0x4958b4]
mov dword [edx], eax
mov eax, dword [edi]
mov ebx, dword [eax]
dec ebx
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [esi], eax
jmp 0x4815eb
dec ebx
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [esi], eax
test ebx, ebx
jl 0x4815fb
cmp dword [esi], 0
je 0x4815df
mov eax, dword [esi]
cmp dword [eax], 0
je 0x4815df
cmp dword [esi], 0
je 0x48163f
mov eax, dword [esi]
cmp dword [eax], 0
je 0x48163f
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [0x49586c], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [edi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004811f0
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x481528
mov edx, dword [edi]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x483e8c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x483e94
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x483fd6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402b50
mov eax, dword [ebp - 0x14]
call fcn.00404ba0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x483ee2
mov eax, ebx
mov edx, 0x483fec
call fcn.00404718
jmp 0x483fbb
mov eax, esi
call fcn.004026f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402b50
mov eax, dword [ebp - 0x18]
call fcn.00404ba0
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x483ff4
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.004089f4
push dword [ebx]
push 0x484000
mov eax, dword [edi + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004089f4
push dword [ebp - 0x1c]
mov eax, ebx
mov edx, 3
call fcn.00404a60
push dword [ebx]
push 0x484000
mov eax, dword [edi + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004089f4
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call fcn.00404a60
push dword [ebx]
push 0x484000
mov eax, dword [edi + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004089f4
push dword [ebp - 0x24]
mov eax, ebx
mov edx, 3
call fcn.00404a60
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00402718
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483fdd
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.004046e8
ret
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
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
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x40605d
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x431418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00411193
lea eax, [ebp - 0x108]
push eax
call fcn.00407281
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00411193
push 0x426a04
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0041139d
add esp, 0x28
lea eax, [ebp - 0x370]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, dword [ebp + 0xc]
mov edi, eax
cmp edi, 0xffffffff
je 0x406183
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x426598
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00403cb5
add esp, 0x14
lea eax, [ebp - 0x230]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x40616d
test byte [ebp - 0x230], 0x10
je 0x406167
lea eax, [ebp - 0x344]
push 0x426a08
push eax
call fcn.00418c90
pop ecx
pop ecx
test eax, eax
je 0x40616d
lea eax, [ebp - 0x344]
push 0x426a0c
push eax
call fcn.00418c90
pop ecx
pop ecx
test eax, eax
je 0x40616d
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0040605d
pop ecx
pop ecx
add esi, eax
jmp 0x40616d
add esi, dword [ebp - 0x210]
lea eax, [ebp - 0x370]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4060e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d595
leave
ret

Function at 0x40619b
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x431418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x426a10
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00403cb5
add esp, 0x10
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea eax, [ebp - 0x21c]
push 0x426a08
push eax
call fcn.00411439
pop ecx
pop ecx
test eax, eax
je 0x406228
lea eax, [ebp - 0x21c]
push 0x426a0c
push eax
call fcn.00411439
pop ecx
pop ecx
test eax, eax
je 0x406228
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.00411439
pop ecx
pop ecx
test eax, eax
jne 0x406254
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4061e7
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d595
leave
ret
xor bl, bl
jmp 0x40623c
Function at 0x6fc840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f9000]
lea eax, [edi + 0x2e524c]
push dword [eax]
mov dword [eax], 0xe8f94211
push eax
push edi
jmp 0x6fc86a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6fc871
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc860
mov eax, 1
add ebx, ebx
jne 0x6fc883
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6fc894
jne 0x6fc8b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8b3
dec eax
add ebx, ebx
jne 0x6fc8a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6fc878
add ebx, ebx
jne 0x6fc8af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6fc905
xor ecx, ecx
sub eax, 3
jb 0x6fc8cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6fc93a
sar eax, 1
mov ebp, eax
jmp 0x6fc8d6
add ebx, ebx
jne 0x6fc8d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8a4
inc ecx
add ebx, ebx
jne 0x6fc8e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6fc8a4
add ebx, ebx
jne 0x6fc8f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6fc8e6
jne 0x6fc902
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6fc8e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6fc924
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6fc916
jmp 0x6fc866
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6fc924
add edi, ecx
jmp 0x6fc866
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xc103
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6fc946
cmp byte [edi], 0x63
jne 0x6fc946
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 0x6fc94b
lea edi, [esi + 0x2f8000]
mov eax, dword [edi]
or eax, eax
je 0x6fc9c3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2ff158]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2ff344]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6fc978
mov ecx, edi
jns 0x6fc9a7
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2ff34c]
or eax, eax
je 0x6fc9bd
mov dword [ebx], eax
add ebx, 4
jmp 0x6fc995
call dword [esi + 0x2ff348]
mov ebp, dword [esi + 0x2ff350]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x2af]
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 0x6fc9f7
sub esp, 0xffffff80
jmp 0x56ad6f
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
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 0x401000
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0
push 0x41184c
call dword [sym.imp.kernel32.dll__lcreat]
mov ebx, eax
push 0x10800
push 0x40104c
push ebx
call dword [sym.imp.kernel32.dll__lwrite]
push ebx
call dword [sym.imp.kernel32.dll__lclose]
push 5
push 0
push 0
push 0x41184c
push 0x401047
push 0
call dword [sym.imp.shell32.dll_ShellExecuteA]
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x401e08
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40f008], 0x8088405
inc edx
mov dword [ebx + 0x40f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403668
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402c08
xor eax, eax
push ebp
push 0x4032b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40f55c]
mov dword [eax], 0x18f13e8
mov eax, dword [ebp - 4]
call fcn.00402a20
test al, al
jbe 0x4036dd
mov byte [ebp - 5], al
mov bl, 1
mov eax, pe_nt_image_headers32
call fcn.00401e08
or eax, 0x80
mov esi, ebx
and esi, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor eax, edx
push eax
lea eax, [ebp - 4]
call fcn.00402c6c
pop edx
mov byte [eax + esi - 1], dl
inc ebx
dec byte [ebp - 5]
jne 0x4036a8
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004028f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032b8
lea eax, [ebp - 4]
call fcn.004028a0
ret
Function at 0x10015e50
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 0x10015e8e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10015e86
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10015e90
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10015e76
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10015f60
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 0x10015f91
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10015f91
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10015f91
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10381d68
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x37b836f3
mov eax, 0x30e3176
sti
rol dword [ebx + 0x47364b37], cl
dec ebx
inc edi
inc ebx
push eax
pop es
cmp byte [eax - 0x880e4b1], bh
std
out dx, eax
cmp dword [esi + 0x4e], ebx
cmp eax, 0xb83bb83a
cmp al, 0x12
adc ch, byte [0x3d2e3e36]
adc ch, byte [0x3d2e3e36]
mov eax, 0xbf83b83e
fucompi st(7)
aas
mov eax, 0xb8412240
inc edx
or al, byte [ebx - 0x48]
inc esp
scasd eax, dword es:[edi]
push 0xb0e3454a
std
push ds
jbe 0x10381d42
jge 0x10381dcd
scasd eax, dword es:[edi]
inc esi
inc esp
inc edi
and dl, byte [edx + 0x54]
dec eax
cli
mov eax, 0xfbdf7f4a
fst qword [ebx + 0x4b]
push cs
dec edi
dec ebx
dec esp
or dl, byte [ebx - 0x39]
pop eax
or ecx, dword [ebp - 0x48]
dec esi
mul byte [ecx]
add al, 0x96
xor edx, dword [edi + 0x54]
push ecx
push esp
add bh, bl
out dx, al
pxor mm2, qword [esi + 0x54]
push eax
dec edx
cmovns ecx, dword es:[edx + 0x51]
outsd dx, dword [esi]
mov eax, 0x43455a59
idiv bl
push es
mov esp, 0x82751652
jne 0x10381d51
insd dword es:[edi], dx
push ebx
mov eax, 0xb8551654
pop ebx
pop edx
sar ebx, 1
jg 0x10381da4
mov eax, 0x68b8fe5a
cmp dword [eax - 0x48], ebx
pop esp
push esp
pop esi
push esp
pop ebp
push esp
pop ecx
pushal
retf 0xe887
Function at 0x10382e70
Capabilities:
Check for vm using instruction vpcext

Disassembly:
jae 0x10382ecb
dec ecx
push ss
dec edx
shr byte [ebp + 0x59], 0x4b
push cs
push 0xffffffffffffffe2
pop ecx
dec esp
lahf
fidivr word [edi]
out dx, eax
mov ebp, 0x164d5653
dec esi
push es
dec edi
push eax
rcl byte [ecx - 0x40], 0x6e
jb 0x10382ed5
and dword [esi + 0x3b], edi
inc al
push ebx
push ds
inc edx
dec eax
imul edi, dword [edx + 0x54], 0x3a
add ebx, dword [eax + esi*8 + 0x37]
pop edi
imul ebx, dword [ecx + 0x56], 0xffffffc0
outsd dx, dword [esi]
xchg dword [eax - 0x11], ecx
outsd dx, dword [esi]
test al, 0xf8
std
push edi
sal byte [ecx + 0x3a], 0x58
cmp ebx, dword [ebp + 0x40]
imul ebx, dword [ecx + 0x2f], 0x6e
sbb ecx, dword [edi + ebp*8]
ja 0x10382f1a
pop esp
invalid
pop edx
push cs
pop ebx
xchg byte [edx + 0x268f5ec0], ah
fcomi st(0)
cld
stosb byte es:[edi], al
pop edi
invalid
shl byte [eax + 0x4a], 0xc0
bound esp, qword [edx]
arpl word [edx], di
and ah, byte [ebx + 0x3a]
shl byte [ebp + 0xe], 0xcd
add byte [ebx + ebx*8 - 0x3d8bc49a], bh
pushal
invalid
mov edi, 0x26edf79e
jne 0x10382ed0
push 0x761a69c0
dec esi
ret 0x4022
inc eax
jg 0x10382eff
sar dword [esi - 0x3f94e596], cl
sbb ch, byte [ebx - 0x40]
fbld tbyte [edx + 0x22]
bound esp, qword [edx]
insb byte es:[edi], dx
push ds
insd dword es:[edi], dx
sar byte [ebp + 0x59], 0x2b
push ss
or al, 4
movd mm4, dword [esi - 0x40]
jo 0x10382f8f
cmp edi, dword [edx - 0x13]
lodsd eax, dword [esi]
clc
jnp 0x10382f42
sub bh, byte [ecx + 0x33]
jns 0x10382f4d
jno 0x10382edc
jb 0x10382ea0
inc edi
jae 0x10382f77
push esi
je 0x10382f51
inc esi
jg 0x10382ee5
invalid
ja 0x10382eed
xor dword [ebp + 0x7b], eax
pop ecx
js 0x10382f45
jns 0x10382ef5
jl 0x10382f85
outsd dx, dword [esi]
dec ecx
jp 0x10382efb
jecxz 0x10382f17
pop es
test dword [ebp + 0x47], 0xb65e3b23
cmp ebx, dword [esi - 0x4a]
push eax
dec ebx
jnp 0x10382f20
dec ecx
mov edi, 0x4afed876
and eax, 0x7c597e5a
salc
dec byte [edx + 0x25]
pop edx
jle 0x10382fac
jl 0x10382f2b
sar byte [esi - 0x45], 0x4d
daa
and ecx, eax
call 0x33f61d5a
or ah, byte [esi + eax]
and dl, byte [edx]
shl dword [ecx + eax*8], 0x25
shl dword [eax - 6], 0xc1
out dx, al
out 0x78, eax
push esi
shr dword [eax], 0xc1
and ch, byte [edx]
aas
out 0x1a, al
sub al, cl
push edi
fcompi st(6)
push dword [edx + ebx*2 + 0x2c5a2b9b]
wait
sub ebx, dword [edx + 0x2c]
pop edx
daa
inc ebp
pop edx
sub eax, ecx
sub al, 0x6a
cmp ebp, dword [ecx]
xor ch, byte [0x7edbe0c1]
shr dword [edx + ebp*2], 0x3b
sub dword [edx], esi
sub eax, 0x7edbe0c1
mov edi, 0x353c522e
das
or ch, byte [edi]
pop edx
xor byte [esi + 0x5a], bh
xor ebp, dword [edx]
xor bl, byte [edx - 0x14]
jno sym.python38.dll__PyMethodWrapper_Type
or ecx, dword [eax + ecx*4 + 0x5a]
xor ah, byte [esi]
invalid
dec esp
mov byte [edx + 0x32], bl
invalid