joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4491a4
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4c7ad8
call fcn.004c4460
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00407e3d
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4491ef
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4491d0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x4491d0
lea ecx, [ebp - 0x10]
call fcn.0044914b
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x449226
xor esi, esi
jmp 0x4491d3
push eax
call fcn.004491a4
test eax, eax
pop ecx
je 0x449222
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x4491d0
call edi
cmp eax, ebx
jne 0x449222
jmp 0x4491d0

Function at 0x449244
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c7c18
call fcn.004c4460
sub esp, 0x68
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18], ebx
call fcn.00480cb0
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x50038c]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x50038c
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push str.__s___s
call fcn.0040881a
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
push ebx
and esi, 0xa
mov word [ebp - 0x44], si
mov esi, dword [ebp - 0x14]
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4492d9
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4492ec
push dword [ebp - 0x28]
call edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
je 0x4492f9
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
lea eax, [esi - 0x10]
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4493eb
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4c7bf8
call fcn.004c4460
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x44940b
xor eax, eax
jmp 0x44954c
mov eax, dword [0x50038c]
mov ecx, 0x50038c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push str.__s___s
call fcn.0040881a
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040a5f5
test eax, eax
jne 0x449530
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.00480cb0
and dword [ebp - 0x34], 0
xor eax, eax
add esp, 0xc
neg ebx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
sbb ebx, ebx
and ebx, 5
stosd dword es:[edi], eax
mov word [ebp - 0x4c], bx
xor ebx, ebx
push str.userenv.dll
stosd dword es:[edi], eax
mov dword [ebp - 0x74], 0x4e0418
mov dword [ebp - 0x24], 0x30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4494da
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov dword [ebp - 0x18], eax
je 0x4494da
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x4494d7
mov dword [ebp - 0x24], 0x430
jmp 0x4494da
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x34], ebx
mov edi, eax
je 0x449509
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x449517
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x449522
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x449530
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x44953f
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407bab
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x44955b
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4c7bd8
call fcn.004c4460
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x44957c
xor eax, eax
jmp 0x44972f
mov eax, dword [0x50038c]
mov ecx, 0x50038c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.__s___s
call fcn.0040881a
push pe_nt_image_headers32
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00480cb0
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4495e1
cmp dword [ebp - 0x18c], 6
jne 0x4495e1
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x4495f5
call fcn.0040a5f5
jmp 0x4495fa
call fcn.0040a5a5
cmp eax, ebx
jne 0x449713
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00480cb0
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.0040a660
add esp, 0x10
test al, al
jne 0x44965f
cmp dword [ebp - 0x10], ebx
je 0x449655
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040a7da
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], 0x4e0418
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4496be
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x4496be
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x4496bb
mov dword [ebp - 0x14], 0x430
jmp 0x4496be
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x4496ee
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x4496fc
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x449705
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x449713
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x449721
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407bab
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4497cb
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4ed050
call fcn.004c42f0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x449879
cmp dword [ebp + 0xc], eax
je 0x449879
push eax
push eax
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call edi
mov esi, eax
cmp esi, 1
jb 0x449879
mov ebx, 0x103
cmp esi, ebx
ja 0x449879
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047da0e
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x449875
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.00480cb0
add esp, 0xc
push esi
push dword [ebp - 0x24]
push dword [ebp + 8]
call edi
test eax, eax
je 0x449875
cmp eax, ebx
ja 0x449875
push eax
push dword [ebp - 0x24]
push ebx
push dword [ebp + 0xc]
call fcn.0048471f
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x449875
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x449888
push dword [ebp - 0x1c]
call fcn.00480c9e
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004c432b
ret

Function at 0x449891
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4c8748
call fcn.004c4460
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.004084d6
mov ebx, dword [ebp + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x4498d3
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4498da
call esi
cmp eax, 5
je 0x4498dd
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x449d4f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4c9850
call fcn.004c4460
sub esp, 0x41c
push ebx
push esi
push edi
mov ebx, 0x206
xor esi, esi
push ebx
lea eax, [ebp - 0x21e]
push esi
push eax
mov word [ebp - 0x220], si
call fcn.00480cb0
mov edi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push esi
push esi
push 0x19
push esi
call edi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00407e3d
push dword [ebp + 8]
mov dword [ebp - 4], esi
push eax
call fcn.00449e23
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00407bab
push ebx
lea eax, [ebp - 0x426]
push esi
push eax
mov word [ebp - 0x428], si
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push esi
push esi
push esi
push esi
call edi
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00407e3d
push dword [ebp + 8]
mov dword [ebp - 4], 1
push eax
call fcn.00449e23
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x449e23
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0x4c9828
call fcn.004c4460
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
sub esp, 0x260
test ecx, ecx
push ebx
push esi
push edi
je 0x449f2b
add eax, 0xfffffff0
call fcn.00407bc3
add eax, 0x10
mov dword [ebp + 8], eax
and dword [ebp - 4], 0
mov eax, dword [0x50038c]
mov ecx, 0x50038c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea esi, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00449112
mov eax, esi
lea edi, [ebp - 0x14]
call fcn.00406fd9
push 0x4dce58
mov eax, edi
push eax
call fcn.004084d6
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x26c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x449f18
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.00408eb2
push dword [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
call fcn.00449f3a
mov esi, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00407bab
test esi, esi
je 0x449f06
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 8]
call fcn.00408eb2
pop ecx
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00407bab
lea eax, [ebp - 0x26c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x449ea6
lea eax, [ebx - 0x10]
call fcn.00407bab
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x44a490
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x44a4a1
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a4b3
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.0044955b
add esp, 0xc
test eax, eax
je 0x44a4ce
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.004493eb
test eax, eax
pop ecx
pop ecx
jne 0x44a4ca
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00449244
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffec7
pop ecx
add eax, 0x139
pop ecx
ret
Function at 0x44a8eb
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x440
push ebx
push esi
xor esi, esi
cmp dword [ecx], esi
push edi
jne 0x44a907
xor eax, eax
jmp 0x44aa4c
cmp eax, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
je 0x44aa49
cmp eax, 4
je 0x44aa49
cmp eax, 8
je 0x44aa49
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push esi
push 0x400
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x44aa49
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
call dword [eax]
test eax, eax
jne 0x44aa34
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x44aa34
cmp eax, 8
je 0x44aa34
push eax
push esi
push 0x410
call ebx
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x44aa34
mov ebx, 0x206
push ebx
lea eax, [ebp - 0x232]
push esi
push eax
mov word [ebp - 0x234], si
call fcn.00480cb0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x234]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x44aa12
push ebx
lea eax, [ebp - 0x43a]
push esi
push eax
mov word [ebp - 0x43c], si
call fcn.00480cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x43c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x44aa34
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.0044ab35
test eax, eax
je 0x44aa34
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x44aa1e
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 0xc]
call fcn.00408051
mov dword [ebp - 0x10], 1
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 8], esi
je 0x44aa49
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44aa53
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x44ab2d
cmp eax, 4
je 0x44ab2d
cmp eax, 8
je 0x44ab2d
push ebx
push eax
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x44ab2c
push esi
mov esi, 0x206
push esi
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.00480cb0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x44ab0e
push esi
lea eax, [ebp - 0x412]
push edi
push eax
mov word [ebp - 0x414], di
call fcn.00480cb0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x44ab24
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0044ab35
test eax, eax
je 0x44ab24
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.00408051
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 4

Function at 0x44ab35
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x4bc
push edi
xor edi, edi
cmp dword [ebp + 0x7c], edi
jne 0x44ab4f
xor eax, eax
jmp 0x44ac12
push ebx
push esi
lea eax, [ebp - 0x44c]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x44ac02
cmp word [ebp - 0x44c], di
mov dword [ebp + 0x6c], edi
je 0x44ac02
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esi, [ebp - 0x44c]
push 0x4e08a0
push esi
call ebx
test eax, eax
je 0x44abec
push 0x4e08a8
push esi
call ebx
test eax, eax
je 0x44abec
mov ax, word [esi]
and word [ebp + 0x68], 0
mov word [ebp + 0x64], ax
mov ax, word [ebp + edi - 0x44a]
mov word [ebp + 0x66], ax
push 0x64
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x44ac0e
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [ebp + 0x78]
mov esi, eax
push esi
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.00483f5b
add esp, 0xc
test eax, eax
je 0x44ac1a
add dword [ebp + 0x6c], 4
mov edi, dword [ebp + 0x6c]
add edi, edi
lea esi, [ebp + edi - 0x44c]
cmp word [esi], 0
jne 0x44ab87
push dword [ebp + 0x78]
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [edi + esi*2]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
inc eax
jmp 0x44ac10
Function at 0x455b93
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xf4]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x455ccc
push eax
call fcn.00437241
mov ebx, eax
test ebx, ebx
pop ecx
je 0x455c99
mov eax, dword [ebx + 0x10]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x455c0d
lea eax, [ebx + 0x14]
push eax
call fcn.00437b2f
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.00437647
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xf4], eax
jne 0x455c63
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x455c55
cmp word [ecx], ax
je 0x455c55
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x455c99
cmp dword [ebx + 0x10], eax
je 0x455c99
mov dword [ebp - 4], 1
jmp 0x455c99
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x455c82
lea eax, [ebx + 0x14]
push eax
call fcn.00437b2f
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.00437647
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xf4], ecx
je 0x455caa
push 0x67
jmp 0x455cc5
cmp dword [ebp - 8], ecx
je 0x455ccc
cmp dword [ebp - 0xc], ecx
je 0x455ccc
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xf0]
cmp edx, dword [eax]
jne 0x455cc3
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.004557f4
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4578de
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x4c8748
call fcn.004c4460
sub esp, 0x10
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00407e3d
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.0042bde8
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00407bab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x459048
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.00480cb0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x4590a1
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x45914f
mov eax, dword [ebp - 0x94]
dec eax
je 0x45913b
dec eax
jne 0x45914f
cmp dword [ebp - 0xa0], 6
jne 0x4590ec
inc eax
cmp dword [ebp - 0x9c], eax
jne 0x4590d4
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
add ecx, 8
jmp 0x4590e8
cmp dword [ebp - 0x9c], edi
jne 0x459128
xor ecx, ecx
cmp byte [ebp + 0x76], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x45914f
cmp dword [ebp - 0xa0], 5
jne 0x45911b
cmp dword [ebp - 0x9c], 2
jne 0x459102
push 5
jmp 0x459138
cmp dword [ebp - 0x9c], 1
jne 0x45910f
push 6
jmp 0x459138
cmp dword [ebp - 0x9c], edi
jne 0x45914f
push 3
jmp 0x459138
cmp dword [ebp - 0xa0], 4
ja 0x45914f
push 4
jmp 0x459138
cmp dword [ebp - 0x9c], 2
jne 0x45914f
cmp byte [ebp + 0x76], al
jne 0x45914f
push 0xa
pop edi
jmp 0x45914f
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x459326
Capabilities:
Create process on windows

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x459438
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x45934c
call fcn.0045ae05
mov eax, edi
jmp 0x459441
cmp eax, 2
jne 0x45935e
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x459345
cmp eax, 0x65
jne 0x45936c
mov eax, esi
call fcn.0045b23e
jmp 0x459345
cmp eax, 0x66
jne 0x459384
xor eax, eax
cmp dword [esi + 0x3b8], eax
sete al
push eax
call fcn.0045b976
jmp 0x459345
cmp eax, 0x191
jne 0x4593a1
lea eax, [esi + 0x7f8]
call fcn.00461d1f
xor ecx, ecx
mov eax, esi
call fcn.0045c203
jmp 0x459345
cmp eax, 0x96
jne 0x4593ca
push dword [esi + 0x3e4]
push dword [esi + 0x3bc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.0045ad6e
jmp 0x459345
cmp eax, 0x1f5
je 0x459396
cmp eax, 0x68
jne 0x4593e1
push esi
call fcn.0045b6fd
jmp 0x459345
cmp eax, 0x6e
jne 0x459405
xor ecx, ecx
lea eax, [esi + 0x920]
cmp dword [eax], ecx
sete cl
push ecx
mov dword [eax], ecx
push 0x65
lea eax, [esi + 0x24]
call fcn.0045c31e
jmp 0x459345
cmp eax, 0x6f
jne 0x459426
push 3
xor eax, eax
push eax
push eax
push str.https:__www.keniu.com_privacy_keniuLicense.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x459345
cmp eax, 0x70
jne 0x459438
push 3
xor eax, eax
push eax
push eax
push str.https:__www.keniu.com_privacy_keniuPrivacyCn.html
jmp 0x459415
and dword [esi + 0x3ec], 0
xor eax, eax
pop edi
pop esi
pop ecx
ret