joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100096d0
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x1000970c
mov eax, dword [ebp + 8]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10009713
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
pop esi
pop ebp
ret 4
push 0x100182c4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100096fe
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x100096fe
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10009706
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x1000acd0
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea esi, [ebp - 0x408]
call fcn.10001310
lea eax, [ebp - 0x408]
push eax
lea esi, [edi + 0x4ef4]
mov eax, str.DataMUGuardmuguard.zgnph
call fcn.10001550
test al, al
je 0x1000ad43
push 0
push 0x20
push 3
push 0
push 1
push closesocket
push str.DataMUGuardmuguard.zgnph
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000ad43
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4e48
je 0x1000ad55
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x4e48
lea esi, [edi + 4]
push esi
push ebx
mov dword [ebp - 0x40c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000ad3c
mov eax, esi
mov esi, 0x4e48
mov dl, byte [eax]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax], dl
inc eax
dec esi
jne 0x1000ad83
call fcn.10007b60
lea eax, [edi + 0xf4]
call fcn.10007be0
lea eax, [edi + 0x1abc]
call fcn.10007c40
lea eax, [edi + 0x3484]
call fcn.10007ca0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4efc], esi
pop esi
xor ecx, ebp
mov byte [edi + 0x4ef8], 0
mov al, 1
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x1000b020
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0x4e4c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b043
sub eax, edx
cmp eax, 3
jb 0x1000b11b
cmp dword [edi + 0x4e6c], 0
je 0x1000b0e8
lea esi, [ebp - 0x408]
call fcn.10001310
mov eax, esi
push eax
lea esi, [ebp - 0x40c]
mov eax, ebx
call fcn.10001550
test al, al
jne 0x1000b0a4
mov esi, 0x1012b9f0
call fcn.1000f420
mov esi, 0x1012bb18
call fcn.1000f420
mov esi, 0x1012bc40
call fcn.1000f420
call fcn.100109e0
mov ecx, dword [edi + 0x4e6c]
cmp ecx, dword [ebp - 0x40c]
je 0x1000b0e8
mov esi, 0x1012b9f0
call fcn.1000f420
mov esi, 0x1012bb18
call fcn.1000f420
mov esi, 0x1012bc40
call fcn.1000f420
push 0x10
add edi, 0x46
push edi
push str.Launcher_not_found_or_invalid_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.100109e0
push str.32770
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000b114
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_WinExec]
call fcn.100109e0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x1000b130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.10006c50
call fcn.10006dc0
test eax, eax
je 0x1000b286
mov ecx, 0x1f
call fcn.10007da0
push eax
push 1
push 2
push 0x1001c098
mov dword [ebp - 4], eax
call fcn.10010f90
add esp, 4
push eax
xor esi, esi
push esi
mov ecx, 0x10121ab8
call fcn.100078b0
mov eax, dword [0x1012b9f4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
cmp eax, esi
je 0x1000b1aa
push esi
push esi
push 0x10
push eax
call edi
mov eax, dword [0x1012c65c]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x1012b9f4], esi
call ebx
mov eax, dword [0x1012bb1c]
cmp eax, esi
je 0x1000b1cf
push esi
push esi
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012bb1c], esi
call ebx
mov eax, dword [0x1012bc44]
cmp eax, esi
je 0x1000b1f5
push esi
push esi
push 0x10
push eax
call edi
mov ecx, dword [0x1012c65c]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x1012bc44], esi
call ebx
mov eax, dword [ebp - 4]
push 0x2b39c0
push 0x6a
mov esi, 0x1012bc40
call fcn.1000f250
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x10010d70
push 0
push 0
mov dword [0x1012bc48], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x1012bc48]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x1012bc48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1012bc44]
test eax, eax
je 0x1000b281
push 0
push 0
push 0x10
push eax
call edi
mov edx, dword [0x1012c65c]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x1012bc44], 0
call ebx
call fcn.100109e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b5a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100150b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1001c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012b9e8]
cmp eax, 0x927c0
jb 0x1000b5e3
call esi
mov dword [0x1012b9e8], eax
xor esi, esi
cmp dword [0x1012b9d4], esi
je 0x1000b655
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x1012b9d8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1000b380
mov edi, dword [ebp - 0x20]
test al, al
je 0x1000b63d
cmp edi, dword [ebp - 0x1c]
je 0x1000b63d
lea ecx, [ebp - 0x20]
push ecx
call fcn.1000b670
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x1000b655
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000bb80
Capabilities:
Check for time delay via gettickcount
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001543f
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
mov eax, dword [0x1001c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012b9e8]
cmp eax, 0x927c0
jb 0x1000bbc6
call esi
mov dword [0x1012b9e8], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x14
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 4], ebx
call fcn.1000b380
mov esi, dword [ebp - 0x1c]
test al, al
jne 0x1000bc0e
cmp esi, dword [ebp - 0x18]
jne 0x1000bcf5
lea eax, [ebp - 0x1c]
push eax
call fcn.1000bd90
cmp dword [0x1012b940], ebx
je 0x1000bcf5
push 0x32
lea ecx, [ebp - 0x1c]
push ecx
call fcn.1000b380
lea edx, [ebp - 0xf0]
push edx
call fcn.1000bf60
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 1
call fcn.1000caf0
push ebx
test eax, eax
jne 0x1000bc68
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax + 4]
push 2
lea ecx, [ebp + ecx - 0xf0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x1000bc7f
mov ecx, dword [ebp - 0xf0]
mov ecx, dword [ecx + 4]
push ebx
lea ecx, [ebp + ecx - 0xf0]
call dword [sym.imp.MSVCP100.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ebx
sub edx, esi
push edx
push esi
lea ecx, [ebp - 0xe0]
call dword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea eax, [ebp - 0xf0]
push eax
call fcn.1000c020
push 2
push str.image.jpeg
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.10002a30
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x34], ecx
mov dword [ebp + eax - 0xf0], vtable.std::basic_fstream_char__struct_std::char_traits_char__.0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.1000c090
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVCP100.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp esi, ebx
je 0x1000bd0d
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000cbf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015258
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [edi + 0x44], 0
je 0x1000cd48
cmp byte [edi + 0x49], 0
je 0x1000cd48
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1000cd3c
lea esi, [ebp - 0x2c]
call fcn.1000cef0
mov dword [ebp - 4], 0
mov ebx, 0x10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp eax, ebx
jae 0x1000cc9b
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x1000cca0
dec eax
je 0x1000cca4
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x1000cd43
call fcn.10003500
xor al, al
jmp 0x1000cd4a
mov eax, dword [ebp - 0x2c]
jmp 0x1000cc65
mov byte [edi + 0x49], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
mov eax, edx
cmp ecx, ebx
jae 0x1000ccb3
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x1000ccd8
mov eax, edx
cmp ecx, ebx
jae 0x1000ccc3
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x1000cd34
cmp byte [edi + 0x49], 0
je 0x1000cd40
test esi, esi
jne 0x1000cc56
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, eax
cmp edx, 8
jbe 0x1000cd65
lea esi, [eax + 8]
lea eax, [ebp - 0x2c]
call fcn.10003410
test al, al
je 0x1000cc56
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], ebx
jae 0x1000cd11
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x18], ebx
jae 0x1000cd2b
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x1000cc56
lea esi, [ebp - 0x2c]
call fcn.10003500
xor al, al
jmp 0x1000cd4a
lea esi, [ebp - 0x2c]
call fcn.10003500
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x1000cf90
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0x100
push 0x1012c668
call esi
mov ecx, dword [ebp + 8]
push 0x100
add ecx, 5
push ecx
push 0x1012c668
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 4]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push eax
push 0x100
push 0x1012c668
call esi
push 0
push 0
push 0
push 0x1000cf70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d380
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015598
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x1001c018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov eax, dword fs:[0x30]
movzx ecx, byte ds:[eax + 2]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], ebx
je 0x1000d3de
push ebx
push ebx
push 0xa
call fcn.10004650
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x20], vtable.CProcessQuery.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 2
push 0x23
lea esi, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.1000ac00
test al, al
mov eax, dword [ebp - 0x1c]
je 0x1000d437
cmp eax, ebx
je 0x1000d44a
cmp byte [eax], bl
je 0x1000d437
cmp byte [eax + 1], bl
jne 0x1000d437
push ebx
push ebx
push 0xa
call fcn.10004650
add esp, 0xc
mov ecx, esi
call fcn.1000abc0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ebx
je 0x1000d44a
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d980
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push str.LdrLoadDll
push str.Ntdll.dll
mov dword [ebp - 0xc], 0x304e25ff
mov word [ebp - 8], 0x501a
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000d9b8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x1012c868
call edi
mov ecx, dword [esi]
mov dword [0x1012c868], ecx
mov ecx, dword [ebp - 4]
mov dx, word [esi + 4]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push 0x1012c868
mov word [0x1012c86c], dx
call edi
lea edx, [ebp - 4]
push edx
push 0x40
push 6
push esi
call edi
mov eax, dword [ebp - 0xc]
mov cx, word [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 4]
push edx
push eax
push 6
push esi
mov word [esi + 4], cx
call edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000da20
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.LdrLoadDll
push str.Ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000da49
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push esi
call edi
mov ecx, dword [0x1012c868]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
mov dx, word [0x1012c86c]
lea eax, [ebp - 4]
push eax
push ecx
push 6
push esi
mov word [esi + 4], dx
call edi
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000db70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x1001c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10001310
mov edi, dword [0x1012cd28]
mov edx, dword [edi]
cmp edx, edi
je 0x1000dc1c
lea ecx, [ecx]
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 0x10]
or eax, 0xffffffff
test ecx, ecx
je 0x1000dbd1
lea ecx, [ecx]
movzx ebx, byte [esi]
mov edi, eax
and edi, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [ebp + edi*4 - 0x408]
inc esi
dec ecx
jne 0x1000dbb0
mov edi, dword [0x1012cd28]
not eax
cmp dword [edx + 0x18], eax
jne 0x1000dc2f
cmp byte [edx + 0x1d], 0
jne 0x1000dc18
mov eax, dword [edx + 8]
cmp byte [eax + 0x1d], 0
jne 0x1000dbfd
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
jne 0x1000dc18
mov edx, eax
mov eax, dword [edx]
cmp byte [eax + 0x1d], 0
je 0x1000dbf1
jmp 0x1000dc18
mov eax, dword [edx + 4]
cmp byte [eax + 0x1d], 0
jne 0x1000dc16
cmp edx, dword [eax + 8]
jne 0x1000dc16
mov edx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x1000dc06
mov edx, eax
cmp edx, edi
jne 0x1000dba0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100143c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.100143c4
mov esp, ebp
pop ebp
ret
Function at 0x100108c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x1012cdac], 0
push esi
je 0x10010930
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x1012cdb0]
cmp eax, 0x1388
jbe 0x10010930
push 0x1012cddc
call dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
test eax, eax
je 0x10010930
call fcn.100012c0
call esi
mov dword [0x1012cdb0], eax
test eax, eax
je 0x10010925
call fcn.10010810
test al, al
jne 0x10010925
push 0x1388
xor ecx, ecx
call fcn.10007da0
push eax
push 2
mov eax, 0x1012bc40
call fcn.10010e10
add esp, 0xc
pop esi
ret
push 0x1012cddc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x10010a40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x10010a72
jmp 0x10010a60
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x10010a60
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x10010a80
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10015376
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1001c018]
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 eax, dword [ebp + 8]
mov dx, word [0x100187a0]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1001879c]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10010ca8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x10010b00
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10010bb6
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10010b43
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.10011b50
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10010b70
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.100113e0
mov esi, eax
cmp esi, 0xffffffff
jne 0x10010bd5
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x10010bb6
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x10010bb6
cmp word [ebx], di
je 0x10010ca8
mov esi, dword [ebp - 0x660]
jmp 0x10010b00
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10010bf7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.10011b50
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10010c21
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.10011250
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x10010c62
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x10010c76
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x10010ca4
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x10010caa
xor al, al
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.100143c4
mov esp, ebp
pop ebp
ret