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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4825f1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4825ea
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x482603
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4825fc
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004821cc
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x48261d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.004822dc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4826a2
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4826bf
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0048225c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4826e8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x482700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x482719
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x482712
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x48272d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004820c4
test bl, bl
jne 0x482800
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x489c30
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x482764
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x482778
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004825d8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4827aa
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x482759
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4827cd
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4827de
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4827f2
jmp 0x4828bb
cmp bl, 1
jne 0x4828bb
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x489c8a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x482820
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x482834
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004825d8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x482866
sub ebx, 6
inc dword [ebp - 8]
jne 0x482815
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x48288d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x48289e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4828b2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00482148
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x482c5c
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov eax, ebx
call fcn.00403f80
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x482ca4
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.004041f0
lea eax, [esp + 4]
call fcn.00408518
mov edx, eax
mov eax, ebx
call fcn.004045cc
add esp, 0x104
pop ebx
ret

Function at 0x482de8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404430
xor eax, eax
push ebp
push 0x482e89
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404240
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004045cc
mov eax, dword [ebp - 4]
call fcn.00404240
test al, al
jbe 0x482e73
mov byte [ebp - 9], al
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.00404498
mov edi, ebx
and edi, 0xff
mov edx, dword [ebp - 4]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [ebp - 8]
mov eax, dword [eax]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec byte [ebp - 9]
jne 0x482e32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482e90
lea eax, [ebp - 4]
call fcn.00403f80
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x349b3298
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x854063
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403b20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1e54
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [0x4f8c1c]
test edi, edi
jne 0x403b71
push 0x7c
call fcn.0048784a
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.00467440
mov edi, eax
mov dword [0x4f8c1c], edi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 0x30]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x403bbd
mov eax, dword [ebx + 0x124]
test eax, eax
je 0x403ba3
push eax
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [ebx + 0x124], edi
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x64
push 0x3ea
push dword [ebx + 0x38]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [ebx + 0x124], 0x3ea
call fcn.0048fc94
mov dword [ebx + 0x128], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404340
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404399
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404399
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404388
cmp esi, edx
jae 0x404399
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404376
cmp esi, edx
jae 0x404399
cmp word [esi], 0
je 0x404399
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x40a340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b261a
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
push 0x4c8cd8
push str.start
push str.uninstall
mov dword [0x4e87e8], 1
call fcn.0046b440
add esp, 0xc
cmp dword [0x4e8778], 0
jne 0x40a3d9
push 0x130
call fcn.0048784a
mov esi, eax
add esp, 4
mov dword [ebp - 0x144], esi
push 0x130
push 0
push esi
mov dword [ebp - 4], 0
call fcn.00489ec0
add esp, 0xc
mov ecx, esi
call fcn.00403360
mov dword [ebp - 4], 0xffffffff
mov dword [0x4e8778], eax
call fcn.00403890
push 0x118
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00489ec0
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
push str.RtlGetVersion
push str.NtDll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a437
lea ecx, [ebp - 0x134]
push ecx
call eax
test eax, eax
je 0x40a437
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40a450
cmp dword [ebp - 0x130], 0xa
jb 0x40a450
cmp byte [ebp - 0x1a], 1
mov dword [ebp - 0x144], 0
je 0x40a45a
mov dword [ebp - 0x144], 1
lea esi, [edi + 0x1c]
mov ecx, 1
xor ebx, ebx
mov dword [ebp - 0x140], ecx
nop word [eax + eax]
test ecx, ecx
je 0x40a49a
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x40a49a
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 8]
inc ebx
test eax, eax
jne 0x40a474
mov dword [ebp - 0x140], eax
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp - 0x140]
cmp eax, 0xffffffff
je 0x40a470
test eax, eax
je 0x40a51d
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 4]
test eax, eax
jne 0x40a502
cmp dword [ebp - 0x144], eax
je 0x40a4f4
cmp dword [edi + 0x20], 0x20a
jne 0x40a4f4
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esi], eax
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x140]
test eax, eax
je 0x40a470
jmp 0x40a45d
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret
Function at 0x40d360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2828
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00489ec0
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x40d419
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x40d419
call fcn.0040b9f0
mov edi, eax
jmp 0x40d535
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40d43c
call fcn.0040b9f0
jmp 0x40d528
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x40d45a
call fcn.0040b9f0
jmp 0x40d528
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x40d47b
mov edi, 0x8007000e
jmp 0x40d52a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x40d56e
jb 0x40d499
cmp eax, 0xffffffff
ja 0x40d56e
cmp eax, 0x400
jbe 0x40d4ae
push eax
lea ecx, [ebp - 0x424]
call fcn.0040b9c0
jmp 0x40d4d4
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x40d4d4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x40d4eb
mov edi, 0x8007000e
jmp 0x40d52a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x40d50b
call fcn.0040b9f0
jmp 0x40d528
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.0040d200
mov edi, eax
test esi, esi
je 0x40d535
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x40d54e
lea ecx, [ebp - 0x424]
call fcn.0040b9a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048782e
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00404860
int3
Function at 0x40ee50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xf0], 0
je 0x40eeb4
mov eax, dword [esi + 0xec]
test eax, eax
je 0x40eeb4
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40eeb4
mov eax, dword [esi + 0xec]
push ebx
push edi
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
mov ecx, edi
call dword [eax + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
test eax, eax
je 0x40eeb2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop ebx
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x40eece
mov dword [esi + 0xec], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x40eeeb
mov dword [esi + 0x68], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x40eeff
mov dword [esi + 0x6c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x40ef13
mov dword [esi + 0x70], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40ef36
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x40ef36
mov dword [esi + 0x64], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x410470
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e4018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], eax
push edi
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x410497
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xf0], 0
je 0x4105e3
mov eax, dword [esi + 0xec]
test eax, eax
je 0x4105e3
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4105e3
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4105d2
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4105d2
mov eax, dword [esi + 0xec]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x41052e
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x41052e
push 0x64
push ecx
push 5
call edi
mov ecx, eax
mov eax, dword [esi + 0x30]
jmp 0x410533
mov ecx, 5
sub dword [ebp - 0x14], ecx
cmp byte [eax + 4], 0
je 0x410551
mov ecx, dword [eax]
cmp ecx, 0x64
je 0x410551
push 0x64
push ecx
push 3
call edi
mov edx, eax
mov eax, dword [esi + 0x30]
jmp 0x410556
mov edx, 3
mov ecx, dword [ebp - 0x10]
sub ecx, edx
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x41057c
mov edx, dword [eax]
cmp edx, 0x64
je 0x41057c
push 0x64
push edx
push 5
call edi
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [esi + 0x30]
jmp 0x410581
mov ebx, 5
mov edx, dword [ebp - 0xc]
add edx, ebx
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x4105a7
mov eax, dword [eax]
cmp eax, 0x64
je 0x4105a7
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x4105ac
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x4105e3
mov eax, dword [esi + 0xec]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0048782e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d650
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b33bb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4e4018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x41d790
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00404a90
mov ecx, eax
test ecx, ecx
je 0x41d79a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
push 0x1c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048784a
xorps xmm0, xmm0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x4f95bc]
cmp eax, dword [ecx + 4]
jle 0x41d768
push 0x4f95bc
call fcn.004879bb
add esp, 4
cmp dword [0x4f95bc], 0xffffffff
jne 0x41d768
push 0x4bb3e0
mov dword [0x4f95c0], 0x64
mov byte [0x4f95c4], 0
call fcn.00487cf0
push 0x4f95bc
call fcn.00487971
add esp, 8
mov dword [edi + 0x30], 0x4f95c0
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x41e020
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404860
push 0x80004005
call fcn.00404860
int3
Function at 0x420e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x138]
sub ecx, dword [esi + 0x134]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x420f76
xor edi, edi
nop dword [eax + eax]
push dword [esp + 0x14]
mov eax, dword [esi + 0x134]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x420f3b
mov eax, dword [esi + 0x134]
cmp dword [eax + edi + 0x20], 0
je 0x420f3b
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x134]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x138]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x134]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x420f6e
mov ebx, dword [esp + 0x10]
jmp 0x420ef0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x420f83
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10