joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43eb96
Capabilities:
Encode data using xor

Disassembly:
imul edi, ebx, 0x3d
jns 0x43eb83
call dword [ecx]
xor esp, edi
mov ebx, 0x614f9790
adc dword [ebx], esi
out 0xbb, eax
nop
xchg edi, eax
dec edi
popal
mov dword [0xef21e6b7], eax
jne 0x43eba9
xor al, 0xe7
jb 0x43ebcd
invalid
imul esi, dword [esi], 0x17a311df
dec esp
xor al, 0xcc
loope 0x43ebba
invalid
cld
shl cl, cl
inc ecx
xor eax, 0x144ff57
aaa
mov byte [eax + 0x5d], ch
arpl word [edi + 0x54], sp
jge 0x43ec01
inc esi
jge 0x43ebd3
sbb dword [edi], edi
out 0x61, eax
nop
mov ecx, 0x3780a51d
test dword [ebx + 0x5f], esp
fild qword [ecx + 0x67]
lodsb al, byte [esi]
in al, 0xac
movsd dword es:[edi], dword [esi]
adc edi, ecx
cmpsb byte [esi], byte es:[edi]
adc dword [edx], ebx
in eax, 0x1d
push edi
mov eax, dword [0x46736e5e]
sbb ah, ch
sbb eax, 0x6e5ea157
jae 0x43ec24
xor dword [eax - 0x71], edi
push cs
push ss
and eax, 0xc3b0b482
ja 0x43ebd5
inc esp
out dx, al
dec ebp
stosb byte es:[edi], al
retf
popal
or byte [esi + 0x5c973a87], ch
inc edx
fsub dword [eax]
dec edi
push es
sbb dword [edi - 0x2d], esi
push 0x40
out 0x6d, eax
add byte [edx], bl
xor cl, cl
mov bh, 0x73
cmpsd dword [esi], dword es:[edi]
popal
fmul dword [esi]
dec esp
invalid
stosb byte es:[edi], al
xchg edi, eax
invalid

Function at 0x44bad0
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
push esi
mov dword [edi], 0
mov al, byte [0x66204a]
mov cl, byte [0x66204d]
mov edx, dword [0x662030]
and cl, al
mov eax, dword [0x662034]
mov byte [0x66204d], cl
mov ecx, eax
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x662043]
mov dword [0x662030], edx

Function at 0x51f449
Capabilities:
Encode data using xor

Disassembly:
shr dword [edi], 0x8d
pop esp
cmp eax, 0xf8b309a
add byte [ecx - 0x1d], 0x85
add al, 0xd
fimul word [ebp + 0x44]
inc esp
pop ecx
add ebx, 0xffffffae
xor byte [ebp + 0x2832ed23], 0x7c
jnp 0x51f44c
mov esp, 0xb49a541
inc esp
fistp word [ecx]
mov ebp, 0x44d34987
invalid
Function at 0x659c4d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662398
cmp edx, dword [eax]
je 0x659c6f
add eax, 8
inc ecx
cmp eax, 0x662428
jl 0x659c60
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662398]
jne 0x659d9d
mov eax, dword [0xa5f0f4]
cmp eax, 1
je 0x659d77
test eax, eax
jne 0x659ca0
cmp dword [0x6622c4], 1
je 0x659d77
cmp edx, 0xfc
je 0x659d9d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x659cd7
lea eax, [ebp - 0x1a4]
push 0x65eb80
push eax
call fcn.0065a630
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0065aac0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x659d1a
lea eax, [ebp - 0x1a4]
push eax
call fcn.0065aac0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65eb7c
push edi
call fcn.0065c990
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65eb60
push eax
call fcn.0065a630
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0065a640
lea eax, [ebp - 0xa0]
push 0x65eb5c
push eax
call fcn.0065a640
push dword [esi + 0x66239c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0065a640
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65eb34
push eax
call fcn.0065c904
add esp, 0x2c
pop edi
jmp 0x659d9d
lea eax, [ebp + 8]
lea esi, [esi + 0x66239c]
push 0
push eax
push dword [esi]
call fcn.0065aac0
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 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4f8a3e91
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7ead284d
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
aam 0x8d
inc ebp
test al, 0x50
push ebp
mov ebp, esp
mov eax, 8
sub esp, 0x18
push esi
push edi
test eax, eax
jne 0x4018d9
call fcn.00403540
jne 0x4013c7
call [edi]
adc dword [eax + 0x45], 0x30
sbb dword [edi], 0x22
push 0x40451045
push 0x8bcc5010
imul ecx, dword [eax], 0x83005040
jne 0x40145f
int3
mov ebp, dword [ecx]
and ch, byte [edx - 1]
sbb eax, 0xc456875
pop ds
rol ecx, 0x22
or al, 0x8b
or al, 0xcc
add cl, al
or byte [ebx + 0x8451d40], al
int3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0xc], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, eax
mov esi, dword [ebp + 0xc]
lodsb al, byte [esi]
inc ecx
test eax, eax
jne 0x401811
dec ecx
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x401d0b
daa
push 4
push 1
push eax
call 0x4462ad
mov eax, dword [esi + 0x14]
push 3
push 1
push eax
call 0x4462ad
mov ecx, dword [esi + 0x14]
push 2
push 1
push ecx
call 0x4462ad
add esp, 0x24
mov eax, esi
pop esi
pop ebx
ret
mov edi, dword [0x4051cd]
push 0x10000
mov edx, dword [ebp + 8]
pop esi
mov eax, dword [0x405150]
and edx, eax
mov eax, dword [edx]
cmp ax, di
je 0x4018fa
sub edx, esi
jmp 0x4018ef
mov dword [ebp - 8], edx
mov eax, edx
mov ecx, dword [eax + 0x3c]
add eax, 0x78
and ecx, 0xffff
add eax, ecx
mov eax, dword [eax]
mov esi, dword [ebp - 8]
push esi
add esi, eax
mov eax, dword [esi + 0x20]
pop edi
add edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x401804
push dword [ebp - 0x14]
pop ecx
mov eax, dword [edi]
mov esi, dword [ebp - 8]
add esi, eax
xor eax, eax
push ecx
mov ecx, eax
push esi
add edi, 4
lodsb al, byte [esi]
add ecx, 1
test eax, eax
jne 0x401d1f
dec ecx
pop esi
cmp ecx, dword [ebp - 0x10]
je 0x401d34
inc dword [ebp - 4]
pop ecx
loop 0x401d0f
push esi
push dword [ebp + 0xc]
call fcn.00403540
test eax, eax
jne 0x401d2e
je 0x403290
add dword [ebx + ecx - 0x73], esi
lea eax, [edi + edi*8 - 1]
invalid
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x24]
add eax, eax
add ecx, dword [ebp - 8]
add ecx, eax
movzx eax, word [ecx]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
add eax, ecx
test eax, eax
jne 0x401797
pop esi
and byte [eax + 0x68b105e], cl
cmp eax, ebx
je 0x4032cd
push eax
call 0x469d39
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
pop esi
pop ebx
ret
Function at 0x40331a
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404620
push 0x403cb4
push eax
mov eax, dword [0x4053ec]
mov dword fs:[0], esp
mov ecx, dword [sym.imp.CRTDLL.dll__fmode_dll]
sub esp, 0x6c
mov dword [ecx], eax
mov edx, dword [0x4053e8]
mov eax, dword [sym.imp.CRTDLL.dll__commode_dll]
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [eax], edx
call fcn.00401850
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x2c]
push dword [0x4053e4]
push edx
push eax
lea ecx, [ebp - 0x30]
push ecx
call sub.CRTDLL.dll___GetMainArgs
add esp, 0x10
push 0x4040d8
push 0x4040d4
call sub.CRTDLL.dll__initterm
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [sym.imp.CRTDLL.dll__acmdln_dll]
mov esi, dword [eax]
mov al, byte [esi]
cmp al, 0x22
jne 0x4033b5
mov al, byte [ebp - 0x34]
inc esi
mov al, byte [esi]
test al, al
je 0x4033ad
cmp al, 0x22
jne 0x4033a2
cmp byte [esi], 0x22
jne 0x4033bf
inc esi
jmp 0x4033bf
cmp al, 0x20
jbe 0x4033bf
inc esi
cmp byte [esi], 0x20
ja 0x4033b9
cmp byte [esi], 0
je 0x4033cf
cmp byte [esi], 0x20
ja 0x4033cf
inc esi
cmp byte [esi], 0
jne 0x4033c4
mov dword [ebp - 0x50], 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x50], 1
mov eax, 0xa
je 0x4033ef
movzx eax, word [ebp - 0x4c]
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call sub.CRTDLL.dll_exit
jmp 0x40342b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop edi
mov dword fs:[0], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4025e1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402620
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402620
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402620
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402620
cmp dword [ecx + 0x74], 0xe
jbe 0x402620
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x412aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412acd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412acd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x994cdc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x994d03
call fcn.00937288
mov dword [eax], esi
call fcn.00937275
push 0x16
pop esi
mov dword [eax], esi
call fcn.00937eca
mov eax, esi
jmp 0x994d58
test dword [ebp + 0xc], 0xfffffff9
jne 0x994ce9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x994d30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0093729b
pop ecx
call fcn.00937275
mov eax, dword [eax]
jmp 0x994d58
test al, 0x10
jne 0x994d56
test al, 1
je 0x994d56
test byte [ebp + 0xc], 2
je 0x994d56
call fcn.00937288
mov dword [eax], 5
call fcn.00937275
mov dword [eax], 0xd
jmp 0x994d27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x419610
Capabilities:
Get disk information

Disassembly:
sub esp, 8
mov eax, dword [0x4d2030]
mov edx, dword [0x4d2034]
mov dword [esp + 4], 0
push 0x4d2064
lea ecx, [eax + eax]
or ecx, edx
mov dword [esp + 4], ecx
fild qword [esp + 4]
fadd qword [0x4d2058]
fstp qword [0x4d2058]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [0x4d5acc], eax
add esp, 8
ret

Function at 0x47af36
Capabilities:
Check for vm using instruction vpcext

Disassembly:
or dword [ebx], ebx
lodsd eax, dword [esi]
out dx, al
test byte [esi + 0x1d968606], dh
fcom dword [eax + edx]
add dl, al
cmp dword [edi - 0x456825c0], 0x1d517970
pushal
dec ebx
inc esp
push 1
cmp dl, byte [edi + edx*8 - 0x1ea4d635]
push esi
insb byte es:[edi], dx
sbb eax, 0x7534ba32
dec edi
xchg ecx, eax
dec eax
fild dword [edx]
mov bl, 0x49
inc byte [edx + 0x4f80ed28]
in eax, dx
add edi, edi
out 0x55, eax
out 0x2d, eax
inc ebp
adc al, 0x88
invalid

Function at 0x4c7ebd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d2380
cmp edx, dword [eax]
je 0x4c7edf
add eax, 8
inc ecx
cmp eax, 0x4d2410
jl 0x4c7ed0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d2380]
jne 0x4c800d
mov eax, dword [0x4d7db0]
cmp eax, 1
je 0x4c7fe7
test eax, eax
jne 0x4c7f10
cmp dword [0x4d22a8], 1
je 0x4c7fe7
cmp edx, 0xfc
je 0x4c800d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c7f47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c88a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c8d30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c7f8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c8d30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cde1c
push edi
call fcn.004cac00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c88a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c88b0
lea eax, [ebp - 0xa0]
push 0x4cddfc
push eax
call fcn.004c88b0
push dword [esi + 0x4d2384]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c88b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004cab74
add esp, 0x2c
pop edi
jmp 0x4c800d
lea eax, [ebp + 8]
lea esi, [esi + 0x4d2384]
push 0
push eax
push dword [esi]
call fcn.004c8d30
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 0x405250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7a0cb8], 0x44
push eax
xor eax, eax
push 0x7a0cb8
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 0x40528b
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004055c4
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405349
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7a2728], eax
jmp 0x4054dd
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405367
test eax, eax
je 0x405488
test byte [ebp + 0xc], 2
je 0x405488
mov esi, 0x79fcb8
push edi
push esi
call fcn.004059f0
test ebx, ebx
je 0x405384
push 0x409328
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x40538a
push edi
call fcn.0040552a
cmp byte [edi], 0
jne 0x405398
cmp byte [0x79fcb8], 0x5c
jne 0x4053a3
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x40547e
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.0040550e
cmp byte [eax], 0
je 0x4053e9
cmp byte [ebp - 0x18], 0
je 0x4053e9
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x4053ff
mov al, byte [esi + 1]
test al, al
je 0x40545d
cmp al, 0x2e
jne 0x4053ff
cmp byte [esi + 2], 0
je 0x40545d
push esi
push ebx
call fcn.004059f0
test byte [ebp - 0x148], 0x10
je 0x405424
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x40545d
push dword [ebp + 0xc]
push edi
call fcn.00405315
jmp 0x40545d
push edi
call fcn.004056a8
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405455
test byte [ebp + 0xc], 4
je 0x40544d
push edi
push 0xfffffffffffffff1
call fcn.00404d8e
push 0
push edi
call fcn.0040573e
jmp 0x40545d
inc dword [0x7a2728]
jmp 0x40545d
push edi
push 0xfffffffffffffff2
call fcn.00404d8e
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4053c7
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405488
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x4054dd
cmp dword [ebp - 8], esi
jne 0x40549d
inc dword [0x7a2728]
jmp 0x4054dd
push edi
call fcn.00405ceb
test eax, eax
je 0x4054dd
push edi
call fcn.004054e3
push edi
call fcn.004056a8
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4054d5
test byte [ebp + 0xc], 4
je 0x405495
push edi
push 0xfffffffffffffff1
call fcn.00404d8e
push esi
push edi
call fcn.0040573e
jmp 0x4054dd
push edi
push 0xffffffffffffffe5
call fcn.00404d8e
pop edi
pop esi
leave
ret 8
Function at 0x1000f4c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10021024]
jne 0x1000f4ca
repz ret
jmp fcn.1000fd02

Function at 0x10013e20
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100101a6
and dword [ebp - 4], 0
cmp dword [0x10022ff8], 0
mov ebx, eax
jne 0x10013ed1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10013f82
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10013f82
push eax
call fcn.10010134
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10022ff8], eax
call esi
push eax
call fcn.10010134
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10022ffc], eax
call esi
push eax
call fcn.10010134
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10023000], eax
call esi
push eax
call fcn.10010134
pop ecx
mov dword [0x10023008], eax
test eax, eax
je 0x10013ed1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10010134
pop ecx
mov dword [0x10023004], eax
mov eax, dword [0x10023004]
cmp eax, ebx
je 0x10013f29
cmp dword [0x10023008], ebx
je 0x10013f29
push eax
call fcn.100101af
push dword [0x10023008]
mov esi, eax
call fcn.100101af
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10013f29
test edi, edi
je 0x10013f29
call esi
test eax, eax
je 0x10013f20
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10013f20
test byte [ebp - 0xc], 1
jne 0x10013f29
or dword [ebp + 0x10], 0x200000
jmp 0x10013f62
mov eax, dword [0x10022ffc]
cmp eax, ebx
je 0x10013f62
push eax
call fcn.100101af
pop ecx
test eax, eax
je 0x10013f62
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10013f62
mov eax, dword [0x10023000]
cmp eax, ebx
je 0x10013f62
push eax
call fcn.100101af
pop ecx
test eax, eax
je 0x10013f62
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10022ff8]
call fcn.100101af
pop ecx
test eax, eax
je 0x10013f82
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10013f84
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4023e0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
mov eax, dword [0x456528]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [esp + 0x70], 0
lea esi, [esp + 0x50]
xor ecx, ecx
cpuid
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esi], eax
mov eax, 1
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], edx
cpuid
mov dword [esi], eax
mov eax, 3
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], edx
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x50]
cpuid
lea edi, [esp + 0x50]
movaps xmmword [esp + 0x60], xmm0
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [esp + 0x58]
add eax, dword [esp + 0x5c]
add eax, esi
push eax
lea eax, [esp + 0x64]
push str._08X
push eax
call fcn.004056a0
add esp, 0xc
lea ecx, [esp + 0x60]
mov eax, str.178F02CO
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4024a1
test dl, dl
je 0x40249d
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4024a1
add ecx, 2
add eax, 2
test dl, dl
jne 0x402481
xor ecx, ecx
jmp 0x4024a6
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov edx, 0x44f27c
mov eax, 0x44f288
cmove eax, edx
push eax
call fcn.004061b0
add esp, 4
mov dword [esp + 0x10], 0x40
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x8c]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041ba65
mov esp, ebp
pop ebp
ret
Function at 0x402bd0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e840
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x456528]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00402a90
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x402c3f
push ecx
mov edx, 0x44f570
mov ecx, 0x45a378
call fcn.004053b0
mov ecx, eax
call fcn.00403f20
push 0
call fcn.00426eae
call fcn.004023e0
test al, al
je 0x402c50
push ecx
mov edx, 0x44f580
jmp 0x402c27
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.CheckRemoteDebuggerPresent
push 0x44f5c8
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.CheckRemoteDebuggerPresentEx
mov ebx, eax
push 0x44f5c8
mov dword [ebp - 0x1c], ebx
call edi
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
mov dword [ebp - 0x14], 0
je 0x402cad
lea eax, [ebp - 0x14]
push eax
call ebx
push eax
call dword [ebp - 0x1c]
test eax, eax
jne 0x402cad
call esi
cmp eax, 0x57
je 0x402ccc
test edi, edi
je 0x402cd7
push 0
lea eax, [ebp - 0x14]
push eax
call ebx
push eax
call edi
cmp eax, 1
je 0x402cd7
test eax, eax
je 0x402cd7
call esi
cmp eax, 1
jne 0x402cd7
push ecx
mov edx, 0x44f58c
jmp 0x402c27
call fcn.004024f0
test al, al
jne 0x402c38
call fcn.004027f0
jmp 0x402c38