joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4f9
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x459040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0040c37a
pop ecx
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [0x44a494]
mov edi, eax
cmp edi, esi
jne 0x40b537
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.00407f33
xor eax, eax
jmp 0x40b5b6
push 4
lea eax, [ebp - 0x28]
push eax
push 2
push edi
mov dword [ebp - 0x28], 0x3e8
call dword [0x44a498]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40b559
lea eax, [ebp - 0x1c]
push ebx
push esi
push 0x84400000
push esi
push esi
push eax
push edi
call dword [0x44a4bc]
mov ebx, eax
cmp ebx, esi
jne 0x40b579
push edi
call dword [0x44a4a0]
jmp 0x40b5a8
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x20000013
push ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], 4
call dword [0x44a4b4]
push edi
mov edi, dword [0x44a4a0]
test eax, eax
jne 0x40b5c4
call edi
push ebx
call edi
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.00407f33
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004392fd
leave
ret
call edi
push ebx
call edi
xor edi, edi
cmp dword [ebp - 0x24], 0xc8
je 0x40b5e3
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.00407f33
mov eax, edi
jmp 0x40b5b5
inc edi
jmp 0x40b5d4

Function at 0x4109fd
Capabilities:
Encode data using base64

Disassembly:
mov eax, dword [ebp - 0x14]
dec dword [ebp - 0x20]
mov al, byte [eax]
inc edi
inc dword [ebp - 0x14]
mov byte [ebp + edi - 0x11], al
mov dword [ebp - 0x1c], edi
jge 0x41097d
cmp edi, 3
jne 0x410a06
mov al, byte [ebp - 0x10]
mov cl, byte [ebp - 0xf]
jl 0x4109d9
and dword [ebp - 0x1c], 0
mov edi, dword [ebp - 0x1c]
cmp dword [ebp - 0x20], 0
jne 0x410986
test edi, edi
je 0x410ab7
cmp edi, 3
jge 0x410a32
push 3
pop ecx
sub ecx, edi
push ecx
lea eax, [ebp + edi - 0x10]
push 0
push eax
call fcn.00440928
add esp, 0xc
mov cl, byte [ebp - 0x10]
and dword [ebp - 0x14], 0
mov al, cl
shr al, 2
mov byte [ebp - 0x18], al
mov al, byte [ebp - 0xf]
and cl, 3
mov dl, al
shl cl, 4
shr dl, 4
add cl, dl
mov byte [ebp - 0x17], cl
mov cl, byte [ebp - 0xe]
and al, 0xf
mov dl, cl
shl al, 2
shr dl, 6
add al, dl
mov byte [ebp - 0x16], al
lea eax, [edi + 1]
and cl, 0x3f
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x410aa1
mov eax, dword [ebp - 0x14]
movzx esi, byte [ebp + eax - 0x18]
call fcn.00411aa7
mov al, byte [eax]
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0x28], al
push dword [ebp - 0x28]
call fcn.0040caad
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jl 0x410a76
mov edi, dword [ebp - 0x1c]
push 3
pop esi
cmp edi, esi
jge 0x410ab7
sub esi, edi
mov edi, dword [ebp - 0x24]
push 0x3d
call fcn.0040caad
dec esi
jne 0x410aaa
mov eax, dword [ebp - 0x24]
call fcn.004408ed
ret
Function at 0x410b21
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
cmp esi, 1
push edi
jle 0x410bfa
push 0x34
pop eax
cdq
idiv esi
and dword [ebp - 4], 0
add eax, 6
mov dword [ebp - 0x18], eax
lea eax, [ecx + esi*4 - 4]
cld
cmp esi, 0xffffffff
jge 0x410cbd
push 0x34
neg esi
pop eax
cdq
idiv esi
mov edx, dword [ecx]
lea edi, [esi - 1]
lea esi, [ecx + esi*4 - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x10]
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
test esi, esi
jbe 0x410c74
mov eax, dword [ecx + esi*4 - 4]
mov ebx, eax
shr ebx, 5
mov edi, edx
shl edi, 2
xor edi, ebx
shl eax, 4
mov ebx, edx
xor edx, dword [ebp - 4]
shr ebx, 3
xor ebx, eax
mov eax, esi
and eax, 3
xor eax, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ecx + esi*4 - 4]
add eax, edx
xor edi, eax
sub dword [ecx + esi*4], edi
mov edx, dword [ecx + esi*4]
dec esi
jne 0x410c36
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edi, edx
shr ebx, 5
shl edi, 2
xor edi, ebx
mov ebx, edx
shl eax, 4
and esi, 3
xor esi, dword [ebp - 8]
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
xor esi, dword [eax]
mov eax, dword [ebp - 4]
xor edx, eax
add esi, edx
add edi, ebx
xor edi, esi
sub dword [ecx], edi
mov edx, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 4], eax
jne 0x410c26
Function at 0x4118b9
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov esi, eax
cmp esi, 1
push edi
jle 0x41198a
push 0x34
pop eax
cdq
idiv esi
and dword [ebp - 4], 0
add eax, 6
mov dword [ebp - 0x18], eax
lea eax, [ecx + esi*4 - 4]
mov edi, dword [eax]
dec esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
sub dword [ebp - 4], 0x61c88647
mov eax, dword [ebp - 4]
shr eax, 2
and eax, 3
xor edx, edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edx
jbe 0x411942
mov esi, dword [ecx + edx*4 + 4]
mov ebx, edi
shr ebx, 5
shl edi, 4
mov eax, esi
shl eax, 2
xor eax, ebx
mov ebx, esi
xor esi, dword [ebp - 4]
shr ebx, 3
xor ebx, edi
mov edi, edx
and edi, 3
xor edi, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + edi*4]
xor edi, dword [ebp - 0xc]
add edi, esi
xor eax, edi
add dword [ecx + edx*4], eax
mov edi, dword [ecx + edx*4]
inc edx
mov dword [ebp - 0xc], edi
cmp edx, dword [ebp - 0x10]
jb 0x4118ff
mov eax, dword [ecx]
mov ebx, edi
mov esi, eax
shr ebx, 5
shl esi, 2
xor esi, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
and edx, 3
xor edx, dword [ebp - 8]
shl edi, 4
shr ebx, 3
xor ebx, edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + edx*4]
xor edx, dword [ebp - 0xc]
add esi, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
xor esi, edx
add dword [eax], esi
dec dword [ebp - 0x18]
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
jne 0x4118e5
jmp 0x411a4d
cmp esi, 0xffffffff
jge 0x411a4d
push 0x34
neg esi
pop eax
cdq
idiv esi
mov edx, dword [ecx]
lea edi, [esi - 1]
lea esi, [ecx + esi*4 - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x10]
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
test esi, esi
jbe 0x411a04
mov eax, dword [ecx + esi*4 - 4]
mov ebx, eax
shr ebx, 5
mov edi, edx
shl edi, 2
xor edi, ebx
shl eax, 4
mov ebx, edx
xor edx, dword [ebp - 4]
shr ebx, 3
xor ebx, eax
mov eax, esi
and eax, 3
xor eax, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ecx + esi*4 - 4]
add eax, edx
xor edi, eax
sub dword [ecx + esi*4], edi
mov edx, dword [ecx + esi*4]
dec esi
jne 0x4119c6
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edi, edx
shr ebx, 5
shl edi, 2
xor edi, ebx
mov ebx, edx
shl eax, 4
and esi, 3
xor esi, dword [ebp - 8]
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
xor esi, dword [eax]
mov eax, dword [ebp - 4]
xor edx, eax
add esi, edx
add edi, ebx
xor edi, esi
sub dword [ecx], edi
mov edx, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 4], eax
jne 0x4119b6
pop edi
Function at 0x41e4d1
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x459040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0041f352
pop ecx
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call dword [0x44a494]
mov edi, eax
cmp edi, esi
jne 0x41e50f
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.0041af0b
xor eax, eax
jmp 0x41e58e
push 4
lea eax, [ebp - 0x28]
push eax
push 2
push edi
mov dword [ebp - 0x28], 0x3e8
call dword [0x44a498]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x41e531
lea eax, [ebp - 0x1c]
push ebx
push esi
push 0x84400000
push esi
push esi
push eax
push edi
call dword [0x44a4bc]
mov ebx, eax
cmp ebx, esi
jne 0x41e551
push edi
call dword [0x44a4a0]
jmp 0x41e580
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
fcom qword [eax + 0x68]
adc eax, dword [eax]
add byte [eax], ah
push ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], 4
call dword [0x44a4b4]
push edi
mov edi, dword [0x44a4a0]
test eax, eax
jne 0x41e59c
call edi
push ebx
call edi
push ebx
call edi
xor edi, edi
cmp dword [ebp - 0x24], 0xc8
je 0x41e5bb
push esi
push 1
lea esi, [ebp - 0x20]
call fcn.0041af0b
mov eax, edi
jmp 0x41e58d
inc edi
jmp 0x41e5ac

Function at 0x423dee
Capabilities:
Encrypt data using tea

Disassembly:
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebx + 0x8c]
mov dword [ebx], 0x44d63c
test edi, edi
je 0x423e23
push esi
lea esi, [edi + 0x44]
call 0x44aaee
lea ecx, [edi + 8]
call fcn.004244df
lea ecx, [edi + 4]
call fcn.004244df
push edi
call 0x44c09a
pop ecx
pop esi
pop edi
mov ecx, ebx
pop ebx
jmp 0x425366
inc esp
mov cl, 0xfc
mov edi, dword [eax]
dec esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
sub dword [ebp - 4], 0x61c88647
mov eax, dword [ebp - 4]
shr eax, 2
and eax, 3
xor edx, edx
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], edx
jbe 0x4253d2
mov esi, dword [ecx + edx*4 + 4]
mov ebx, edi
shr ebx, 5
shl edi, 4
mov eax, esi
shl eax, 2
xor eax, ebx
mov ebx, esi
xor esi, dword [ebp - 4]
shr ebx, 3
xor ebx, edi
mov edi, edx
and edi, 3
xor edi, dword [ebp - 8]
add eax, ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + edi*4]
xor edi, dword [ebp - 0xc]
add edi, esi
xor eax, edi
add dword [ecx + edx*4], eax
mov edi, dword [ecx + edx*4]
inc edx
mov dword [ebp - 0xc], edi
cmp edx, dword [ebp - 0x10]
jb 0x42538f
mov eax, dword [ecx]
mov ebx, edi
mov esi, eax
shr ebx, 5
shl esi, 2
xor esi, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
and edx, 3
xor edx, dword [ebp - 8]
shl edi, 4
shr ebx, 3
xor ebx, edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + edx*4]
xor edx, dword [ebp - 0xc]
add esi, ebx
add edx, eax
mov eax, dword [ebp - 0x14]
xor esi, edx
add dword [eax], esi
dec dword [ebp - 0x18]
mov edi, dword [eax]
mov dword [ebp - 0xc], edi
jne 0x425375
jmp 0x4254dd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x425341
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, eax
cmp esi, 1
push edi
jle 0x42541a
push 0x34
pop eax
cdq
idiv esi
and dword [ebp - 4], 0
add eax, 6
mov dword [ebp - 0x18], eax
lea eax, [ecx + esi*4 - 4]
cmp esi, 0xffffffff
jge 0x4254dd
push 0x34
neg esi
pop eax
cdq
idiv esi
mov edx, dword [ecx]
lea edi, [esi - 1]
lea esi, [ecx + esi*4 - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], esi
add eax, 6
imul eax, eax, 0x9e3779b9
mov dword [ebp - 4], eax
mov esi, dword [ebp - 0x10]
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
test esi, esi
jbe 0x425494
mov eax, dword [ecx + esi*4 - 4]
mov ebx, eax
shr ebx, 5
mov edi, edx
shl edi, 2
xor edi, ebx
shl eax, 4
mov ebx, edx
xor edx, dword [ebp - 4]
shr ebx, 3
xor ebx, eax
mov eax, esi
and eax, 3
xor eax, dword [ebp - 8]
add edi, ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + eax*4]
xor eax, dword [ecx + esi*4 - 4]
add eax, edx
xor edi, eax
sub dword [ecx + esi*4], edi
mov edx, dword [ecx + esi*4]
dec esi
jne 0x425456
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, eax
mov edi, edx
shr ebx, 5
shl edi, 2
xor edi, ebx
mov ebx, edx
shl eax, 4
and esi, 3
xor esi, dword [ebp - 8]
shr ebx, 3
xor ebx, eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x14]
xor esi, dword [eax]
mov eax, dword [ebp - 4]
xor edx, eax
add esi, edx
add edi, ebx
xor edi, esi
sub dword [ecx], edi
mov edx, dword [ecx]
add eax, 0x61c88647
mov dword [ebp - 4], eax
jne 0x425446

Function at 0x437a85
Capabilities:
Check for peb beingdebugged flag

Disassembly:
pop eax
mov bl, 1
add al, ch
and byte [eax + 2], ch
add byte [ebp + 0x50142444], cl

Function at 0x43aedd
Capabilities:
Access peb ldr_data

Disassembly:
dec dword [ebp - 0x14bbdb8c]
dec edi
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
inc esp
and al, 0x3c
Function at 0x4024e6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418004]
jne 0x4024f0
repz ret
jmp fcn.004026d5

Function at 0x40464b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418004]
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.004035fd
and dword [ebp - 0x14], 0
cmp dword [0x41974c], 0
mov dword [ebp - 0x18], eax
jne 0x4046fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4047a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4047a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41974c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x419750], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x419754], eax
call edi
push eax
call esi
mov dword [0x41975c], eax
test eax, eax
je 0x4046fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x419758], eax
mov eax, dword [0x419758]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404757
cmp dword [0x41975c], ecx
je 0x404757
push eax
call esi
push dword [0x41975c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404757
test ebx, ebx
je 0x404757
call edi
test eax, eax
je 0x40474e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40474e
test byte [ebp - 8], 1
jne 0x404757
or dword [ebp + 0x10], 0x200000
jmp 0x40478a
mov eax, dword [0x419750]
cmp eax, dword [ebp - 0x18]
je 0x40478a
push eax
call esi
test eax, eax
je 0x40478a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40478a
mov eax, dword [0x419754]
cmp eax, dword [ebp - 0x18]
je 0x40478a
push eax
call esi
test eax, eax
je 0x40478a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41974c]
call esi
test eax, eax
je 0x4047a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4047a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004024e6
leave
ret

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

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

Disassembly:
clc
add byte [esi - 0x6bd716fc], bl
popfd
fmul qword [ecx + 0x4d902361]
popal
and edx, dword [eax - 0x327773b3]
cmp eax, 0x8c7aa7c0
popal
and edx, dword [eax - 0x327773b3]
cmp eax, 0x8c7aa7c0
popfd
and al, 0xdd
test dword [ebx], ecx
and byte [eax + 0x2a7eecbb], cl
js 0x1008bb20
movsd dword es:[edi], dword [esi]
js 0x1008bb74
popfd
jo 0x1008bade
xchg esp, eax
movsd dword es:[edi], dword [esi]
shl byte [ebx + 0x4c096d9c], 0x35
inc edi
mov es, word [ecx]
das
dec esp
inc edi
xor ebp, ecx
lodsb al, byte [esi]
adc cl, al

Function at 0x1008bf2e
Capabilities:
Encode data using xor

Disassembly:
add ebx, dword [esi + 7]
mov dword [0xd8a33905], eax
mov eax, dword [0xb90d6b11]
or eax, 0x48be4b9
dec ecx
add dword [esi - 0x47], eax
dec ebp
dec ecx
invalid
and dh, 0x46
adc ebp, edi
sub byte [esi], 0x6c
fadd qword [eax + 4]
adc byte [eax + 0x31], 0x59
pop esi
xor dword [ecx + 0x5e], ebx
mov edi, eax
loop 0x1008bee5
add dword [eax], 0xfffffff0
xlatb
stc
xchg esp, ebx
sub dl, byte [eax + 0x61d5dfbf]
aad 0x61
adc byte [eax + ebx], 0x61
mov eax, dword [0xc0adfb4d]
cmp ebp, esi
add dword [ecx + 0xe], eax
loopne 0x1008bf1c
les ecx, [edx - 0x53]
lea ebp, [0x689d473e]
fimul dword [esi + 0x2d19f693]
invalid
invalid
Function at 0x10012e8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10026510]
jne 0x10012e98
repz ret
jmp fcn.1001697c

Function at 0x1001b64f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001635d
xor ebx, ebx
cmp dword [0x100281c4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1001b724
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1001b68f
xor eax, eax
jmp 0x1001b7e8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1001b688
push eax
call fcn.100162fa
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100281c4], eax
call esi
push eax
call fcn.100162fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100281c8], eax
call esi
push eax
call fcn.100162fa
mov dword [0x100281cc], eax
lea eax, [ebp - 8]
push eax
call fcn.10017c8c
test eax, eax
pop ecx
pop ecx
je 0x1001b6f2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018f19
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1001b724
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100162fa
cmp eax, ebx
pop ecx
mov dword [0x100281d4], eax
je 0x1001b724
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100162fa
pop ecx
mov dword [0x100281d0], eax
mov eax, dword [0x100281d0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1001b79d
cmp dword [0x100281d4], esi
je 0x1001b79d
push eax
call fcn.10016366
pop ecx
call eax
cmp eax, ebx
je 0x1001b76a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100281d4]
call fcn.10016366
pop ecx
call eax
test eax, eax
je 0x1001b76a
test byte [ebp - 0x18], 1
jne 0x1001b79d
lea eax, [ebp - 0xc]
push eax
call fcn.10017cc3
test eax, eax
pop ecx
je 0x1001b785
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10018f19
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1001b794
or dword [ebp + 0x10], 0x200000
jmp 0x1001b7ce
or dword [ebp + 0x10], 0x40000
jmp 0x1001b7ce
mov eax, dword [0x100281c8]
cmp eax, esi
je 0x1001b7ce
push eax
call fcn.10016366
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1001b7ce
mov eax, dword [0x100281cc]
cmp eax, esi
je 0x1001b7ce
push dword [ebp - 4]
push eax
call fcn.10016366
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100281c4]
call fcn.10016366
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461318
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
mov ebx, edx
mov esi, eax
cmp dword [esi + 0x5d8], 0
je 0x46133f
mov eax, dword [esi + 0x5d8]
call fcn.004301ec
test al, al
jne 0x461364
lea eax, [ebp - 0x25a]
push eax
push 0x12d
call sub.kernel32.dll_GetTempPathW
mov eax, ebx
lea edx, [ebp - 0x25a]
mov ecx, 0x12d
call sub.rtl250.bpl__System__UStrFromWArray_qqrr20System_UnicodeStringpbi
jmp 0x461371
mov eax, ebx
mov edx, dword [esi + 0x5d8]
call sub.rtl250.bpl__System__UStrAsg_qqrr20System_UnicodeStringx20System_UnicodeString
mov eax, dword [ebx]
call sub.rtl250.bpl__System__UStrLen_qqrx20System_UnicodeString
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46138e
mov eax, ebx
mov edx, 0x4613a0
call sub.rtl250.bpl__System__UStrCat_qqrr20System_UnicodeStringx20System_UnicodeString
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b3444
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebx], eax
mov edi, esi
add edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 8], eax
push 0x40
push 0x3000
push edi
push 0
call sub.kernel32.dll_VirtualAlloc
mov dword [ebx], eax
mov edx, dword [ebx]
mov eax, dword [ebp - 4]
mov ecx, esi
call sub.rtl250.bpl__System_Move_qqrpxvpvi
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x4b3560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dl, 0x1a
mov al, 0xc
call sub.AxComponentsRTL.bpl__Axrtl_System_Win_Osinfo_OSInfo_IsWindows_qqr39Axrtl_System_Win_Osinfo_TWindowsVersiont1
test al, al
jne 0x4b35b6
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b35ab
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4b35b2
mov ebx, 0xc0000008
jmp 0x4b35ef
xor ebx, ebx
jmp 0x4b35ef
push ebx
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 0x2000000
call fcn.0041cda8
mov ebx, eax
test ebx, ebx
jne 0x4b35ef
cmp dword [ebp - 0xc], 0
je 0x4b35ea
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4b35ef
mov ebx, 0xc0000008
test edi, edi
je 0x4b35f8
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
test ebx, ebx
jne 0x4b361b
test esi, esi
jbe 0x4b361b
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp esi, 0xffffffff
jne 0x4b361b
test edi, edi
jne 0x4b361b
mov eax, dword [ebp - 0xc]
call sub.AxComponentsRTL.bpl__Axrtl_Winapi_Ntdll_Ntdll_NtClose_qqrui
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8