joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x406080
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42a77b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x40433c
call fcn.00406ce1
push 4
mov dword [esp + 0x18], 0
call fcn.00407ba2
mov edi, eax
add esp, 4
test edi, edi
je 0x4060f4
push ebx
call fcn.00406bb9
mov dword [edi], eax
call fcn.00406978
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.00406ca2
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4060e8
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00406cca
pop ebx
jmp 0x4060f6
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x408611
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ddc0]
jne 0x40861b
repz ret
jmp fcn.0040dd7c
Function at 0x429210
Capabilities:
Delete directory
Get common file path
Manipulate console buffer

Disassembly:
sub esp, 0xc0c
cmp dword [0x7b5108], 0x37
jne 0x4292b7
mov eax, dword [esp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov ecx, dword [esp]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemPowerState]
push 0
lea edx, [esp + 0x410]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0x404110
push 0
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
mov eax, dword [0x7b510c]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x7b4084]
mov byte [eax + esi], dl
add esp, 0xc0c
ret
Function at 0x4294b0
Capabilities:
Manipulate console buffer
Move file

Disassembly:
mov eax, dword [0x7b5108]
sub esp, 0x9bc
push ebx
push ebp
push esi
shr eax, 3
xor esi, esi
push edi
mov edi, dword [0x7b4084]
cmp eax, esi
jbe 0x429682
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
jmp 0x4294e6
mov edi, dword [esp + 0x18]
xor esi, esi
cmp dword [0x7b5108], 0x1c
jne 0x4294fd
lea eax, [esp + 0x38]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov ecx, dword [0x42e6f8]
mov edx, dword [str._P__]
mov eax, dword [0x42e700]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x42e704]
mov ebp, 0xc6ef3720
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0x20
jmp 0x42953a
xor esi, esi
mov eax, ebx
shl eax, 4
add eax, dword [esp + 0x30]
mov edx, ebx
shr edx, 5
add edx, dword [esp + 0x28]
lea ecx, [ebx + ebp]
xor eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [0x7b4088], esi
mov eax, dword [esp + 0x14]
add dword [0x7b4088], eax
mov edx, dword [0x7b4088]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
sub edi, dword [esp + 0x14]
mov eax, edi
shl eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x10], eax
cmp dword [0x7b5108], 0x1be
jne 0x4295ba
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov esi, edi
shr esi, 5
add esi, dword [esp + 0x34]
cmp dword [0x7b5108], 0x979
mov dword [0x7b4090], 0xff6b3619
mov dword [0x7b4094], 0xffffffff
jne 0x429607
push 0
call dword [sym.imp.KERNEL32.dll_FlushConsoleInputBuffer]
push 0
lea edx, [esp + 0x1cc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [edi + ebp]
xor esi, eax
mov eax, dword [esp + 0x10]
xor eax, esi
sub ebx, eax
add ebp, 0x61c88647
dec dword [esp + 0x1c]
mov dword [esp + 0x10], eax
jne 0x429538
cmp dword [0x7b5108], 0x8d4
jne 0x42963f
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov esi, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], edi
cmp dword [0x7b5108], 0x17
jne 0x429671
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
lea ecx, [esp + 0x88]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
add esi, 8
dec dword [esp + 0x20]
mov dword [esp + 0x18], esi
jne 0x4294e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9bc
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x32
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x61
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 3
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x4d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x21
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x7a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x23
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xe3
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa5
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xe2
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x1c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xa0
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xee
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x2d
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x401070
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push esi
push edi
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
je 0x4010bf
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x4010b3
mov ecx, dword [0x653f44]
push 0x653c78
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea edx, [esp + 8]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 8
ret

Function at 0x567373
Capabilities:
Encode data using xor

Disassembly:
adc byte es:[ebx + 0x1c], ah
cmpsb byte [esi], byte es:[edi]
mov esp, 0x5460dcd6
mov word cs:[ecx], gs
and byte [edx], bl
mov esp, 0x4c369fd6
call 0xcf76de86
and dword [esi + 0x55802600], edx
and dl, byte [esi + 0x631cab5d]
popal
out 0xfb, eax
sbb dh, byte [ebx + 7]
dec eax
mov bh, 0x69
push es
xor edi, ecx
wait
xchg esi, eax
inc eax
cmp eax, 0x1b5af20e
jle 0x567377
inc ecx
cld
wait
int1
mov edi, dword [ebp - 0x72]
or eax, 0x2f9dfaaa
sbb edx, dword [eax + 0x60bd377b]
push es
lodsd eax, dword [esi]
push es
cwde
cmp cl, ch
sbb ebp, dword [0xcd81114a]
xor eax, 0x52a4bad6
loopne 0x56740a
shr byte [edx + 0x44], 1
xlatb
mov ebp, 0x8582addb
fild dword [0xb906fce3]
xchg edi, eax
xchg edi, eax
cli
pop ecx
cld
push es
mov ecx, 0x59fa9797
lock and byte [esi + 0x7a], al
lcall 0x96e0, 0xbacf71d4
invalid
push esp
and ebp, dword [ecx + esi*2 + 0x3a]
or eax, 0xae323f1e
jecxz 0x5673e0
ret 0xca20

Function at 0x586714
Capabilities:
Encode data using xor

Disassembly:
xchg esi, eax
invalid
stosd dword es:[edi], eax
out 0x80, al
cmp dword [ebx - 0x74e72439], esp
push esp
xchg esp, eax
inc esp
or dh, byte [esi + 0x2f]
jle 0x5866cc
invalid
Function at 0x40e807
Capabilities:
Delete registry key

Disassembly:
push 0x1c
mov eax, 0x42a9d3
call fcn.00427592
test byte [0x4472e8], 1
mov esi, 0x4472d0
jne 0x40e83f
or dword [0x4472e8], 1
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x42d3cf
call fcn.00426c86
pop ecx
mov eax, esi
lea esi, [ebp - 0x18]
call fcn.0040b318
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [0x4470f8]
cmp ecx, edi
mov byte [0x447153], 0
mov dword [ebp - 0x10], edi
jle 0x40e912
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jl 0x40e9cb
cmp dword [ebp - 0x10], ecx
jge 0x40e9cb
mov ecx, dword [0x4470f4]
lea edi, [eax + ecx]
lea eax, [ebp - 0x28]
push eax
call fcn.00403c3d
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
sub eax, 3
je 0x40e8dc
dec eax
je 0x40e8d3
sub eax, 3
je 0x40e8ca
dec eax
je 0x40e8c1
sub eax, 9
je 0x40e8b8
sub eax, 7
jne 0x40e8ee
cmp dword [ebx + 0x1a4], eax
jmp 0x40e8e3
cmp dword [ebx + 0x1a0], 0
jmp 0x40e8e3
cmp dword [ebx + 0x1b4], 0
jmp 0x40e8e3
cmp dword [ebx + 0x1b0], 0
jmp 0x40e8e3
cmp dword [ebx + 0x1ac], 0
jmp 0x40e8e3
cmp dword [ebx + 0x1a8], 0
je 0x40e8ee
push dword [ebp - 0x1c]
push ebx
call fcn.00414038
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00416489
inc dword [ebp - 0x10]
mov ecx, dword [0x4470f8]
add dword [ebp - 0x14], 0x10
xor edi, edi
cmp dword [ebp - 0x10], ecx
jl 0x40e869
push dword [ebx + 0xeb0]
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 1
lea ecx, [ebx + 0x2a0]
call sub.mfc90u.dll_CWnd::EnableWindow
mov eax, dword [0x447144]
push edi
push 0xbfc
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x446e7c], edi
mov eax, dword [0x446e7c]
mov ecx, dword [sym.imp.K9PCUhelper.dll_bool_volatile_CSystweakApp::m_bIsSpcRunning]
test eax, eax
setg al
mov byte [ecx], al
mov ecx, 0x446fa0
call dword [sym.imp.K9PCUhelper.dll_public:_void___thiscall_CSystweakApp::ClearSpcExeNameArray_void_]
push ebx
call dword [sym.imp.K9PCUhelper.dll_public:_static_void___cdecl_CSystweakApp::CloseTranslucentPopWindow_class_CDialog__]
mov eax, dword [0x447144]
pop ecx
push edi
mov ecx, ebx
mov dword [eax + 0x33b8], edi
call sub.mfc90u.dll_CDialog::EndDialog
mov esi, dword [0x447144]
push 1
call fcn.0041b2ad
mov ecx, dword [0x447144]
add ecx, 0x1d18
call fcn.0040343d
mov eax, dword [0x447144]
push 1
push edi
push dword [eax + 0x1d38]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
inc eax
call fcn.00427631
ret
call sub.mfc90u.dll_AfxThrowInvalidArgException
int3
Function at 0x40ecfc
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe3c
mov eax, dword [0x445028]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xe28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.MSVCR90.dll__wsplitpath]
mov eax, dword [0x433ca8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x433cac]
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp - 0x20]
add esp, 0x14
mov word [ebp - 0x14], ax
push 0
lea eax, [ebp - 0xe38]
push eax
lea eax, [ebp - 0xe30]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0
push 0x64
push dword [ebp - 0xe2c]
push dword [ebp - 0xe30]
call fcn.00427780
push dword [ebp - 0xe34]
push dword [ebp - 0xe38]
push edx
push eax
call fcn.00427710
test edx, edx
ja 0x40edee
jb 0x40edd5
cmp eax, 8
jae 0x40edee
cmp dword [ebp - 0xe2c], 0
ja 0x40edee
cmp dword [ebp - 0xe30], 0x40000000
jae 0x40edee
xor al, al
jmp 0x40edf0
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00426b86
leave
ret
Function at 0x41dd17
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x428399
call fcn.00427592
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push 0xc16
push 0x111
mov byte [0x44714c], 1
mov dword [0x44718c], ebx
push dword [eax + 0x2570]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov byte [ebp - 4], 1
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.K9PCUhelper.dll_wchar_t_const____cdecl_GetAppPath_struct_HINSTANCE_____class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_STPathAppend_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call esi
pop ecx
pop ecx
push str.K9PCUNewScheduler.exe
lea ecx, [ebp - 0x14]
call dword [0x42e8c8]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 2
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push ebx
push ebx
push str._k9pcuservice
push dword [ebp + 8]
push 0x434458
push ebx
call dword [sym.imp.K9PCUhelper.dll_public:_static_struct_HINSTANCE______cdecl_CDlgBaseWnd::ShellExecuteW_struct_HWND_____wchar_t_const___wchar_t_const___wchar_t_const___wchar_t_const___int_]
add esp, 0x18
lea ecx, [ebp + 8]
mov byte [0x447158], bl
mov byte [0x44714c], 1
mov byte [0x44714a], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.00427631
ret 4
Function at 0x41e2fa
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x445028]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
push esi
lea eax, [ebp - 0x7c]
push edi
mov ecx, eax
xor edi, edi
xor esi, esi
mov ebx, 0x104
sub edx, ecx
lea ecx, [ebx + 0x7ffffefa]
test ecx, ecx
je 0x41e343
movzx ecx, word [edx + eax]
cmp cx, di
je 0x41e343
mov word [eax], cx
inc eax
inc eax
dec ebx
jne 0x41e328
cmp ebx, edi
jne 0x41e34e
dec eax
dec eax
mov esi, 0x8007007a
xor ecx, ecx
cmp esi, edi
mov word [eax], cx
jl 0x41e3d3
push str.OpenWithProgids
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x7fffbffb
add esi, 0x80004005
js 0x41e3d3
push edi
lea eax, [ebp - 0x80]
push eax
push edi
push 2
push edi
push edi
push edi
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ecx, ecx
cmp eax, ecx
mov ebx, 0xffff
mov edi, 0x80070000
jle 0x41e3a8
and eax, ebx
or eax, edi
mov esi, eax
cmp esi, ecx
jl 0x41e3d3
push ecx
push ecx
push ecx
push ecx
push 0x437778
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jle 0x41e3c8
and eax, ebx
or eax, edi
push dword [ebp - 0x80]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426b86
add ebp, 0x190
leave
ret