joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ab20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fe800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
push eax
lea eax, [esp + 0x10]
push 0x509460
push eax
mov byte [esp + 0x24], 1
call fcn.00401c40
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push edx
push edi
push esi
lea ecx, [esp + 0x28]
push str._d__d__d__d__d
push ecx
call fcn.00401c40
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
add esp, 0x28
push esi
push edi
push str.Path
call fcn.0047ef80
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48abe0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x48ac04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x48bf30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fe866
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
mov dword [esi], 0x511b38
push edi
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], 0x511b20
mov dword [esi + 8], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x20], 0x505ef0
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
lea ebp, [esi + 0x34]
mov ecx, ebp
mov byte [esp + 0x18], 1
call fcn.00493e40
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48c920
Capabilities:
Parse pe header
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x531d28]
push edi
mov dword [esp + 0x114], eax
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0xc]
push eax
push str._SystemRoot_System32User32.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
mov dword [0x534a3c], eax
cmp word [ecx], 0x5a4d
jne 0x48c9a0
mov edi, dword [ecx + 0x3c]
mov edx, dword [ecx + edi]
add ecx, edi
cmp edx, 0x4550
jne 0x48c9a0
mov ecx, dword [ecx + 0x50]
add ecx, eax
mov dword [0x534a40], ecx
mov ecx, dword [esp + 0x114]
call fcn.004d40be
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x114]
add eax, 0x90000
mov dword [0x534a40], eax
call fcn.004d40be
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x48caf0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages

Disassembly:
sub esp, 0x10
mov eax, dword [0x531d28]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], esi
jmp 0x48cb10
mov cl, byte [esi + ebp]
cmp cl, 0x70
lea eax, [esi + ebp]
jb 0x48cb20
cmp cl, 0x7f
jbe 0x48cb36
push eax
call fcn.0048c9c0
add esi, eax
add esp, 4
cmp esi, 6
mov dword [esp + 0xc], esi
jb 0x48cb10
jmp 0x48cb3f
cmp esi, 6
jb 0x48cc5c
push ebx
push 0x40
push 0x1000
push 0x50
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x50
mov ebx, eax
push 0x530850
push ebx
call fcn.004d47e0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [ebx + 0x1a], edx
lea ecx, [eax*4]
mov word [ebx + 0x2f], cx
mov dword [ebx + 0x44], ebp
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x4b], eax
mov ecx, dword [esp + 0x1c]
mov edx, ecx
shr ecx, 2
mov esi, ebp
lea edi, [ebx + 0x33]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x10], esi
mov al, byte [esi + ebp]
cmp al, 0xe9
jne 0x48cbcf
push str.Match_Code_0xE9_r_n
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + ebx + 0x34]
mov ecx, ebp
sub ecx, ebx
sub ecx, 0x33
add edx, ecx
mov dword [eax + ebx + 0x34], edx
mov esi, dword [esp + 0x10]
jmp 0x48cbfd
cmp al, 0xe8
jne 0x48cbf5
push str.Match_Code_0xE8_r_n
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebx + 0x34]
mov edx, ebp
sub edx, ebx
sub edx, 0x33
add ecx, edx
mov dword [eax + ebx + 0x34], ecx
mov esi, dword [esp + 0x10]
jmp 0x48cbfd
cmp al, 0x70
jb 0x48cbfd
cmp al, 0x7f
jbe 0x48cc16
lea eax, [esi + ebp]
push eax
call fcn.0048c9c0
add esi, eax
add esp, 4
cmp esi, 6
mov dword [esp + 0x10], esi
jb 0x48cba6
jmp 0x48cc1d
push str.Match_Code_0x70____0x7F_r_n
call edi
lea ecx, [esp + 0x10]
push ecx
push 6
lea edx, [esp + 0x1c]
push edx
push ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 0x68
mov dword [esp + 0x25], ebx
mov byte [esp + 0x29], 0xc3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xc]
call fcn.004d40be
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.004d40be
add esp, 0x10
ret

Function at 0x48cc70
Capabilities:
Query environment variable

Disassembly:
push edi
push 0x104
push 0x534938
xor eax, eax
mov ecx, 0x41
mov edi, 0x534938
push str._SystemRoot_System32MSCTF.dll
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
call fcn.0048c920
push str.LoadLibraryExW
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
pop edi
je 0x48ccca
push 0x48c840
push 3
push eax
call fcn.0048caf0
add esp, 0xc
mov dword [0x534a44], eax
ret
Function at 0x491860
Capabilities:
Access peb ldr_data
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4feb44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004915a0
xor ebx, ebx
lea edi, [esi + 0x34]
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi], 0x511fec
mov dword [esi + 0x30], ebx
call fcn.00493e40
mov dword [edi + 4], eax
mov cl, 1
mov byte [eax + 0x15], cl
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x20], cl
lea edi, [esi + 0x40]
push 0x502a56
mov ecx, edi
call fcn.00401fd0
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 2
call fcn.00401270
mov dword [esi + 0x64], 0x5114d4
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], 0xa
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0x24], 4
call fcn.00483220
push str.DataPkgDeleted.ini
push eax
lea ecx, [esp + 0x18]
mov bl, 5
push ecx
mov byte [esp + 0x30], bl
call fcn.00401e30
add esp, 0x10
push eax
mov ecx, edi
mov byte [esp + 0x24], 6
call fcn.00403fd0
mov edi, dword [edi]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x49195d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491980
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x495390
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fef57
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00401270
lea ebp, [esi + 0x20]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x18], edi
call fcn.00493e40
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], reloc.OLEAUT32.dll_SafeArrayGetElement
mov dword [esi + 0x40], 0x11
mov dword [esi + 0x34], 0x512164
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 2
call fcn.004e32b6
lea ecx, [esi + 0x84]
mov byte [esp + 0x18], 3
call fcn.004e32b6
lea ebp, [esi + 0x8c]
mov ecx, ebp
mov byte [esp + 0x18], 4
call fcn.00493e40
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa0], edi
pop edi
mov dword [esi + 0x98], 0x512158
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x495c50
Capabilities:
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes

Disassembly:
sub esp, 0x60
mov eax, dword [0x531d28]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
mov dword [esp + 0x70], eax
mov esi, ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 8]
push ecx
lea ebx, [esi + 0xc]
push ebx
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 1
call edi
push 0
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x18], eax
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 4]
push eax
call edi
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x495d61
test eax, eax
je 0x495d61
mov edx, dword [str.cmd.exe]
mov ebp, dword [ebp]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx]
mov dword [esp + 0x58], ecx
add esi, 0x14
push esi
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 1
push 0
mov dword [esp + 0x80], edx
push 0
lea edx, [esp + 0x84]
mov word [esp + 0x70], ax
mov eax, dword [0x512298]
push edx
push 0
mov dword [esp + 0x74], 0x101
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x90], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x32
push str.WorkNbms_bar_trunkBarServerBSUtilsShellCmd.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.ShellCmd_Init.
push 4
call fcn.0047fc80
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
call fcn.004d40be
add esp, 0x60
ret
push 0x24
push str.WorkNbms_bar_trunkBarServerBSUtilsShellCmd.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.ShellCmd_Init_CreatePipe_Failed_.
push 0x20
call fcn.0047fc80
mov ecx, dword [esp + 0x74]
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
call fcn.004d40be
add esp, 0x60
ret
Function at 0x495da0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x531d28]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [str.exit_n]
push esi
mov esi, ecx
mov cx, word [0x5122b4]
mov dword [esp + 0xc], eax
xor ebx, ebx
lea eax, [esp + 0xc]
push edi
mov dword [esp + 0xc], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x495dd3
mov ecx, dword [esi + 8]
sub eax, edx
push ebx
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x495e11
push eax
call edi
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x495e1e
push eax
call edi
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x495e2b
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x495e38
push eax
call edi
mov dword [esi + 8], ebx
push 0x51
push str.WorkNbms_bar_trunkBarServerBSUtilsShellCmd.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.ShellCmd_Uninit.
push 4
call fcn.0047fc80
mov ecx, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
call fcn.004d40be
add esp, 0x10
ret

Function at 0x495db2
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
mov eax, dword [0x531d28]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [str.exit_n]
push esi
mov esi, ecx
mov cx, word [0x5122b4]
mov dword [esp + 0xc], eax
xor ebx, ebx
lea eax, [esp + 0xc]
push edi
mov dword [esp + 0xc], ebx
mov word [esp + 0x14], cx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x495dd3
mov ecx, dword [esi + 8]
sub eax, edx
push ebx
lea edx, [esp + 0x10]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xc]
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x495e11
push eax
call edi
mov dword [esi + 0xc], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x495e1e
push eax
call edi
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x495e2b
push eax
call edi
mov dword [esi + 4], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x495e38
push eax
call edi
mov dword [esi + 8], ebx
push 0x51
push str.WorkNbms_bar_trunkBarServerBSUtilsShellCmd.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.ShellCmd_Uninit.
push 4
call fcn.0047fc80
mov ecx, dword [esp + 0x20]
add esp, 8
pop edi
pop esi
pop ebx
call fcn.004d40be
add esp, 0x10
ret
Function at 0x495f60
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4fef98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.00401300
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [edi + 0x24]
mov dword [esp + 0x20], 0
call fcn.00403be0
mov edi, dword [edi + 0x28]
mov eax, dword [esp + 8]
cmp eax, edi
jne 0x495ffd
push 0xaa
push str.WorkNbms_bar_trunkBarServerBSUtilsShellCmd.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
mov edx, dword [esp + 0x20]
push edx
push str.ShellCmd_session_for_view__d__not_exists.
push 0x20
call fcn.0047fc80
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0x14]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 8
mov edi, dword [esp + 0x24]
mov edx, dword [eax + 0x10]
mov eax, edi
push ebp
mov dword [esp + 0x24], 0
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x496012
mov edx, dword [edx + 8]
push 0
lea ecx, [esp + 0x28]
push ecx
sub eax, ebp
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x14]
pop ebp
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x496690
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov dword [esp + 0xc], ebx
call fcn.00401300
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push ecx
push edx
push eax
call fcn.004d73e0
mov ecx, dword [esi + 0x30]
mov edi, eax
sub eax, ecx
jne 0x4966f1
mov eax, 0xa
mov ecx, dword [esp + 0x28]
mov edx, dword [esi]
add edx, ecx
cmp eax, dword [esi + 0x38]
mov dword [esi], edx
jb 0x496726
push edi
mov ecx, esi
call fcn.00496570
test eax, eax
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
jge 0x49671a
fadd qword [0x50f770]
fstp qword [esi + 0x28]
mov dword [esi], 0
mov dword [esi + 0x30], edi
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x20], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4996a0
Capabilities:
Unmount volume via ioctl

Disassembly:
sub esp, 0xc
mov eax, dword [0x531d28]
mov cx, word [0x512518]
mov dl, byte [0x51251a]
push esi
push 0
push 0x20000000
push 3
push 0
mov dword [esp + 0x1c], eax
mov eax, dword [0x512514]
push 3
mov word [esp + 0x1c], cx
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x28]
push 0xc0000000
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x26], dl
mov byte [esp + 0x24], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49970c
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop esi
mov ecx, dword [esp + 8]
call fcn.004d40be
add esp, 0xc
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call edi
test eax, eax
jne 0x49974a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [esp + 8]
call fcn.004d40be
add esp, 0xc
ret
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 0
push 0
push 0x8000e004
push esi
call edi
test eax, eax
je 0x49972e
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0x90020
push esi
call edi
test eax, eax
je 0x49972e
push 0
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push esi
call edi
test eax, eax
push esi
je 0x49972f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
je 0x499735
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop esi
call fcn.004d40be
add esp, 0xc
ret
Function at 0x49fe00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ff39a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x12c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov word [esi + 0x2c], di
mov word [esi + 0x2e], di
mov word [esi + 0x30], di
mov word [esi + 0x32], di
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 3
mov dword [esi + 0x4c], 0xa
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov eax, dword [esi + 4]
cmp eax, edi
mov byte [esp + 0x14], 6
je 0x49fea5
push eax
call fcn.004e50f9
add esp, 4
push 1
mov dword [esi], 1
call fcn.004e50fe
mov dword [esi + 4], eax
mov cl, byte [0x502a56]
mov byte [eax], cl
mov eax, dword [esi + 0xc]
add esp, 4
cmp eax, edi
je 0x49fed0
push eax
call fcn.004e50f9
add esp, 4
push 1
mov dword [esi + 8], 1
call fcn.004e50fe
mov dword [esi + 0xc], eax
mov dl, byte [0x502a56]
mov byte [eax], dl
mov eax, dword [esi + 0x28]
add esp, 4
cmp eax, edi
je 0x49fefc
push eax
call fcn.004e50f9
add esp, 4
push 1
mov dword [esi + 0x24], 1
call fcn.004e50fe
mov dword [esi + 0x28], eax
mov cl, byte [0x502a56]
add esp, 4
mov byte [eax], cl
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4a15e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ff4ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00499b30
xor edi, edi
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], edi
call fcn.00499b30
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.00499b30
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 5
call fcn.00499b30
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret