joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c4f8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov al, byte [ebp + 0xb]
push esi
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x24]
push eax
push 0x4074d1
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.USER32.dll_EnumChildWindows]
lea eax, [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
call fcn.0040f5a6
cmp dword [ebp - 0x20], esi
jne 0x40c53b
mov dword [ebp - 8], esi
jmp 0x40c547
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
sar eax, 2
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
dec dword [ebp - 8]
test eax, eax
je 0x40c637
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push edi
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov ebx, dword [eax + ecx*4]
lea eax, [ebp - 2]
push eax
push 2
push 0xd
push ebx
call esi
test eax, eax
je 0x40c627
cmp byte [ebp - 2], 0x23
jne 0x40c627
lea eax, [ebp - 0x44]
push eax
push 0x20
push 0xd
push ebx
call esi
test eax, eax
je 0x40c627
lea eax, [ebp - 0x43]
push eax
call fcn.004153d6
pop ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
push eax
lea edi, [ecx + 0xd4]
mov ecx, edi
call fcn.0041ff60
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x40c5c0
inc dword [eax + 4]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.00409c36
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00420040
test al, al
jne 0x40c5f6
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40c5e9
lea eax, [ebp - 0xc]
jmp 0x40c5ec
add eax, 0xd
push eax
push 0
push 0xc
push ebx
call esi
jmp 0x40c61f
push 0xc
pop ecx
mov edx, ecx
call fcn.0040c2ac
push 1
push eax
push 0x30
push ebx
call esi
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40c614
lea eax, [ebp - 0xc]
jmp 0x40c617
add eax, 0xd
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0xc]
call fcn.0040178c
mov eax, dword [ebp - 8]
dec dword [ebp - 8]
test eax, eax
jne 0x40c55d
pop edi
pop ebx
lea ecx, [ebp - 0x24]
call fcn.00413f48
pop esi
leave
ret 4
Function at 0x40cc12
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
lea eax, [ebp - 8]
push str..
mov dword [ebp - 0x10], edx
push eax
mov dword [ebp - 0x14], ecx
call fcn.00409100
mov ecx, dword [eax]
test ecx, ecx
je 0x40cc38
lea eax, [ecx + 0xd]
lea ecx, [ebp - 0x1d0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.0040178c
cmp dword [ebp - 0xc], 0xffffffff
je 0x40cdf9
push ebx
push esi
push edi
mov edi, 0x429768
test byte [ebp - 0x1d0], 0x10
je 0x40cce0
cmp byte [ebp - 0x1a4], 0x2e
je 0x40cdd5
cmp byte [ebp + 0xc], 0
je 0x40cdd5
push edi
lea ecx, [ebp - 0x18]
call fcn.0040168c
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x58]
push dword [ebp - 0x14]
push eax
call fcn.0040d2be
mov ecx, eax
call fcn.0040d30c
mov esi, eax
lea eax, [ebp - 0x1a4]
push 0
push eax
push 5
mov ecx, esi
call fcn.0040cdfd
mov ecx, esi
call fcn.0040cf18
mov edx, dword [ebp - 0x10]
lea ecx, [esi + 4]
push dword [ebp + 0x10]
push 1
push dword [ebp + 8]
call fcn.0040cc12
lea ecx, [ebp - 0x58]
call fcn.0040d2ea
lea ecx, [ebp - 0x18]
jmp 0x40cdd0
lea eax, [ebp - 0x1a4]
push eax
call fcn.00414e40
pop ecx
mov esi, eax
mov eax, esi
dec esi
test eax, eax
je 0x40cdd5
cmp byte [ebp + esi - 0x1a4], 0x2e
jne 0x40ccef
push dword [ebp - 0x10]
and byte [ebp + esi - 0x1a4], 0
lea ebx, [ebp + esi - 0x1a4]
lea eax, [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040168c
mov ecx, eax
call fcn.0040ad4d
test al, al
je 0x40cd61
push dword [ebp + 8]
lea eax, [ebp + esi - 0x1a3]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040168c
mov ecx, eax
call fcn.0040ad4d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 1], al
call fcn.0040178c
cmp byte [ebp - 1], 0
je 0x40cd61
mov byte [ebp - 1], 1
jmp 0x40cd65
and byte [ebp - 1], 0
lea ecx, [ebp - 0x20]
call fcn.0040178c
cmp byte [ebp - 1], 0
mov byte [ebx], 0x2e
je 0x40cdd5
push edi
lea ecx, [ebp - 8]
call fcn.0040168c
lea eax, [ebp - 8]
lea ecx, [ebp - 0x90]
push dword [ebp - 0x14]
push eax
call fcn.0040d2be
mov ecx, eax
call fcn.0040d30c
mov esi, eax
lea eax, [ebp - 0x1a4]
push 0
push eax
push 5
mov ecx, esi
call fcn.0040cdfd
mov ecx, esi
call fcn.0040cf18
mov ecx, dword [ebp + 0x10]
add esi, 4
push esi
push dword [ecx + 8]
call fcn.0040fd87
lea ecx, [ebp - 0x90]
call fcn.0040d2ea
lea ecx, [ebp - 8]
call fcn.0040178c
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40cc63
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40eb61
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
mov esi, 0x104
push edi
push esi
call fcn.00414e25
pop ecx
mov edi, eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
cmp eax, ebx
je 0x40eb96
cmp byte [edi + eax - 1], 0x5c
je 0x40eb96
dec eax
jne 0x40eb8c
push edi
mov byte [eax + edi], bl
call fcn.004159a4
push edi
call fcn.004148d0
pop ecx
pop ecx
push ebx
push str.Setup.dta
call fcn.004134b1
mov esi, eax
cmp esi, ebx
jne 0x40ebd2
push ebx
push str.Setup
push str.Cannot_find_file_setup.dta._The_setup_will_now_exit.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
pop eax
jmp 0x40ec5d
lea ecx, [ebp - 0x148]
call fcn.0040ec64
lea eax, [ebp - 1]
lea ecx, [ebp - 0x148]
push eax
push dword [ebp + 8]
call fcn.004080b9
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp edi, ebx
jne 0x40ec50
cmp byte [ebp - 1], bl
je 0x40ec4e
lea eax, [ebp + 8]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 2
test eax, eax
pop esi
je 0x40ec46
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push ebx
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor edi, edi
lea ecx, [ebp - 0x148]
call fcn.0040f03c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4134b1
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov al, byte [edi]
mov dword [ebp - 4], esi
test al, al
je 0x4134d7
cmp byte [edi + 1], 0x3a
jne 0x4134d7
cmp byte [edi + 2], 0x5c
je 0x4134ef
lea eax, [ebp - 0x20c]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [ebp - 0x20c]
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push edi
mov byte [ebp + 8], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x413588
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
push 4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413581
cmp dword [ebp - 8], 4
jne 0x413581
push esi
push esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0xc]
and eax, 0xffff
cmp eax, 0x4b50
jne 0x41357c
push 0x34
call fcn.00414e25
cmp eax, esi
pop ecx
je 0x41355a
mov ecx, eax
call fcn.00413591
mov esi, eax
push dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], esi
push ebx
push dword [ebp + 8]
push edi
push edi
call fcn.00413696
test al, al
jne 0x41357c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x41358a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4139dd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esi + 4], 1
mov dword [esi], 0x4266e0
mov dword [esi + 8], eax
cmp ecx, ebx
push edi
mov dword [esi + 0xc], ecx
je 0x413a0b
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [esi + 8]
mov dword [esi + 0x10], ebx
mov dword [esi], 0x4266c0
push dword [eax + 8]
call fcn.00414e25
pop ecx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 8]
push ebx
push ebx
push dword [eax + 0x10]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
push eax
lea eax, [ebp - 0x20]
push 0x1e
push eax
push dword [ebp + 0x10]
call edi
mov eax, dword [esi + 8]
push ebx
movzx ecx, word [ebp - 4]
mov eax, dword [eax + 0x10]
push ebx
add eax, ecx
movzx ecx, word [ebp - 6]
lea eax, [eax + ecx + 0x1e]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
mov ecx, dword [eax]
sub ecx, ebx
je 0x413ab6
dec ecx
jne 0x413ac6
mov eax, dword [eax + 4]
inc eax
push eax
call fcn.00414e25
pop ecx
mov dword [ebp + 8], eax
lea ecx, [ebp + 0xc]
push ebx
push ecx
mov ecx, dword [esi + 8]
push dword [ecx + 4]
push eax
push dword [ebp + 0x10]
call edi
mov eax, dword [esi + 8]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x14]
push dword [ebp + 8]
call fcn.00413b11
push dword [ebp + 8]
call fcn.004148d0
pop ecx
jmp 0x413ac6
lea ecx, [ebp + 0xc]
push ebx
push ecx
push dword [eax + 8]
push dword [esi + 0x14]
push dword [ebp + 0x10]
call edi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4147a0
Capabilities:
Set registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret 0xc

Function at 0x4147d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 0xc]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
pop edi
inc eax
ret 0xc
Function at 0x414800
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
mov eax, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
push ecx
push edx
push 0
push 0
push esi
push edi
mov dword [esp + 0x28], eax
call ebp
test eax, eax
jne 0x41483d
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp eax, 0xea
jne 0x41489f
mov eax, dword [esp + 0x10]
push eax
call fcn.00414e25
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41489f
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0
push 0
push esi
push edi
call ebp
test eax, eax
jne 0x414896
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ecx, ebp
mov esi, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004148d0
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
push ebx
call fcn.004148d0
add esp, 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0x10

Function at 0x41e0d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41e0f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00418b68
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x41e115
test byte [esp + 8], 2
je 0x41e115
mov dword [0x42de8c], 0xd
mov dword [0x42de90], 5
jmp 0x41e0f0
xor eax, eax
ret
Function at 0x40161b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x404b08
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x401631
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret
Function at 0x4019e3
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll_wcscat]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 1
lea eax, [ebp - 0x268]
xor esi, esi
push eax
mov eax, dword [ebp - 8]
dec eax
push esi
neg eax
sbb eax, eax
push esi
and al, 0xeb
mov word [ebp - 0x268], si
add eax, 0x17
push eax
push dword [ebp - 0x10]
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x401af6
lea ecx, [ebp - 0x268]
call fcn.004015b0
lea eax, [ebp - 0x268]
push str.7_Zip_
push eax
call edi
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
add esp, 0xc
lea esi, [ebp + eax*2 - 0x268]
cmp dword [ebp - 4], 0
mov eax, str.7_Zip_File_Manager.lnk
je 0x401a7c
mov eax, str.7_Zip_Help.lnk
push eax
push esi
call ebx
lea eax, [ebp - 0x4c0]
push 0x404b08
push eax
call ebx
add esp, 0x10
cmp dword [ebp - 4], 0
mov eax, str.7zFM.exe
je 0x401aa1
mov eax, str.7_zip.chm
push eax
lea eax, [ebp - 0x4c0]
push eax
call edi
pop ecx
lea edx, [ebp - 0x4c0]
pop ecx
lea ecx, [ebp - 0x268]
call fcn.00401b08
test eax, eax
jne 0x401ad6
lea eax, [ebp - 0x268]
mov dword [ebp - 0xc], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jb 0x401a6c
cmp dword [ebp - 0xc], 0
je 0x401af6
and word [esi], 0
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jb 0x401a05
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ba7
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov edx, dword [str.CLSID23170F69_40C1_278A_1000_000100020000InprocServer32]
push ebx
push esi
lea eax, [ebp - 0x248]
mov esi, 0x80000000
push eax
push 0
mov ecx, esi
call fcn.00401d10
test eax, eax
mov ebx, 0x80000002
je 0x401c88
push str.7_zip.dll
mov edx, 0x404b08
lea ecx, [ebp - 0x248]
call fcn.00401d5d
test eax, eax
je 0x401c88
mov edx, dword [str.CLSID23170F69_40C1_278A_1000_000100020000InprocServer32]
mov ecx, esi
call fcn.00401d54
test eax, eax
jne 0x401c15
mov edx, dword [str.CLSID23170F69_40C1_278A_1000_000100020000]
mov ecx, esi
call fcn.00401d54
push edi
mov edi, 0x403130
push dword [edi]
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x450]
push str.7_Zip
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea edx, [ebp - 0x450]
mov ecx, esi
call fcn.00401d54
add edi, 4
cmp edi, 0x403144
jb 0x401c1b
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
mov ecx, ebx
push eax
call fcn.00401947
test eax, eax
pop edi
jne 0x401c88
push str.23170F69_40C1_278A_1000_000100020000
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths7zFM.exe]
lea eax, [ebp - 0x248]
push eax
push 0
mov ecx, ebx
call fcn.00401d10
test eax, eax
je 0x401cc8
push str.7zFM.exe
mov edx, 0x404b08
lea ecx, [ebp - 0x248]
call fcn.00401d5d
test eax, eax
je 0x401cc8
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths7zFM.exe]
mov ecx, ebx
call fcn.00401d54
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionUninstall7_Zip]
lea eax, [ebp - 0x248]
push eax
push str.UninstallString
mov ecx, ebx
call fcn.00401d10
test eax, eax
je 0x401d0c
push dword [0x40312c]
mov edx, 0x404b08
lea ecx, [ebp - 0x248]
call fcn.00401d5d
test eax, eax
je 0x401d0c
mov edx, dword [str.SoftwareMicrosoftWindowsCurrentVersionUninstall7_Zip]
mov ecx, ebx
call fcn.00401d54
pop esi
pop ebx
leave
ret

Function at 0x401d85
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404b08
jmp fcn.00401631

Function at 0x401dcb
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404b08
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401de8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x401ded
push 1
pop eax
pop esi
ret
call fcn.00401d85
pop esi
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.100080c7
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100080c7
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.100080c7
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.100080c7
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.100080c7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.100080c7
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.100080c7
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.100080c7
push 0xd008
push edi
call fcn.100080c7
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.100080c7
int3

Function at 0x100080c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x100080d6
pop dword [ebp - 0x1c]
mov eax, 0x6fbd0841
add eax, 0xa0437895
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x36342
push 0
mov eax, 0xfa85299c
sub eax, 0xea83e938
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x4d0e75d0
sub ecx, 0x4d0e3902
xor ebx, ebx
add ebx, eax
mov esi, 0x402fd5d0
sub esi, 0x302e4fd0
add esi, dword [ebp - 0x1c]
mov edi, 0x9da6c198
sub dword [ebp - 0x10], 0x8261e4ad
mov edx, dword [esi]
add dword [ebp - 8], 0x327edf9c
xor edx, edi
mov dword [ebp - 0x18], 0x18e50216
mov dword [ebx], edx
sub dword [ebp - 0x18], 0x2e56a97a
add ebx, 0x6fb6a170
add ebx, 0x90495e94
add esi, 4
loop 0x10008131
add eax, 0xb145870f
sub eax, 0xb144a104
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf5f28c37
add ecx, 0x1a0d73c9
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4025bb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x4025c3
mov dword [ecx*4 + 0x49eea0], eax
inc ecx
cmp ecx, 0x100
jb 0x4025be
mov edx, 0x800
jmp 0x402610
mov eax, dword [ecx*4 + 0x49eaa0]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49eea0]
inc ecx
mov dword [ecx*4 + 0x49ee9c], eax
cmp ecx, edx
jb 0x4025ef
mov dword [0x49d3b8], 0x402633
call 0x4149b9
test eax, eax
jne 0x402631
mov dword [0x49d3b8], 0x4026cf
pop esi
ret

Function at 0x434892
Capabilities:
Encode data using xor

Disassembly:
push eax
lea ecx, [eax - 0x2c]
sbb byte [edi], bh
xchg ebp, eax
sbb ecx, eax
mov esp, 0xb49d8976
in al, dx
inc eax
cli
push esp
pop edx
jb 0x434821
test dword [edi + ecx + 5], edi
dec ebx
sub dword [esi + 0x2e], 0x8a21ec50
xchg byte [edx - 0x30], al
ja 0x434889
sal byte [edi + 0x65], 1
xor edx, dword es:[ebp - 0xc]
rcl dword [0x63806688], 0x2b
sbb dword [ecx], edx
in al, dx
jne 0x43480c
sal dword [ebp + 0xcc3db33], cl
mov dl, 0xe
popfd
add al, 0x49
test al, 0x2e
mov al, byte [0xe54f64ca]
mul byte [edi - 0x29df120]
out dx, al
sbb al, 0x35
push edx
je 0x43488d
nop
add dword [ecx + ebp*2], eax
aam 0xd
jge 0x4347fe
cmpsb byte [esi], byte es:[edi]
rol dword [esi], 0x8d
xchg ebp, eax
outsd dx, dword fs:[esi]
outsd dx, dword [esi]
xchg ebp, eax
jge 0x43485a
minps xmm0, xmmword [esi - 0x65]
push ecx
mov cl, 0x82
shl byte [ebx - 0x2c], cl
dec esi
cmc
invalid
add eax, 0xa086c552
int3
mov al, byte [0x9f4092cc]
dec eax
lahf
pop ebp
dec ebp
sbb ah, cl
jbe 0x4348b0
inc ecx
salc
push esp
sbb dword [edx], ebx
test eax, 0xd4fa07f5
ja 0x4348d8
cmp dword [eax], esp
adc dword [eax - 0xa], esi
test dword [0x279d48b7], ecx
dec eax
popfd
daa
jg 0x434862
pop ss
sal eax, 0xa0
push esp
into
mov ebp, 0xa15f1e40
mov ah, byte [ebx + edx*2 + 0x4634e564]
mov dh, 0x1a
loopne 0x4348e7
invalid
mov dword [eax + 0x1320c904], 0x375f28ec
leave
and byte [ebx], dl
in al, dx
sub byte [edi + 0x37], bl
jae 0x434909
lodsb al, byte [esi]
and bh, byte [esi - 0x10]
xor byte [edx - 0x18], 0x92
lock xor byte [edx - 0x18], 0x92
xor edi, dword [ebp + 0x7a]
sub byte [ebx - 0x19], 0x1e
jne 0x4348db
mov ebx, dword [eax - 0x6f677a65]
mov bl, 0xe5
pop ecx
ror byte [esi], 1
adc esi, 0xffffffad
dec edx
sub bl, al
mov cl, 0xb9
inc byte [esi]
push es
inc dword [eax]
mov bh, byte [edi]
adc esi, ebp
bound ebx, qword [ebx]
ret
Function at 0x10008110
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c8
mov eax, dword [0x100d7294]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x3e8
push 0
lea eax, [ebp - 0x4bc]
push eax
call fcn.100672b0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov word [ebp - 8], cx
push 0xc8
push 0
lea edx, [ebp - 0xd4]
push edx
call fcn.100672b0
add esp, 0xc
mov dword [ebp - 0x4c4], 0
cmp dword [ebp + 8], 0
je 0x1000816e
cmp dword [ebp + 0xc], 0
jne 0x10008175
xor eax, eax
jmp 0x100082a6
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100082a4
mov dword [ebp - 0x4c0], 0
jmp 0x100081aa
mov ecx, dword [ebp - 0x4c0]
add ecx, 4
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
movzx eax, word [ebp + edx*2 - 0x4bc]
test eax, eax
je 0x100082a4
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp - 0x4c0]
mov cx, word [ebp + eax*2 - 0x4bc]
mov word [ebp + edx - 0xc], cx
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0x4c0]
mov cx, word [ebp + eax*2 - 0x4ba]
mov word [ebp + edx - 0xc], cx
mov edx, 2
shl edx, 1
mov dword [ebp - 0x4c8], edx
cmp dword [ebp - 0x4c8], 6
jae 0x1000820e
jmp 0x10008213
call fcn.1005fad8
xor eax, eax
mov ecx, dword [ebp - 0x4c8]
mov word [ebp + ecx - 0xc], ax
push 0x64
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1000823c
jmp 0x1000819b
lea ecx, [ebp - 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x4c4], eax
mov edx, dword [ebp - 0x4c4]
push edx
lea eax, [ebp - 0xd4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100698ec
add esp, 0xc
test eax, eax
jne 0x1000829f
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000ad10
mov edx, dword [ebp - 0x4c4]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.1000acb0
mov eax, 1
jmp 0x100082a6
jmp 0x1000819b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005fbb2
mov esp, ebp
pop ebp
ret