joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4495ca
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push str.Version
push eax
mov dword [ebp - 4], 2
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x78]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push str.MinVidMemory
push ecx
mov dword [ebp - 8], edx
call edi
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x7c]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0xc], edx
call edi
mov eax, dword [esi + 0x1c]
push 0x10
lea edx, [esi + 0x20]
push edx
push 3
push 0
push str.DisplayGUID
push eax
call edi
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
inc eax
cmp ecx, 0x10
jb 0x449590
mov ecx, dword [esi + 0x44]
jmp 0x449593
lea ecx, [esi + 0x44]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
push 1
push 0
push str.FailureReason
push ecx
call edi
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x74]
inc eax
cmp ecx, 0x10
jb 0x4495b5
mov ecx, dword [esi + 0x60]
jmp 0x4495b8
lea ecx, [esi + 0x60]
mov edx, dword [esi + 0x1c]
push eax
push ecx
push 1
push 0
push str.Warning
push edx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44ed70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.004c3900
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1c]
test eax, eax
mov byte [ebx + 0x82], 1
jne 0x44edab
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004c478a
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Version
mov edi, 4
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
je 0x44edf3
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004c478a
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 2
jne 0x44eddf
lea edx, [ebp - 8]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.MinVidMemory
push edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x44eddf
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebx + 0x78]
jne 0x44eddf
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.RecVidMemory
push ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
call esi
test eax, eax
jne 0x44eddf
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebx + 0x7c]
jne 0x44eddf
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.DisplayGUID
push eax
mov dword [ebp - 8], 0x10
mov dword [ebp - 0xc], 3
call esi
test eax, eax
jne 0x44eddf
cmp dword [ebp - 8], 0x10
jne 0x44eddf
mov ecx, edi
lea edi, [ebx + 0x20]
lea esi, [ebp - 0x28]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44eddf
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x1c]
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push str.FailureReason
mov edi, 1
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x1000
call esi
test eax, eax
jne 0x44eddf
lea ecx, [ebp - 0x1028]
push ecx
lea ecx, [ebx + 0x40]
call fcn.004028db
lea edx, [ebp - 8]
push edx
mov edx, dword [ebx + 0x1c]
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.Warning
push edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], 0x1000
call esi
test eax, eax
jne 0x44eddf
lea eax, [ebp - 0x1028]
push eax
lea ecx, [ebx + 0x5c]
call fcn.004028db
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
mov byte [ebx + 0x82], 0
mov al, 1
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret
Function at 0x4523d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da630
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call dword [ecx + 0x14]
push 0x4e3521
push eax
call fcn.0044f150
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push ebx
push 0x3f800000
push 0xff000000
push 1
push ebx
push ebx
push eax
call dword [edx + 0x28]
push str.Clear
push eax
call fcn.0044f150
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 1
push 0x1b
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_ALPHABLENDENABLE__TRUE
push eax
call fcn.0044f150
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 5
push 0x13
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_SRCBLEND__D3DBLEND_SRCALPHA
push eax
call fcn.0044f150
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 6
push 0x14
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_DESTBLEND__D3DBLEND_INVSRCALPHA
push eax
call fcn.0044f150
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 1
push 0x16
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_CULLMODE__D3DCULL_NONE
push eax
call fcn.0044f150
add esp, 8
push 0x40
push 0x40
lea ecx, [ebp - 0x2c]
call fcn.004494d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00438150
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004512a0
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov ecx, esi
call fcn.0044f2d0
lea ecx, [ebp - 0x2c]
call fcn.00442e50
push ebx
push ebx
push 0x3e
push 0x3e
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00438280
cmp eax, ebx
jne 0x452516
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Clip_problem_detected.
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edx, [eax + 1]
jmp 0x452530
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x452530
sub eax, edx
push eax
push str.Clip_problem_detected.
lea ecx, [ebp - 0x48]
call fcn.004025c3
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0044f130
mov bl, al
cmp dword [ebp - 0x30], 0x10
jb 0x45256d
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004c2b1b
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4628f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push 0
push 0
call dword [eax + 0xc4]
mov ecx, dword [esi + 0x318]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov byte [esi + 0x30c], 1
mov ecx, esi
pop esi
jmp dword [edx + 0x2c]

Function at 0x462920
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x30d]
test al, al
jne 0x462a08
mov al, byte [esi + 0x549]
test al, al
mov byte [esi + 0x30d], 1
je 0x462972
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x88]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xc4]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xc8]
mov al, byte [esi + 0x531]
test al, al
je 0x462992
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call edi
mov al, byte [esi + 0x531]
test al, al
jne 0x462983
pop edi
mov ecx, dword [esi + 0x344]
test ecx, ecx
je 0x4629a1
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x334]
call fcn.0041de30
mov ecx, dword [esi + 0x334]
call fcn.0042f7a0
test eax, eax
jne 0x4629c2
mov byte [esi + 0x338], 1
mov al, byte [esi + 0x30e]
test al, al
jne 0x4629e3
mov eax, dword [esi + 0x33c]
test eax, eax
je 0x4629e3
mov eax, dword [eax + 0x54]
test eax, eax
je 0x4629e3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [esi + 0x318]
test eax, eax
je 0x4629f6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esi + 0x3a0]
test al, al
je 0x462a08
mov edx, dword [esi]
mov ecx, esi
pop esi
jmp dword [edx + 0x4c]
pop esi
ret

Function at 0x462a10
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x503]
test al, al
jne 0x462a3f
mov edx, dword [esi + 0x4c0]
mov ecx, dword [esi + 0x2ec]
inc edx
mov dword [esi + 0x4c0], edx
call fcn.00416c30
test al, al
je 0x462a3f
inc dword [esi + 0x514]
mov ecx, dword [esi + 0x344]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esi + 0xe0]
pop esi
jmp fcn.00434a70
Function at 0x464780
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x318]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46486c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
push edi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp + 8], ecx
jb 0x4647c6
mov ecx, dword [ecx]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4647c8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 1
call ebx
push edi
push 7
call ebx
push edi
push 0x10
call ebx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
cmp ecx, 0x10
mov ecx, dword [ebp + 8]
jb 0x4647fe
mov ecx, dword [ecx]
push 0
push 0
push eax
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cmp edx, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
jb 0x46483c
mov edx, dword [edx]
push edi
push eax
push ecx
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 4]
push ebx
mov word [eax + edi*2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466a80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x530]
test al, al
push edi
je 0x466a9b
mov eax, dword [esi]
call dword [eax + 0x8c]
mov al, byte [esi + 0x549]
test al, al
je 0x466b90
mov ecx, dword [esi + 0x4c0]
cmp ecx, dword [esi + 0x4d4]
jl 0x466ac5
mov al, byte [esi + 0x4d8]
test al, al
je 0x466b68
mov al, byte [esi + 0x498]
test al, al
jne 0x466ae2
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esi + 0x498], 1
call dword [edx + 0xcc]
test byte [0x54d830], 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x466b00
or dword [0x54d830], 1
call ebx
mov dword [0x54d82c], eax
nop
mov eax, dword [esi + 0x4c0]
cmp eax, dword [esi + 0x4d4]
jl 0x466b18
mov al, byte [esi + 0x4d8]
test al, al
je 0x466b68
push 0
mov ecx, esi
call fcn.00462680
mov edx, dword [esi]
mov edi, dword [esi + 0x4c0]
mov ecx, esi
call dword [edx + 0x24]
mov ecx, esi
call fcn.004669e0
cmp edi, dword [esi + 0x4c0]
je 0x466cbb
call ebx
sub eax, dword [0x54d82c]
cmp eax, 0x3e8
jb 0x466b00
call ebx
mov dword [0x54d82c], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x114]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x498]
test al, al
je 0x466b90
mov ecx, dword [esi + 0x4e8]
mov byte [esi + 0x498], 0
mov eax, dword [ecx]
call dword [eax + 0x34]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0xd0]
mov al, byte [esi + 0x4d0]
test al, al
jne 0x466cb4
fld qword [esi + 0x4c8]
fcomp qword [0x4e3730]
fnstsw ax
test ah, 0x41
jne 0x466cb4
fild dword [esi + 0x4ac]
fdiv qword [esi + 0x4c8]
call fcn.004c331c
mov edi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [esi + 0x4b0]
mov ebx, eax
sub eax, ecx
mov ecx, dword [esi + 0x5c]
xor edx, edx
cmp ecx, edx
mov dword [ebp - 4], edx
je 0x466bee
dec ecx
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x4b0], ebx
cmp eax, edi
jl 0x466c71
mov ecx, dword [esi + 0x4a8]
inc ecx
mov eax, ecx
cmp eax, 0xa
mov dword [esi + 0x4a8], ecx
jl 0x466c14
mov al, byte [esi + 0x52e]
test al, al
jne 0x466c71
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov ecx, esi
call fcn.004669e0
mov eax, dword [esi + 0x4b0]
add eax, edi
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x3e8
mov dword [esi + 0x4b0], eax
jle 0x466c48
lea edx, [ebx - 0x3e8]
mov dword [esi + 0x4b0], edx
mov edi, dword [ebp - 4]
mov al, byte [esi + 0x52f]
test al, al
je 0x466cb4
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, edi
sub eax, ebx
add eax, eax
sub eax, edi
cmp eax, 0xfa
jle 0x466ca9
mov eax, 0xfa
jmp 0x466cad
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x4a8], edx
call dword [eax + 0x114]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esi + 0x4b0]
cmp eax, edi
jge 0x466c48
mov edx, dword [esi + 0x4b8]
sub edi, eax
inc edx
push edi
mov dword [esi + 0x4b8], edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x466c4b
test eax, eax
jl 0x466cb4
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.004669e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466cd0
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 4], eax
mov al, byte [esi + 0x30d]
test al, al
jne 0x466f10
push ebx
push edi
call fcn.00463350
mov ecx, esi
call fcn.00463240
mov eax, dword [esi + 0x318]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x318]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
call ebx
mov edx, dword [esi]
mov edi, eax
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x501], 1
mov dword [esi + 0x4b0], edi
mov dword [esi + 0x4b4], edi
mov dword [esi + 0x418], edi
call dword [edx + 0x58]
mov ecx, esi
call fcn.004669e0
mov ecx, esi
mov byte [esi + 0x501], 0
call fcn.004627a0
call ebx
sub eax, edi
test eax, eax
mov dword [ebp - 8], eax
fild dword [ebp - 8]
jge 0x466d7c
fadd qword [0x4e5e88]
fmul qword [0x4e5990]
sub esp, 8
lea eax, [ebp - 0x108]
fstp qword [esp]
push str.Seconds_________g_r_n
push eax
call fcn.004c3391
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x10
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x4b8]
push edx
lea eax, [ebp - 0x108]
push str.Sleep_Count_____d_r_n
push eax
call fcn.004c3391
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x4c0]
push edx
lea eax, [ebp - 0x108]
push str.Update_Count____d_r_n
push eax
call fcn.004c3391
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x4bc]
push edx
lea eax, [ebp - 0x108]
push str.Draw_Count______d_r_n
push eax
call fcn.004c3391
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x508]
push edx
lea eax, [ebp - 0x108]
push str.Draw_Time_______d_r_n
push eax
call fcn.004c3391
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x528]
push edx
lea eax, [ebp - 0x108]
push str.Screen_Blt______d_r_n
push eax
call fcn.004c3391
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
call edi
mov edx, dword [esi + 0x528]
mov eax, dword [esi + 0x508]
lea ecx, [edx + eax]
test ecx, ecx
jle 0x466e9f
mov eax, dword [esi + 0x4bc]
imul eax, eax, 0x3e8
cdq
idiv ecx
lea ecx, [ebp - 0x108]
push eax
push str.Avg_FPS_________d_r_n
push ecx
call fcn.004c3391
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
call edi
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
mov al, byte [esi + 0x2e9]
test al, al
pop edi
pop ebx
jne 0x466f09
mov al, byte [esi + 0x478]
test al, al
je 0x466ed0
mov ecx, dword [esi + 0xe0]
push 1
push 1
call fcn.004206c0
test al, al
je 0x466ee3
call fcn.0041eb10
and eax, 0x80000001
jns 0x466ee1
dec eax
or eax, 0xfffffffe
inc eax
je 0x466efe
mov al, byte [esi + 0x478]
test al, al
je 0x466f09
call fcn.0041eb10
cdq
mov ecx, 0xa
idiv ecx
test edx, edx
jne 0x466f09
mov ecx, dword [esi + 0xe0]
call fcn.00420720
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x4c]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
call fcn.004c478a
mov esp, ebp
pop ebp
ret
Function at 0x4697b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov al, byte [esi + 0x3f4]
test al, al
push edi
mov edi, dword [ebp + 8]
je 0x4697fc
cmp dword [esi + 0x410], 0x10
mov ecx, dword [esi + 0x40c]
jb 0x4697db
mov eax, dword [esi + 0x3fc]
jmp 0x4697e1
lea eax, [esi + 0x3fc]
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.00416610
test eax, eax
jne 0x4697fc
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov cl, byte [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov byte [esi + 0x3f5], cl
push edi
lea ecx, [esi + 0x3f8]
mov byte [esi + 0x3f4], 1
call fcn.004024d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x414], eax
cmp dword [edi + 0x18], 0x10
jb 0x469833
mov eax, dword [edi + 4]
jmp 0x469836
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x4697f4
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x68]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x46a620
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x46a7f2
add ecx, 0x40
push ecx
lea eax, [ebp - 0x6c]
push str.SOFTWARE_
push eax
call fcn.00411879
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 4], ebx
call fcn.004281e0
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x46a688
mov edx, dword [ebp - 0x68]
push edx
call fcn.004c2b1b
add esp, 4
push esi
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov edi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00416570
mov esi, eax
cmp esi, 0xffffffff
je 0x46a769
push esi
push ebx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
call fcn.004028e0
push eax
lea edx, [ebp - 0x6c]
push 0x4e564c
push edx
mov byte [ebp - 4], 4
call fcn.00411879
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00409fcc
cmp dword [ebp - 0x54], 0x10
jb 0x46a704
mov eax, dword [ebp - 0x68]
push eax
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 3
jb 0x46a72a
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004c2b1b
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.004028e0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004024d0
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x46a77a
mov eax, dword [ebp - 0x84]
push eax
call fcn.004c2b1b
add esp, 4
jmp 0x46a77a
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.004024d0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x46a785
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46a7bf
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x46a7aa
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], esi
jb 0x46a7d0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
mov eax, dword [ebp - 0x38]
pop edi
cmp eax, esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
pop esi
jb 0x46a7f2
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004c2b1b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret 4
Function at 0x46d9f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db0a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [ecx + 0x318]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x46da81
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x46da7b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x46da7b
mov ecx, eax
push edi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x46da60
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.004025c3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004024d0
cmp dword [ebp - 0x18], 0x10
jb 0x46dab1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004c2b1b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
pop ebx
call fcn.004c478a
mov esp, ebp
pop ebp
ret 4