joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446a40
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7998
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x446aa4
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00413720
cmp dword [esi + 0x10], 0
lea edi, [esi + 0x10]
je 0x446b01
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jae 0x446adc
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [eax + ecx*2], 0x20
jmp 0x446aee
push 0x20
mov byte [ebp - 0x31], 0
push dword [ebp - 0x31]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00421100
cmp dword [esi + 0x14], 8
jb 0x446af6
mov esi, dword [esi]
push dword [edi]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00413720
mov edx, dword [0x57396c]
test edx, edx
je 0x446b25
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str.ACTION_Start___s_
push edx
call dword [eax + 4]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 0x44
push 0
push eax
call fcn.004a9e70
add esp, 0xc
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne byte [ebp - 0x2d]
test eax, eax
je 0x446bc1
cmp dword [ebx + 8], 2
jne 0x446b99
push 0xbb8
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp eax, 0xffffffff
setne byte [ebp - 0x2d]
mov eax, dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x446bb0
push eax
call esi
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x446bc1
push eax
call esi
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x446bf7
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x446bed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x446c18
push edx
push ecx
call fcn.004835cc
add esp, 8
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004b1db8
int3
Function at 0x4494e0
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x15c], ebx
xor esi, esi
lea edx, [ebx + 0x15]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x144], ecx
inc esi
cmp esi, 0x10
jb 0x449503
lea edx, [ebp - 0x13c]
mov esi, 0x40
nop dword [eax]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
mov ecx, eax
add eax, eax
shr ecx, 0x1f
xor ecx, eax
mov dword [edx + 0x34], ecx
sub esi, 1
jne 0x449540
mov eax, dword [ebx]
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x158], eax
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], eax
jmp 0x449596
mov edi, dword [ebp - 0x14c]
cmp ebx, 0x14
jae 0x4495b3
mov eax, edx
mov dword [ebp - 0x148], 0x5a827999
not eax
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x4495f1
cmp ebx, 0x28
jae 0x4495c4
mov dword [ebp - 0x148], 0x6ed9eba1
jmp 0x4495eb
cmp ebx, 0x3c
jae 0x4495e1
mov eax, esi
mov dword [ebp - 0x148], 0x8f1bbcdc
or eax, edx
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x4495f1
mov dword [ebp - 0x148], 0xca62c1d6
mov eax, ecx
xor eax, esi
xor eax, edx
mov ecx, dword [ebp - 0x14c]
shr edi, 0x1b
shl ecx, 5
xor edi, ecx
mov ecx, esi
add edi, dword [ebp + ebx*4 - 0x144]
inc ebx
add edi, dword [ebp - 0x148]
add edi, eax
mov eax, dword [ebp - 0x154]
add edi, dword [ebp - 0x150]
mov dword [ebp - 0x154], esi
mov esi, edx
shr edx, 2
shl esi, 0x1e
xor esi, edx
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x14c], edi
cmp ebx, 0x50
jb 0x449590
mov eax, dword [ebp - 0x158]
add eax, edi
mov edi, dword [ebp - 0x15c]
add dword [edi + 0xc], ecx
add dword [edi + 8], esi
add dword [edi + 4], edx
mov ecx, dword [ebp - 4]
mov dword [edi], eax
xor ecx, ebp
mov eax, dword [ebp - 0x150]
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
call fcn.0048358b
mov esp, ebp
pop ebp
ret
Function at 0x449890
Capabilities:
Generate random numbers via winapi
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x449900
lea ecx, [ebp - 0x20]
push ecx
push 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0x14
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.00449420
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x80]
push 4
lea eax, [ebp - 0x84]
push eax
call fcn.00449420
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x80]
push 4
lea eax, [ebp - 0x84]
push eax
call fcn.00449420
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x80]
call fcn.00449420
push 0
call fcn.004b91bc
add esp, 4
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x84], edx
lea ecx, [ebp - 0x80]
push 8
push eax
call fcn.00449420
push 0x14
push 0x573c34
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x84], 0x573c34
call fcn.00449420
push 4
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x80]
call fcn.00449420
call fcn.004baa61
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
push 4
lea eax, [ebp - 0x10]
push eax
call fcn.00449420
call fcn.004ba17b
mov dword [ebp - 0x18], eax
call fcn.004ba17b
mov dword [ebp - 0x14], eax
call fcn.004ba17b
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x80]
push 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00449420
push 4
call fcn.0048359c
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x80]
push 4
push eax
call fcn.00449420
push 4
push dword [ebp - 0x10]
call fcn.004835cc
add esp, 8
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x80]
push 4
push eax
call fcn.00449420
push 4
push fcn.004ba17b
lea ecx, [ebp - 0x80]
call fcn.00449420
push 0x14
push esi
lea ecx, [ebp - 0x80]
call fcn.00449420
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x80]
call fcn.00449680
mov ecx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x20]
xor dword [ecx], eax
xor dword [esi], eax
mov eax, dword [ebp - 0x1c]
xor dword [ecx + 4], eax
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
xor dword [ecx + 8], eax
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ecx + 0xc], eax
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
xor dword [esi + 0x10], eax
xor ecx, ebp
pop esi
call fcn.0048358b
mov esp, ebp
pop ebp
ret
Function at 0x44bf70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
sub edi, ebx
jne 0x44bf88
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
cmp edi, 0xffffffff
jne 0x44bf99
call fcn.0044c030
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
lea ecx, [edi + 1]
or eax, 0xffffffff
xor edx, edx
div ecx
cmp edx, edi
lea ecx, [eax + 1]
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x9c0]
cmp ecx, 0x270
jne 0x44bfc9
mov ecx, esi
call fcn.0044c460
mov ecx, dword [esi + 0x9c0]
mov edx, dword [esi + ecx*4]
mov eax, edx
shr eax, 0xb
inc ecx
xor edx, eax
mov dword [esi + 0x9c0], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
xor edx, edx
div dword [ebp + 8]
cmp eax, edi
ja 0x44bfb4
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
Function at 0x44c460
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
cmp dword [0x572c5c], 2
jl 0x44c4e0
movaps xmm3, xmmword [0x54cee0]
mov eax, 1
movaps xmm4, xmmword [0x54cf00]
movaps xmm6, xmmword [0x54cf10]
movaps xmm7, xmmword [0x54ce80]
movd xmm5, eax
movups xmm1, xmmword [ecx + esi*4 + 4]
movups xmm2, xmmword [ecx + esi*4]
movaps xmm0, xmm3
pand xmm0, xmm1
pand xmm2, xmm4
por xmm2, xmm0
movaps xmm0, xmm7
pand xmm0, xmm1
psrld xmm2, xmm5
pmulld xmm0, xmm6
pxor xmm2, xmm0
movups xmm0, xmmword [ecx + esi*4 + 0x634]
pxor xmm2, xmm0
movups xmmword [ecx + esi*4], xmm2
add esi, 4
cmp esi, 0xdc
jb 0x44c491
cmp esi, 0xde
jae 0x44c512
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 + 0x634]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0xde
jb 0x44c4e0
mov edx, dword [ecx + 0x378]
mov esi, dword [ecx + 0x380]
push edi
mov edi, dword [ecx + 0x37c]
xor edx, edi
and edx, 0x7ffffffe
mov eax, edi
xor edx, dword [ecx + 0x378]
and eax, 1
shr edx, 1
imul eax, eax, 0x9908b0df
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9ac]
and eax, 1
mov dword [ecx + 0x378], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
mov edi, dword [ecx + 0x384]
shr edx, 1
xor edx, eax
mov eax, edi
xor edx, dword [ecx + 0x9b0]
and eax, 1
mov dword [ecx + 0x37c], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, esi
mov esi, dword [ecx + 0x388]
shr edx, 1
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9b4]
and eax, 1
mov dword [ecx + 0x380], edx
mov edx, esi
xor edx, edi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
shr edx, 1
pop edi
xor edx, eax
mov eax, dword [ecx + 0x38c]
xor edx, dword [ecx + 0x9b8]
mov dword [ecx + 0x384], edx
mov edx, eax
xor edx, esi
and eax, 1
and edx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor edx, esi
mov esi, 0xe3
shr edx, 1
xor edx, eax
xor edx, dword [ecx + 0x9bc]
mov dword [ecx + 0x388], edx
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 - 0x38c]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0x26f
jb 0x44c600
mov edx, dword [ecx + 0x9bc]
mov eax, dword [ecx]
xor edx, eax
and edx, 0x7ffffffe
mov dword [ecx + 0x9c0], 0
xor edx, dword [ecx + 0x9bc]
and eax, 1
imul eax, eax, 0x9908b0df
shr edx, 1
pop esi
xor edx, eax
xor edx, dword [ecx + 0x630]
mov dword [ecx + 0x9bc], edx
ret
Function at 0x44f7f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x44f86d
mov esi, dword [ebp + 8]
mov ecx, 1
mov edx, dword [esi]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x44f827
push edi
mov ecx, esi
call fcn.0044f790
mov edx, dword [esi]
push edi
push edx
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x44f84e
mov ecx, dword [esi]
test ecx, ecx
je 0x44f852
push dword [ecx - 8]
push ecx
call fcn.004babea
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x44f86d
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x44f86d
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00421000
int3
Function at 0x455e10
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x56b06c]
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
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x455e6f
cmp dword [ebp - 0x130], 2
jne 0x455e6f
cmp dword [ebp - 0x13c], 6
jb 0x455e6f
xor ebx, ebx
jmp 0x455e74
mov ebx, 1
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push reloc.OLEAUT32.dll_SysReAllocString
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
call fcn.00423450
lea edx, [ebp - 0x28]
mov ecx, str.InstallationType
call fcn.004239f0
mov edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
add esp, 0x1c
cmp dword [ebp - 0x14], 8
cmovae esi, edi
cmp dword [ebp - 0x18], 0xa
jne 0x455ee3
mov ecx, str.PerMachine
mov edx, 0xa
sub esi, ecx
nop dword [eax]
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x455ee3
add ecx, 2
sub edx, 1
jne 0x455ed0
mov bl, 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x455f16
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x455f0c
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x455f34
push ecx
push edi
call fcn.004835cc
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3
Function at 0x458bd0
Capabilities:
Check os version
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp dword [ebx + 0x11c], 0
push esi
lea esi, [ebx + 0xf8]
mov eax, dword [ebx + 4]
push edi
mov dword [ebp - 0x134], eax
jne 0x458c7b
push 0x110
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x130], 0x114
push 0
push eax
call fcn.004a9e70
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x458c3e
cmp dword [ebp - 0x12c], 6
jb 0x458c3e
mov cl, 1
jmp 0x458c40
xor cl, cl
push 0
push 0
sub esp, 0x10
movzx eax, cl
add ax, 8
mov edx, str.Segoe_UI
movzx eax, ax
test cl, cl
push eax
mov eax, str.MS_Shell_Dlg
cmovne eax, edx
push eax
push 0
push 0x40000040
push 0
push 0
sub esp, 8
push 0
push ecx
lea ecx, [esi + 0x20]
call fcn.00459d20
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x458c98
call fcn.004921d1
mov dword [esi + 0x14], eax
test eax, eax
jne 0x458c98
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x458cf8
push 0
push 0
push eax
call fcn.004922d3
lea edi, [esi + 8]
test edi, edi
je 0x458d85
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x56bfe4
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x56bffc]
mov dword [edi + 8], eax
push 0x56bfe4
mov dword [0x56bffc], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x45b170
push dword [ebp - 0x134]
push dword [esi + 0x24]
push dword [0x572dac]
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xfc]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push ecx
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebx + 4]
sub eax, dword [ebp - 0x14]
push eax
call fcn.00452ec0
push 0xfffffffffffffff0
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfffffff7
cmp eax, ecx
je 0x458d46
push ecx
push 0xfffffffffffffff0
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xffff0000
push 0
push 0x401
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
mov byte [esi + 0x78], 0
call fcn.00451da0
push 5
push dword [ebx + 0xfc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048358b
mov esp, ebp
pop ebp
ret
push 1
push 0xc0000005
call fcn.00421610
int3

Function at 0x4591e0
Capabilities:
Check if file exists
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add ecx, 0xffffffcc
pop ebp
jmp fcn.00457fb0
Function at 0x45d830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9188
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x56b06c]
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
mov esi, ecx
mov edx, 0x6a7
lea ecx, [ebp - 0x28]
call fcn.00431560
mov dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov ebx, dword [esi + 0x26c]
cmovae edi, dword [ebp - 0x28]
push 0x110
push 0
push eax
mov dword [ebp - 0x140], 0x114
call fcn.004a9e70
add esp, 0xc
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45d8c3
cmp dword [ebp - 0x13c], 6
jb 0x45d8c3
mov cl, 1
jmp 0x45d8c5
xor cl, cl
push 0
push 0
sub esp, 0x10
movzx eax, cl
add ax, 8
add esi, 0x20
movzx eax, ax
test cl, cl
mov edx, str.Segoe_UI
push eax
mov eax, str.MS_Shell_Dlg
cmovne eax, edx
push eax
push ebx
push 0x80c80040
push 0x5a
push 0x10a
sub esp, 8
push edi
push ecx
mov ecx, esi
call fcn.00459d20
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45d944
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d93a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45d9c9
push edx
push ecx
call fcn.004835cc
add esp, 8
sub esp, 0xc
push 0x53fb28
push ecx
push 0x20000
sub esp, 0x10
push 0x64
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], 0x82
call fcn.0045d9d0
sub esp, 0xc
push 0x53fb28
push ecx
push 0x20000
sub esp, 0x10
push 0x65
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], 0x82
call fcn.0045d9d0
sub esp, 0xc
push 0x53fb28
push ecx
push 0x10003
sub esp, 0x10
push 0x66
push ecx
mov eax, esp
mov ecx, esi
mov dword [eax], 0x80
call fcn.0045d9d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
int3
Function at 0x45e660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 4], 0
mov edx, ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x28], 0x22
call fcn.0045e080
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x45e6bd
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00413720
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45e707
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e6fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e7ab
push edx
push ecx
call fcn.004835cc
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
cmp ecx, edx
jae 0x45e72a
lea eax, [ecx + 1]
cmp edx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov dword [eax + ecx*2], 0x22
jmp 0x45e73c
push 0x22
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00421100
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push 0x5415c4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45e791
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45e787
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e7b0
push edx
push ecx
call fcn.004835cc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
call fcn.004b1db8
call fcn.004b1db8
int3
Function at 0x45e840
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x56b06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0x114
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45e927
cmp dword [ebp - 0x108], 2
jne 0x45e927
cmp dword [ebp - 0x114], 6
jb 0x45e927
push ebx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0
push eax
push 8
mov ebx, 0x80004005
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45e915
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], 0
push eax
push 4
lea eax, [ebp - 0x120]
mov dword [ebp - 0x124], 0
push eax
push 0x14
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x45e909
mov ecx, dword [ebp - 0x120]
xor ebx, ebx
test ecx, ecx
sete bl
test esi, esi
je 0x45e909
xor edx, edx
test ecx, ecx
setne dl
mov dword [esi], edx
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048358b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [esi], 1
xor ecx, ebp
pop esi
call fcn.0048358b
mov esp, ebp
pop ebp
ret