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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
sub esp, 0x1c
mov edx, dword [ebp + 0x28]
add edx, 0x100
push ebx
push esi
mov esi, dword [eax]
xor ebx, ebx
push edi
lea ecx, [esi + 1]
and esi, 3
mov edi, ecx
mov dword [eax], ecx
add ecx, 0xfffffffe
shl esi, 6
and edi, 3
and ecx, 3
shl edi, 6
shl ecx, 6
add edi, edx
add ecx, edx
add esi, edx
mov edx, dword [ebp + 0x20]
nop
mov eax, dword [edx]
mov edx, dword [ebp + 8]
mov eax, dword [ebx + eax]
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 0x100]
mov dword [ebp + 0x24], eax
mov eax, dword [esi]
movss xmm0, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx - 0x100]
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x1c], eax
mov eax, 0x80000000
xor eax, dword [edx]
movss xmm3, dword [ebp - 0xc]
mov dword [ebp + 0x28], eax
movss xmm1, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
cvtps2pd xmm1, xmm1
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, 0x80000000
xor eax, dword [edx]
cvtps2pd xmm0, xmm0
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
mulsd xmm1, xmm0
mov dword [ebp + 0x24], eax
mov eax, 0x80000000
cvtps2pd xmm0, xmm3
xor eax, dword [edx]
cvtpd2ps xmm2, xmm1
movss xmm1, dword [ebp - 8]
subss xmm2, dword [ebp - 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp + 0x28]
addss xmm2, xmm0
mov dword [ebp + 0x28], eax
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm1, xmm1
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0xc], xmm2
mulsd xmm1, xmm0
cvtps2pd xmm0, xmm3
cvtpd2ps xmm2, xmm1
movss xmm1, dword [ebp + 0x24]
subss xmm2, dword [ebp - 0x14]
cvtps2pd xmm1, xmm1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [edi - 0x100], eax
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp + 0x28]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x14], xmm2
mulsd xmm1, xmm0
cvtps2pd xmm0, xmm3
cvtpd2ps xmm2, xmm1
movss xmm1, dword [ebp + 0x24]
subss xmm2, dword [ebp - 0x1c]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
addss xmm2, xmm0
movss dword [ebp + 0x28], xmm2
mov eax, dword [ebp - 0x14]
add ebx, 4
mov edx, dword [ebp + 0x20]
add esi, 4
mov dword [edi], eax
add ecx, 4
mov eax, dword [ebp + 0x28]
mov dword [edi + 0x100], eax
add edi, 4
cmp ebx, 0x40
jb 0x10191c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10191dc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
sub esp, 0x1c
mov edx, dword [ebp + 0x28]
add edx, 0x100
push ebx
push esi
mov esi, dword [eax]
xor ebx, ebx
push edi
lea ecx, [esi + 1]
and esi, 3
mov edi, ecx
mov dword [eax], ecx
add ecx, 0xfffffffe
shl esi, 6
and edi, 3
and ecx, 3
shl edi, 6
shl ecx, 6
add edi, edx
add ecx, edx
add esi, edx
nop dword [eax + eax]
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [ebx + eax]
mov dword [ebp - 0xc], eax
mov eax, dword [esi - 0x100]
mov dword [ebp + 0x24], eax
mov eax, dword [esi]
movss xmm0, dword [ebp + 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx - 0x100]
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x1c], eax
mov eax, 0x80000000
xor eax, dword [edx]
movss xmm4, dword [ebp - 0xc]
mov dword [ebp + 0x28], eax
movss xmm1, dword [ebp + 0x28]
mov eax, dword [ebp + 0x14]
cvtps2pd xmm1, xmm1
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, 0x80000000
xor eax, dword [edx]
cvtps2pd xmm0, xmm0
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax]
mulsd xmm1, xmm0
mov dword [ebp + 0x24], eax
mov eax, 0x80000000
cvtps2pd xmm0, xmm4
xor eax, dword [edx]
cvtpd2ps xmm5, xmm1
movss xmm1, dword [ebp - 8]
subss xmm5, dword [ebp - 4]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp + 0x28]
addss xmm5, xmm0
mov dword [ebp + 0x28], eax
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm1, xmm1
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0xc], xmm5
mulsd xmm1, xmm0
cvtps2pd xmm0, xmm4
cvtpd2ps xmm3, xmm1
movss xmm1, dword [ebp + 0x24]
subss xmm3, dword [ebp - 0x14]
cvtps2pd xmm1, xmm1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp - 0xc]
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss xmm1, dword [ebp + 0x28]
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x18]
cvtps2pd xmm1, xmm1
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x14], xmm3
mulsd xmm1, xmm0
cvtps2pd xmm0, xmm4
cvtpd2ps xmm2, xmm1
movss xmm1, dword [ebp + 0x24]
subss xmm2, dword [ebp - 0x1c]
cvtps2pd xmm1, xmm1
mulsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
addss xmm2, xmm0
movss dword [ebp + 0x28], xmm2
mov edx, dword [ebp + 0x30]
addss xmm3, xmm5
mov dword [edi - 0x100], eax
add esi, 4
mov eax, dword [ebp - 0x14]
add ecx, 4
mov dword [edi], eax
mov eax, dword [ebp + 0x28]
addss xmm3, xmm2
mov dword [edi + 0x100], eax
add edi, 4
movss dword [ebp + 0x28], xmm3
mov eax, dword [ebp + 0x28]
mov dword [ebx + edx], eax
add ebx, 4
cmp ebx, 0x40
jb 0x10191e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10191f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x24]
sub esp, 0x20
mov edx, dword [ebp + 0x28]
add edx, 0x100
push ebx
push esi
mov esi, dword [eax]
xor ebx, ebx
push edi
lea ecx, [esi + 1]
and esi, 3
mov edi, ecx
mov dword [eax], ecx
add ecx, 0xfffffffe
shl esi, 6
and edi, 3
and ecx, 3
shl edi, 6
shl ecx, 6
add edi, edx
add ecx, edx
add esi, edx
mov edx, dword [ebp + 0x20]
nop
mov eax, dword [edx]
mov eax, dword [ebx + eax]
mov dword [ebp + 0x24], eax
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebx + eax]
mov dword [ebp + 0x28], eax
mov eax, dword [esi - 0x100]
movss xmm0, dword [ebp + 0x28]
addss xmm0, dword [ebp + 0x24]
mov dword [ebp - 8], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x100]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx - 0x100]
mov dword [ebp - 0xc], eax
mov eax, dword [ecx]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x20], eax
mov eax, 0x80000000
xor eax, dword [edx]
cvtps2pd xmm3, xmm0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
movss xmm1, dword [ebp - 4]
movss xmm0, dword [ebp - 8]
cvtps2pd xmm0, xmm0
mov dword [ebp - 0x10], eax
mov eax, 0x80000000
xor eax, dword [edx]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
cvtps2pd xmm1, xmm1
mov eax, dword [eax]
mov dword [ebp + 0x24], eax
mov eax, 0x80000000
xor eax, dword [edx]
mulsd xmm1, xmm0
movss xmm0, dword [ebp - 0x10]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm4, xmm1
movss xmm1, dword [ebp + 0x28]
subss xmm4, dword [ebp - 0xc]
mulsd xmm0, xmm3
mov dword [ebp + 0x28], eax
cvtps2pd xmm1, xmm1
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax]
cvtpd2ps xmm0, xmm0
addss xmm4, xmm0
movss xmm0, dword [ebp - 0x14]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x10], xmm4
mulsd xmm1, xmm0
movss xmm0, dword [ebp + 0x24]
cvtps2pd xmm0, xmm0
mov dword [ebp + 0x24], eax
cvtpd2ps xmm2, xmm1
movss xmm1, dword [ebp + 0x28]
subss xmm2, dword [ebp - 0x18]
mulsd xmm0, xmm3
cvtps2pd xmm1, xmm1
cvtpd2ps xmm0, xmm0
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1c]
cvtps2pd xmm0, xmm0
movss dword [ebp - 0x18], xmm2
mulsd xmm1, xmm0
movss xmm0, dword [ebp + 0x24]
cvtps2pd xmm0, xmm0
cvtpd2ps xmm1, xmm1
mulsd xmm0, xmm3
subss xmm1, dword [ebp - 0x20]
cvtpd2ps xmm0, xmm0
addss xmm1, xmm0
movss dword [ebp + 0x28], xmm1
mov eax, dword [ebp - 0x10]
addss xmm2, xmm4
mov edx, dword [ebp + 0x30]
add esi, 4
mov dword [edi - 0x100], eax
add ecx, 4
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [ebp + 0x28]
addss xmm2, xmm1
mov dword [edi + 0x100], eax
add edi, 4
movss dword [ebp + 0x28], xmm2
mov eax, dword [ebp + 0x28]
mov dword [ebx + edx], eax
add ebx, 4
mov edx, dword [ebp + 0x20]
cmp ebx, 0x40
jb 0x10191fc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1019b5c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f2030
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x102289dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 0xc]
mov dword [esi], vtable.jxl::ExtraChannelInfo.0
push eax
mov dword [eax], vtable.jxl::BitDepth.0
call fcn.1018e1d0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
push esi
mov dword [ebp - 4], 0
call fcn.1018e1d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101e65a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x102289dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x80], esi
cmp byte [esi + 0x14], 0
je 0x101e66b9
cmp byte [esi + 0x78], 0
je 0x101e66b9
lea eax, [ebp - 0x7c]
push eax
lea eax, [esi + 0x7c]
push eax
call fcn.101e6850
add esp, 8
test al, al
je 0x101e66b9
xor ebx, ebx
lea edi, [ebp - 0x58]
add esi, 0x1c
cmp dword [esi - 4], 0
lea eax, [esi - 4]
jne 0x101e6625
lea eax, [ebp - 0x74]
push eax
push esi
call fcn.101e7420
add esp, 8
test al, al
je 0x101e6622
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x18]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [edi + 0x18], eax
jmp 0x101e663a
lea eax, [esi - 4]
lea ecx, [ebp - 0x84]
push ecx
push edi
push eax
call fcn.101e5d80
add esp, 0xc
test al, al
je 0x101e66b9
inc ebx
add esi, 0x20
add edi, 0x1c
cmp ebx, 3
jl 0x101e65f0
mov ecx, dword [ebp - 0x80]
movups xmm0, xmmword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
pop edi
movups xmmword [ecx + 0x1c], xmm0
pop esi
movq xmm0, qword [ebp - 0x48]
movq qword [ecx + 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x3c]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp - 0x24]
movups xmmword [ecx + 0x3c], xmm0
mov dword [ecx + 0x18], 0
movq xmm0, qword [ebp - 0x2c]
movq qword [ecx + 0x4c], xmm0
movups xmm0, xmmword [ebp - 0x20]
mov dword [ecx + 0x54], eax
mov eax, dword [ebp - 8]
movups xmmword [ecx + 0x5c], xmm0
mov dword [ecx + 0x38], 0
movq xmm0, qword [ebp - 0x10]
movq qword [ecx + 0x6c], xmm0
mov dword [ecx + 0x74], eax
mov al, 1
mov dword [ecx + 0x58], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101e8c02
mov esp, ebp
pop ebp
ret
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [0x403cdc], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov eax, dword [ebp + 4]
mov dword [0x403b2d], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401031
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403b2d]
mov dword [ebp - 0x48], eax
mov eax, 0x40168b
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403b2d]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.klavesn
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403d28], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403d28]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010ce
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010c0
mov esp, ebp
ret
Function at 0x402a10
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
xor eax, eax
xor esi, esi
push 0x40
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x70], esi
call fcn.00406eb0
add esp, 0xc
xor eax, eax
push esi
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push edx
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x402a74
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
push 1
xor ecx, ecx
push esi
mov word [ebp - 0x40], cx
mov ecx, dword [ebp + 8]
push esi
push ecx
push esi
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edx
call esi
mov eax, dword [ebp - 0x24]
push 0xffffffffffffffff
push eax
call esi
push edi
push 0
push ebx
call fcn.00406eb0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
add esp, 0xc
push 0
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
mov edx, dword [ebp - 4]
push edx
call esi
mov eax, dword [ebp - 8]
push eax
call esi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x402e72
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e228]
jne 0x402e7c
repz ret
jmp fcn.00403929
Function at 0x406acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e228]
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.00404c65
and dword [ebp - 0x14], 0
cmp dword [0x40f8e8], 0
mov dword [ebp - 0x18], eax
jne 0x406b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40f8e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40f8ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40f8f0], eax
call edi
push eax
call esi
mov dword [0x40f8f8], eax
test eax, eax
je 0x406b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40f8f4], eax
mov eax, dword [0x40f8f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406bd8
cmp dword [0x40f8f8], ecx
je 0x406bd8
push eax
call esi
push dword [0x40f8f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406bd8
test ebx, ebx
je 0x406bd8
call edi
test eax, eax
je 0x406bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406bcf
test byte [ebp - 8], 1
jne 0x406bd8
or dword [ebp + 0x10], 0x200000
jmp 0x406c0b
mov eax, dword [0x40f8ec]
cmp eax, dword [ebp - 0x18]
je 0x406c0b
push eax
call esi
test eax, eax
je 0x406c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406c0b
mov eax, dword [0x40f8f0]
cmp eax, dword [ebp - 0x18]
je 0x406c0b
push eax
call esi
test eax, eax
je 0x406c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40f8e8]
call esi
test eax, eax
je 0x406c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402e72
leave
ret
Function at 0x3000572b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x300283c8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x3000574e
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [ebp - 4], eax
jmp 0x30005799
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edi
mov ebx, eax
push edi
push 0xffffffffffffffff
push ebx
push edi
push edi
call esi
cmp eax, edi
jne 0x30005771
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
inc eax
mov dword [ebp - 8], eax
add eax, eax
push eax
lea eax, [ebp - 4]
push eax
call fcn.3001e1c4
test eax, eax
je 0x30005839
push dword [ebp - 8]
push dword [ebp - 4]
push 0xffffffffffffffff
push ebx
push edi
push edi
call esi
mov eax, dword [ebp - 4]
mov cx, word [eax]
push 2
pop edx
cmp cx, 0x22
push 0x20
pop esi
jne 0x300057c0
add eax, edx
mov cx, word [eax]
cmp cx, 0x22
je 0x300057bc
cmp cx, di
je 0x300057cc
add eax, edx
jmp 0x300057aa
add eax, edx
jmp 0x300057cc
cmp cx, si
jbe 0x300057cc
add eax, edx
cmp word [eax], si
ja 0x300057c5
mov cx, word [eax]
cmp cx, di
je 0x300057d9
cmp cx, si
jbe 0x300057bc
push eax
mov dword [0x300285d4], edi
call fcn.300076f0
cmp dword [ebp - 8], edi
mov ebx, eax
je 0x300057f4
push dword [ebp - 4]
call fcn.3001e2c6
mov eax, ebx
and eax, 0x60
jne 0x3000583f
push 8
pop eax
test al, bl
jne 0x3000583f
mov edx, 0x2ee
test edx, ebx
je 0x30005839
xor ecx, ecx
push 1
pop eax
shl eax, cl
test edx, eax
je 0x30005822
test ebx, eax
je 0x30005822
mov edi, ebx
sub edi, eax
test edx, edi
jne 0x30005839
inc ecx
cmp ecx, esi
jb 0x3000580d
test bl, 4
je 0x3000583d
mov ecx, ebx
mov eax, 0x100
and ecx, eax
cmp ecx, eax
je 0x3000583d
xor eax, eax
jmp 0x3000583f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x30005844
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x300285d4]
push esi
xor esi, esi
mov dword [0x30024c14], eax
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, esi
mov dword [0x30024c10], eax
je 0x300058a8
cmp dword [eax], 0x1c50
jne 0x300058a8
cmp dword [eax + 0x20], esi
je 0x300058a8
cmp dword [eax + 0x14], esi
je 0x300058a8
cmp dword [eax + 0x1c], esi
je 0x300058a8
cmp dword [0x300285e4], esi
jne 0x3000588a
cmp dword [eax + 0x24], esi
je 0x300058a8
mov eax, dword [eax + 0x28]
push 1
test al, 0x20
pop ecx
je 0x3000589a
mov dword [0x30028388], ecx
test al, 0x10
je 0x300058a4
mov dword [0x30028384], ecx
mov eax, ecx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x3000ab55
Capabilities:
Link many functions at runtime

Disassembly:
or dword [0x300283bc], 0xffffffff
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [0x30024674], ebx
mov dword [0x300283b0], ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x300283b8], eax
mov ecx, 0x5fc
xor eax, eax
mov edi, 0x30025918
push 0x30025944
rep stosd dword es:[edi], eax
mov dword [0x300285dc], ebx
mov dword [0x3002467c], ebx
call esi
call fcn.3000aa0f
mov ecx, 0x341
xor eax, eax
mov edi, 0x30024c10
rep stosd dword es:[edi], eax
mov ecx, 0x152
mov edi, 0x300246c8
rep stosd dword es:[edi], eax
mov eax, 0x30024618
push eax
mov dword [0x30024c08], eax
call esi
push 0x30024638
call esi
mov edx, 0x200
xor eax, eax
mov ecx, edx
mov edi, 0x30027b80
rep stosd dword es:[edi], eax
mov ecx, edx
mov edi, 0x30027380
rep stosd dword es:[edi], eax
push 0x300252c0
call fcn.3000c2c6
push 0x300252d0
call fcn.3000c2c6
push 0x300252e0
call fcn.3000c2c6
push 0x106
push 0x10
call fcn.3001df79
cmp eax, ebx
je 0x3000ac23
mov ecx, eax
call fcn.3000af08
jmp 0x3000ac25
xor eax, eax
cmp eax, ebx
mov dword [0x30024670], eax
je 0x3000ac3d
push 2
push 0x100
push 0x10
push eax
call fcn.30020e4d
push ebx
push 0x30028390
push ebx
push 0x30
call dword [sym.imp.USER32.DLL_SystemParametersInfoA]
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA_1]
push 0x3000aaa2
call edi
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress_1]
cmp eax, ebx
mov dword [0x3002466c], eax
je 0x3000acdb
push 0x3000aaae
push eax
call esi
push 0x3000aabe
mov dword [0x300285ec], eax
push dword [0x3002466c]
call esi
push 0x3000aaca
mov dword [0x300285f0], eax
push dword [0x3002466c]
call esi
push 0x3000aad6
mov dword [0x300285f4], eax
push dword [0x3002466c]
call esi
cmp dword [0x300285ec], ebx
mov dword [0x300285f8], eax
je 0x3000accd
cmp dword [0x300285f0], ebx
je 0x3000accd
cmp dword [0x300285f4], ebx
je 0x3000accd
cmp eax, ebx
jne 0x3000acdb
push dword [0x3002466c]
call ebp
mov dword [0x3002466c], ebx
push 0x3000aae2
call edi
cmp eax, ebx
mov dword [0x30024664], eax
je 0x3000ad0a
push 0x3000aaee
push eax
call esi
cmp eax, ebx
mov dword [0x30024668], eax
jne 0x3000ad0a
push dword [0x30024664]
call ebp
mov dword [0x30024664], ebx
push 0x3000aafe
call edi
cmp eax, ebx
mov dword [0x30024650], eax
je 0x3000ad87
push 0x3000ab0a
push eax
call esi
push 0x3000ab22
mov dword [0x30024660], eax
push dword [0x30024650]
call esi
push 0x3000ab36
mov dword [0x3002465c], eax
push dword [0x30024650]
call esi
push 0x3000ab46
mov dword [0x30024658], eax
push dword [0x30024650]
call esi
cmp dword [0x30024660], ebx
mov dword [0x30024654], eax
je 0x3000ad79
cmp dword [0x3002465c], ebx
je 0x3000ad79
cmp dword [0x30024658], ebx
je 0x3000ad79
cmp eax, ebx
jne 0x3000ad87
push dword [0x30024650]
call ebp
mov dword [0x30024650], ebx
pop edi
pop esi
pop ebp
pop ebx
ret