joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4445c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ab7f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x4445f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x44470c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44460d
mov eax, 0xffffffc7
jmp 0x44470e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44461e
cmp dword [esi + 8], eax
jne 0x44460d
cmp dword [esi + 8], eax
jne 0x444637
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x444637
mov eax, 0xffffffc7
jmp 0x44470e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44464b
push eax
mov ecx, ebx
call fcn.00443df0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00417200
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44467c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00417220
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00443560
test eax, eax
mov dword [esp + 0x38], eax
je 0x4446af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x568a18
call fcn.00417400
mov eax, dword [esp + 0x38]
jmp 0x44470e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00444420
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4446f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00444440
mov esi, eax
test esi, esi
jne 0x444723
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00444420
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4446c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x568a18
call fcn.00417400
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x568a18
call fcn.00417400
mov eax, esi
jmp 0x44470e

Function at 0x4490c0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x449120
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x449120
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x449120
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x449120
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x449160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4541b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac0e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004a4df4
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00453b10
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004a4d22
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a15e6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a15e6
push 1
push 0
push 0
mov ecx, esi
call fcn.004a158e
push 1
push 0
push 1
mov ecx, esi
call fcn.004a158e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a4e66
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x454330
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004a4df4
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00453b10
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004a4d22
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4543f4
cmp dword [esp + 0x40], 1
jne 0x4543f2
cmp ecx, eax
jge 0x4543f4
mov eax, ecx
cmp eax, 0xc8
jge 0x454400
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004541b0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a4e66
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x454c00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac1b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049fa07
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a509c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a65b8
test eax, eax
je 0x454d1c
mov ecx, dword [esp + 0x3c]
call fcn.004a50c9
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x454ce0
push edi
mov ecx, esi
call fcn.004a2734
mov ecx, esi
call fcn.00454ec0
cmp dword [esp + 0x38], 1
jne 0x454d15
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a286f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x456f00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x456f33
push esi
call fcn.004650f0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x456f2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x456fb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x456fa2
mov eax, dword [esi + 8]
test eax, eax
je 0x456f57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x456f9e
cmp eax, 2
je 0x456fa2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x456f4a
cmp eax, 3
je 0x456f7d
cmp eax, 1
jne 0x456f4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x456f4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x456f4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00456fe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456fc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00456fe0
add esp, 4
pop esi
ret

Function at 0x457850
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x457871
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x457871
mov eax, dword [eax + 0x44]
test eax, eax
je 0x457871
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x478b80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a90ec]
xor edx, edx
cmp eax, edx
jne 0x478ba6
xor eax, eax
mov byte [eax + 0x5a8fec], al
inc eax
cmp eax, 0x100
jl 0x478b8e
mov dword [0x5a90ec], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a8fec
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x478c37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x478c0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x478bd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x478cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x478d03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x478cea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47f680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac69e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0047ffa0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x56d2a4
call fcn.0049e196
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47f713
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049e196
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47f70c
push 0
mov ecx, eax
call fcn.004767b0
mov dword [esi + 0xc], eax
jmp 0x47f715
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47f715
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a07fc
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a0834
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049e8b0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049e888
jmp 0x4a0840
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a1eee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a1f30
call fcn.004a79a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a1f30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a1f27
xor eax, eax
jmp 0x4a1f38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a1f3e
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a7ed3
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a7f01
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a7f1f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a7e39
jmp 0x4a7f1f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a7f1f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a7e39
test edi, edi
mov eax, edi
jne 0x4a7f09
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x404272
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push edx
push ecx
push edi
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0xc], 0
jne 0x40428d
jmp 0x4043ba
mov eax, 0x6c
sub eax, 0x58
mov dword [ebp - 8], eax
mov eax, 0x58
mul dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
add eax, dword [ebp - 8]
push 0x40
push 0x1000
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
or eax, eax
je 0x4043ba
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
pop dword [eax + 0x10]
push 0x10
push dword [ebp + 0x10]
lea eax, [eax]
push eax
call fcn.00428990
mov eax, dword [ebp - 4]
lea edi, [eax + 0x14]
push dword [ebp - 0xc]
push dword [ebp + 0x14]
push edi
call fcn.00428990
push ebx
push 0
push dword [ebp - 4]
push dword [ebp + 8]
push 0
push 0x58
push 0
push dword [0x43b044]
call sub.KERNEL32.dll_HeapAlloc
or eax, eax
jne 0x404390
pushfd
pushal
sub esp, 0x6c
wait
fnsave dword [esp]
cld
mov eax, esp
and esp, 0xfffffffc
push eax
mov eax, dword [eax + 0x88]
push 0x43b054
call sub.KERNEL32.dll_EnterCriticalSection
push str.DBPLUGIN
push 0
push 0xff
push 0x436bd1
call fcn.0042929b
test dword [0x43b050], 1
je 0x404365
push str.DBPLUGIN
push 0
push 0x808080
push str.__BookObj.inc__365_
call fcn.0042929b
push str.DBPLUGIN
push 0x80
push 0
push 0x436574
call fcn.0042929b
push 0x43b054
call sub.KERNEL32.dll_LeaveCriticalSection
pop esp
frstor dword [esp]
add esp, 0x6c
popal
popfd
xor eax, eax
push eax
mov ebx, eax
push 0x58
push 0x447438
push eax
call fcn.00428990
mov edx, dword [eax]
call dword [edx - 0xc]
mov eax, ebx
pop ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4043ba
mov edx, dword [ebp - 0x10]
push edx
mov edx, dword [edx]
call dword [edx - 0x44]
mov eax, dword [ebp - 0x10]
pop edi
pop ecx
pop edx
leave
ret 0x14
Function at 0x406ca4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push dword [0x44b734]
call sub.USER32.dll_GetDC
mov dword [ebp - 0x14], eax
push dword [0x44b73c]
push dword [ebp - 0x14]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x1c], eax
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrlenA
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp - 0x14]
call sub.GDI32.dll_GetTextExtentPoint32A
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call sub.GDI32.dll_SelectObject
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
push dword [ebp - 8]
pop dword [ebp - 0x24]
push dword [ebp - 4]
pop dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
call sub.USER32.dll_GetCursorPos
push dword [ebp + 8]
push 0xffffffffffffffeb
push dword [0x44b734]
call sub.USER32.dll_SetWindowLongA
add dword [ebp - 0x10], 8
add dword [ebp - 0xc], 8
add dword [ebp - 8], 2
add dword [ebp - 4], 2
push 1
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [0x44b734]
call sub.USER32.dll_MoveWindow
push 4
push dword [0x44b734]
call sub.USER32.dll_ShowWindow
push 0
push 0
push dword [0x44b734]
call sub.USER32.dll_InvalidateRect
push dword [0x44b734]
call sub.USER32.dll_UpdateWindow
push dword [ebp - 0x14]
push dword [0x44b734]
call sub.USER32.dll_ReleaseDC
leave
ret 4
Function at 0x4090ae
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.dll_RtlZeroMemory
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.KERNEL32.dll_GetVersionExA
mov eax, dword [ebp - 0x90]
cmp eax, 6
jb 0x4090f3
push 0xc8
call sub.KERNEL32.dll_Sleep
leave
ret

Function at 0x40912d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ecx
push edx
mov dword [0x44d603], 0x94
push 0x44d603
call sub.KERNEL32.dll_GetVersionExA
cmp dword [0x44d607], 5
jbe 0x40919a
push str.dwmapi.dll
call sub.KERNEL32.dll_LoadLibraryA
or eax, eax
je 0x40919a
mov dword [0x43d167], eax
push str.DwmIsCompositionEnabled
push dword [0x43d167]
call sub.KERNEL32.dll_GetProcAddress
or eax, eax
je 0x409181
mov dword [0x43d16b], eax
push str.DwmEnableComposition
push dword [0x43d167]
call sub.KERNEL32.dll_GetProcAddress
or eax, eax
je 0x40919a
mov dword [0x43d16f], eax
cmp dword [0x43d16b], 0
je 0x4091cc
lea eax, [ebp - 4]
push eax
call dword [0x43d16b]
and dword [ebp - 4], 0xff
push dword [ebp - 4]
pop dword [0x43d173]
cmp dword [ebp - 4], 1
jne 0x4091cc
cmp dword [0x43d16f], 0
je 0x4091cc
cmp dword [0x43d173], 0
je 0x40921b
push str.dnaml_reader
push 0x8023
push 0x43d177
call fcn.0040bc76
or eax, eax
je 0x40921b
push 0x43d177
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.dll_lstrcpyA
push str.Cursors
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.dll_lstrcatA
lea eax, [ebp - 0x108]
push eax
call fcn.0042a040
mov ecx, 4
lea edx, [0x44b7f4]
mov eax, 0x4e20
push ecx
sub ecx, 4
neg ecx
shl eax, cl
mov dword [edx + ecx*4], eax
pop ecx
loop 0x409226
mov eax, 4
shl eax, 2
add edx, eax
mov ecx, 9
mov eax, 0x3d090
push ecx
sub ecx, 9
neg ecx
shl eax, cl
mov dword [edx + ecx*4], eax
pop ecx
loop 0x409248
mov dword [0x44b624], 1
mov dword [0x44b628], 1
mov dword [0x44b62c], 1
mov dword [0x44d697], 1
pop edx
pop ecx
leave
ret

Function at 0x40ac31
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push 0
push 0x80
push 3
push 0
push 1
push connect
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x40ac82
push 0
push eax
call sub.KERNEL32.dll_GetFileSize
cmp eax, 0xffffffff
je 0x40ac7a
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 4], 1
push dword [ebp - 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
pop ebx
leave
ret 8

Function at 0x40b2dd
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push esi
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_RtlZeroMemory
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.dll_GetTempPathA
test eax, eax
je 0x40b33f
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call fcn.0040b344
push eax
cmp dword [ebp + 8], 0
je 0x40b33e
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0042b270
pop eax
pop esi
leave
ret 0x14
Function at 0x40b344
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push esi
push dword [ebp + 8]
call fcn.0042a040
test eax, eax
je 0x40b40f
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 8]
call sub.KERNEL32.dll_GetTempFileNameA
test eax, eax
je 0x40b40f
cmp dword [ebp + 0x18], 0
je 0x40b3b1
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_DeleteFileA
lea esi, [ebp - 0x104]
lodsb al, byte [esi]
cmp al, 0
je 0x40b3a2
cmp al, 0x2e
jne 0x40b392
dec esi
mov byte [esi], 0
inc esi
jmp 0x40b392
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
cmp dword [ebp + 8], 0
je 0x40b3c9
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call fcn.0042b270
cmp dword [ebp + 0x14], 1
jne 0x40b3d6
mov eax, 0x100
jmp 0x40b3f5
cmp dword [ebp + 0x14], 2
jne 0x40b3e3
mov eax, 0x4000000
jmp 0x40b3f5
cmp dword [ebp + 0x14], 3
jne 0x40b3f0
mov eax, 0x4000100
jmp 0x40b3f5
mov eax, 0x80
push 0
push eax
push 2
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_CreateFileA
pop esi
leave
ret 0x14

Function at 0x40b7c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0
push 0x80
push 3
push 0
push 1
push connect
push dword [ebp + 8]
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x40b83b
push 0
push 0
push dword [ebp + 0xc]
push eax
call sub.KERNEL32.dll_SetFilePointer
cmp eax, 0xffffffff
je 0x40b833
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
call sub.KERNEL32.dll_ReadFile
or eax, eax
je 0x40b833
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
je 0x40b833
mov eax, dword [ebp + 0x18]
push dword [ebp - 0xc]
pop dword [eax]
push dword [ebp - 8]
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 4]
leave
ret 0x14

Function at 0x40bb06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov dword [ebp - 4], 0
cmp dword [0x43d173], 0
je 0x40bb32
push 0x43d177
call sub.KERNEL32.dll_lstrlenA
cmp eax, 0
jbe 0x40bb32
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 1
jne 0x40bb47
push 0x43d177
push dword [ebp + 8]
call sub.KERNEL32.dll_lstrcpyA
jmp 0x40bb52
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.KERNEL32.dll_GetWindowsDirectoryA
leave
ret 8