joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401460
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 0x2c
mov eax, dword [0x413040]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
push ebx
mov ebx, ecx
cmp dword [ebx + 0xc], 0
mov ecx, dword [esp + 0x3c]
push ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
jne 0x4014a1
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00403136
add esp, 0x2c
ret 0xc
push esi
push edi
mov ecx, 7
mov esi, str.._rootcimv2
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebx + 8]
push edi
push 0x40f580
push 1
push 0
push 0x40f650
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x401519
mov eax, dword [ebx + 4]
test eax, eax
lea esi, [ebx + 4]
je 0x4014e3
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x401519
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebp
mov ecx, ebx
call fcn.00401340
mov esi, eax
jmp 0x40151b
xor esi, esi
mov eax, dword [ebx + 4]
test eax, eax
je 0x401531
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebx + 4], 0
mov eax, dword [edi]
test eax, eax
je 0x401545
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], 0
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00403136
add esp, 0x2c
ret 0xc

Function at 0x401630
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, 1
push edi
xor edi, edi
mov dword [esp + 0x14], eax
lea ebp, [ebx + 0x61]
jmp 0x401654
mov eax, dword [esp + 0x14]
cmp bp, 0xa
je 0x4016b4
cmp eax, ebx
je 0x4016b4
mov edx, dword [esp + 0x20]
push ebx
lea eax, [esp + 0x18]
push eax
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4016a2
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
push 2
lea ecx, [esp + 0x24]
push esi
push ecx
mov byte [esp + 0x25], bl
add edi, 1
mov dword [esp + 0x2c], ebx
call fcn.00403542
movzx ebp, word [esi]
add esp, 0x14
add esi, 2
cmp edi, 0x104
jl 0x401650
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
cmp edi, 0x104
jge 0x4016aa
cmp eax, ebx
je 0x4016aa
pop edi
mov word [esi - 2], bx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x403136
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x413040]
jne 0x403140
repz ret
jmp fcn.00404ed6

Function at 0x4064f1
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4137f8]
je 0x40650c
inc edi
cmp edi, 0x17
jb 0x4064fd
cmp edi, 0x17
jae 0x40668c
push ebp
push 3
call fcn.0040a630
cmp eax, 1
pop ecx
je 0x406658
push 3
call fcn.0040a630
test eax, eax
pop ecx
jne 0x406540
cmp dword [0x413050], 1
je 0x406658
cmp ebx, 0xfc
je 0x40668b
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x42ddb8
push ebp
call fcn.00402d3a
add esp, 0xc
test eax, eax
je 0x406576
push esi
push esi
push esi
push esi
push esi
call fcn.00403da2
add esp, 0x14
push 0x104
mov esi, 0x42ddd1
push esi
push 0
mov byte [0x42ded5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4065ba
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00402d3a
add esp, 0xc
test eax, eax
je 0x4065ba
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00403da2
add esp, 0x14
push esi
call fcn.00405140
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4065ff
push esi
call fcn.00405140
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42e0cc
push 0x40fdac
sub ecx, eax
push ecx
push eax
call fcn.00407c86
add esp, 0x14
test eax, eax
je 0x4065ff
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00403da2
add esp, 0x14
jmp 0x406601
xor esi, esi
push 0x40fda8
push ebx
push ebp
call fcn.00407bca
add esp, 0xc
test eax, eax
je 0x406621
push esi
push esi
push esi
push esi
push esi
call fcn.00403da2
add esp, 0x14
push dword [edi*8 + 0x4137fc]
push ebx
push ebp
call fcn.00407bca
add esp, 0xc
test eax, eax
je 0x406643
push esi
push esi
push esi
push esi
push esi
call fcn.00403da2
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040a473
add esp, 0xc
jmp 0x40668b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40668b
cmp ebp, 0xffffffff
je 0x40668b
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4137fc]
push dword [esi]
call fcn.00405140
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40a473
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004049de
xor ebx, ebx
cmp dword [0x42e3b4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40a549
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a629
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40a629
push eax
call fcn.00404970
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e3b4], eax
call esi
push eax
call fcn.00404970
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e3b8], eax
call esi
push eax
call fcn.00404970
mov dword [0x42e3bc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040603d
test eax, eax
pop ecx
pop ecx
je 0x40a517
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403da2
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40a549
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404970
cmp eax, ebx
pop ecx
mov dword [0x42e3c4], eax
je 0x40a549
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404970
pop ecx
mov dword [0x42e3c0], eax
mov eax, dword [0x42e3c0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40a5ce
cmp dword [0x42e3c4], ecx
je 0x40a5ce
push eax
call fcn.004049e7
push dword [0x42e3c4]
mov esi, eax
call fcn.004049e7
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40a5ce
cmp edi, ebx
je 0x40a5ce
call esi
cmp eax, ebx
je 0x40a59b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a59b
test byte [ebp - 0x18], 1
jne 0x40a5ce
lea eax, [ebp - 0x10]
push eax
call fcn.00406074
test eax, eax
pop ecx
je 0x40a5b6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403da2
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40a5c5
or dword [ebp + 0x10], 0x200000
jmp 0x40a609
or dword [ebp + 0x10], 0x40000
jmp 0x40a609
mov eax, dword [0x42e3b8]
cmp eax, dword [ebp - 8]
je 0x40a609
push eax
call fcn.004049e7
cmp eax, ebx
pop ecx
je 0x40a609
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40a609
mov eax, dword [0x42e3bc]
cmp eax, dword [ebp - 8]
je 0x40a609
push eax
call fcn.004049e7
cmp eax, ebx
pop ecx
je 0x40a609
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42e3b4]
call fcn.004049e7
cmp eax, ebx
pop ecx
je 0x40a629
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a62b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x370d49e7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x1ce30c67
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6d24241c
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x50e34786
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x41e570
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4b64c0
push 0x431fe0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4be5b4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x5d4], 0
je 0x41e5f5
mov ecx, edi
call fcn.0041e400
xor esi, esi
call fcn.0040b420
mov ecx, eax
call fcn.0041c3d0
mov ecx, 1
test eax, eax
cmovne esi, ecx
call fcn.0045f500
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x3c]
mov ecx, 0x4c2604
call fcn.00451f20
mov dword [ebp - 4], 0xfffffffe
call fcn.0041e616
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454930
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x454b43
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x454b43
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454963
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x454b43
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.00432c40
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00432c40
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push 0x49316c
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4549e4
test al, 1
je 0x4549e4
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x454b29
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x454b1d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x454a98
cmp word [ebp - 0x638], 0x2e
jne 0x454a57
mov ax, word [ebp - 0x636]
test ax, ax
je 0x454b02
cmp ax, 0x2e
jne 0x454a57
cmp word [ebp - 0x634], 0
je 0x454b02
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00454930
add esp, 4
jmp 0x454b00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x454aef
test al, 1
je 0x454aef
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x454a20
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x454fa0
Capabilities:
Check if file exists
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ec06
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test esi, esi
jne 0x454fdf
xor eax, eax
jmp 0x4551db
cmp word [esi], 0
je 0x454fd8
test ebx, ebx
je 0x454fd8
cmp word [ebx], 0
je 0x454fd8
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454ff4
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x454fd8
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00432c40
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x48451c
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.00454bb0
test eax, eax
je 0x4551c0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [eax + eax]
cmp dword [ebp - 0x424], 0
je 0x4550e6
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x4550e6
cmp word [ebp - 0x858], 0x2e
jne 0x4550e6
mov ax, word [ebp - 0x856]
test ax, ax
je 0x4550bd
cmp ax, 0x2e
jne 0x4550e6
cmp word [ebp - 0x854], 0
jne 0x4550e6
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x4551c0
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x4551b2
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.00454cf0
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x455125
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x455125
mov esi, dword [ebp - 0x888]
push ebx
push esi
call fcn.00454fa0
add esp, 8
jmp 0x455165
mov esi, dword [ebp - 0x888]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
push eax
call fcn.004405f1
add esp, 8
test eax, eax
jne 0x455165
push esi
call edi
test eax, eax
jne 0x455165
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x455165
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x455165
push esi
call edi
mov eax, dword [ebp - 0x428]
test eax, eax
jne 0x455173
xor edi, edi
jmp 0x455196
cmp dword [ebp - 0x424], 0
jne 0x455180
xor edi, edi
jmp 0x455196
lea ecx, [ebp - 0x884]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4551b2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jne 0x455080
lea ecx, [ebp - 0x884]
call fcn.00452670
lea ecx, [ebp - 0x884]
call fcn.00452670
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret
Function at 0x408780
Capabilities:
Reference processor manufacturer constants

Disassembly:
push esi
push edi
dec eax
sub esp, 0x28
mov eax, dword [0x223a40]
mov ecx, dword [0x221f56]
dec eax
mov edx, dword [0x58]
dec eax
mov ecx, dword [edx + ecx*8]
cmp eax, dword [ecx + 4]
jle 0x40894d
dec eax
lea ecx, [0x223a1a]
call 0x51e7a8
cmp dword [0x223a0e], 0xffffffff
jne 0x40894d
xorps xmm0, xmm0
movups xmmword [0x2239ec], xmm0
movups xmmword [0x2239db], xmm0
xor edi, edi
xor eax, eax
xor ecx, ecx
dec eax
xchg ebx, esi
cpuid
dec eax
xchg ebx, esi
test eax, eax
jle 0x40890c
inc ecx
mov ebx, eax
mov eax, 1
xor ecx, ecx
dec eax
xchg ebx, esi
cpuid
dec eax
xchg ebx, esi
inc ecx
mov eax, ecx
inc ecx
mov ecx, edx
inc ecx
mov edx, eax
inc ecx
cmp ebx, 7
jb 0x40881e
mov eax, 7
xor ecx, ecx
dec eax
xchg ebx, edi
cpuid
dec eax
xchg ebx, edi
and edi, 0x20
inc esp
mov dword [0x22398b], edx
inc esp
mov eax, edx
and eax, 0xf
mov dword [0x223987], eax
inc ecx
shr edx, 0xc
inc ecx
and edx, 3
inc esp
mov dword [0x223974], edx
inc esp
mov eax, ecx
shr eax, 0x17
and al, 1
mov byte [0x22396e], al
inc esp
mov eax, ecx
shr eax, 0x19
and al, 1
mov byte [0x223961], al
inc ecx
shr ecx, 0x1a
inc ecx
and cl, 1
inc esp
mov byte [0x223953], cl
inc esp
mov eax, eax
and al, 1
mov byte [0x223949], al
inc esp
mov eax, eax
shr eax, 9
and al, 1
mov byte [0x22393c], al
inc esp
mov eax, eax
shr eax, 0x13
and al, 1
mov byte [0x22392f], al
inc esp
mov eax, eax
shr eax, 0x14
and al, 1
mov byte [0x223922], al
inc esp
mov eax, eax
shr eax, 0x17
and al, 1
mov byte [0x223915], al
inc esp
mov eax, eax
shr eax, 0x1f
mov byte [0x22390f], al
inc esp
mov eax, eax
not eax
test eax, 0x1c000000
jne 0x40895b
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [0x2238e8], al
inc esp
mov ecx, eax
shr ecx, 0x19
and cl, 1
mov byte [0x2238dc], cl
inc ecx
shr eax, 0xc
inc ecx
and al, 1
inc esp
mov byte [0x2238cb], al
test al, al
setne al
test edi, edi
setne cl
and cl, al
mov byte [0x2238ba], cl
mov eax, 0x80000000
xor ecx, ecx
dec eax
xchg ebx, edi
cpuid
dec eax
xchg ebx, edi
cmp eax, 0x80000006
jle 0x408962
xor ecx, ecx
mov eax, 0x80000007
dec eax
xchg ebx, edi
cpuid
dec eax
xchg ebx, edi
shr edx, 8
and dl, 1
mov byte [0x22388b], dl
test dl, dl
je 0x40896a
dec eax
lea ecx, [0x223884]
call 0x51e810
dec eax
lea eax, [0x22385c]
dec eax
add esp, 0x28
pop edi
pop esi
ret
xor eax, eax
jmp 0x4088d6
mov dl, byte [0x223860]
jmp 0x40893d
cmp byte [0x223858], 0
je 0x408941
xor ecx, ecx
mov eax, 0x40000000
dec eax
xchg ebx, edi
cpuid
dec eax
xchg ebx, edi
cmp edi, 0x7263694d
jne 0x408941
cmp ecx, 0x666f736f
jne 0x408941
cmp edx, 0x76482074
jne 0x408941
mov byte [0x223827], 1
jmp 0x408941
Function at 0x4010b0
Capabilities:
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
cmp dword [0x8424dc], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 8], eax
jne 0x4010db
push str.hokuxeyidofap_lafegohawuzusatuxakoterasiva_purumogihali
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x423cb8]
mov ebx, dword [0x423cbc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], ecx
call fcn.004010a0
mov edx, dword [0x423cc0]
mov eax, dword [0x423cc4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
mov edi, 0x20
jmp 0x401120
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8424dc]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401186
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PurgeComm]
xor ecx, ecx
xor eax, eax
lea edx, [ebp - 0x34]
push edx
mov word [ebp - 0x1c], ax
mov word [ebp - 0x1a], cx
mov eax, dword [ebp - 0x1c]
push eax
push ecx
push str.dojizilujidufarekezurutiric
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8424dc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x4011a0
mov dword [0x8424d8], 0xedeb2e40
jmp 0x4011c2
cmp ecx, 0x3eb
jne 0x4011c2
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [0x841e8c], 0
mov ecx, dword [ebp - 0x18]
add ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, esi
shr edx, cl
mov dword [0x8424d4], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, ebx
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ecx
sub esi, ecx
call fcn.00401090
sub edi, 1
jne 0x401120
cmp dword [0x8424dc], 0xa6d
mov edi, dword [ebp + 8]
mov dword [edi], esi
jne 0x401279
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4