joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445350
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59ace8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 4
call fcn.00464e30
xor ebx, ebx
or eax, 0xffffffff
push 0xc
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CProcessor.0
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x1c], ebx
call fcn.0056cb85
add esp, 4
cmp eax, ebx
je 0x4453c1
mov dword [eax], vtable.CTList_class_CCPUCore_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4453c3
xor eax, eax
push 0xc
mov dword [esi + 0x20], eax
call fcn.0056cb85
add esp, 4
cmp eax, ebx
je 0x4453e2
mov dword [eax], vtable.CTList_class_CCPUThread_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x4453e4
xor eax, eax
push 0xc
mov dword [esi + 0x24], eax
call fcn.0056cb85
add esp, 4
cmp eax, ebx
je 0x445403
mov dword [eax], vtable.CTList_class_CCacheDescriptor_.0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
jmp 0x445405
xor eax, eax
fld dword [0x5e2900]
mov dword [esi + 0x28], eax
fst dword [esi + 0x1b8]
mov dword [esi + 0x34], ebx
fstp dword [esi + 0x1bc]
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
mov dword [esi + 0x1cc], ebx
mov dword [esi + 0x1d0], ebx
mov byte [esi + 0x38], bl
mov byte [esi + 0x138], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x44ec80
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x59aa1b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00491bd0
call fcn.0043bf70
mov esi, dword [eax + 0x74]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x44ecd2
fadd dword [0x5e2978]
cmp dword [esi + 0x118], 0
fstp dword [esp + 0x10]
jne 0x44ed71
push 0x168
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x44ed0b
push 0
mov ecx, eax
call fcn.0046f440
jmp 0x44ed0d
xor eax, eax
mov dword [esi + 0x118], eax
or dword [eax + 0x144], 0x1c0e000
mov edx, dword [esi + 0x118]
push str.System_Memory
add edx, 4
push 0x100
push edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043a290
mov ecx, dword [esi + 0x118]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call edx
mov edi, dword [esi + 0x118]
call fcn.0043bf70
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 8]
mov dword [edi + 0x148], edx
mov ecx, dword [eax + 0x38]
push edi
call fcn.00442dc0
fld dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [esi + 0x118]
fstp dword [esp]
call fcn.0046d590
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x44edc9
mov esi, dword [eax + 4]
test esi, esi
je 0x44edc9
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44edc9
mov edi, 0x80000
cmp dword [ecx + 0x104], 1
jne 0x44edae
test dword [ebx + 0x10], edi
je 0x44edb5
push 0
call fcn.0046c040
test esi, esi
je 0x44edc9
mov eax, dword [esi + 8]
test eax, eax
je 0x44edc9
mov ecx, dword [eax + 4]
mov esi, eax
test ecx, ecx
jne 0x44eda0
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x4511f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59aabf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K10_FIDVID_Control.0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
xor edi, edi
lea ebp, [esi + 0x44]
push 0x10
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x451288
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00496480
jmp 0x45128a
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x451261
push 0x10
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x4512bf
push 0xc0010062
mov ecx, eax
call fcn.00496480
jmp 0x4512c1
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x5c], eax
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x4512ed
push 0xc0010063
mov ecx, eax
call fcn.00496480
jmp 0x4512ef
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x58], eax
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 4
cmp eax, ebx
je 0x45131b
push 0xc0010071
mov ecx, eax
call fcn.00496480
jmp 0x45131d
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x34], eax
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 5
cmp eax, ebx
je 0x45134c
push 0xc0010070
mov ecx, eax
call fcn.00496480
mov dword [esi + 0x38], eax
jmp 0x45134f
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x451ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59ab5e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K17_FIDVID_Control.0
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x451f60
push 0x10
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x451f87
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00496480
jmp 0x451f89
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 8
mov byte [esp + 0x24], bl
jl 0x451f60
push 0x10
call fcn.0056cb85
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x451fc1
push 0xc0010293
mov ecx, eax
call fcn.00496480
mov dword [esi + 0x34], eax
jmp 0x451fc4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x476390
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59b7b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CPCIDevice.0
mov eax, dword [esi + 0x30]
xor edi, edi
mov dword [esp + 0x18], edi
cmp eax, edi
je 0x4763d8
push eax
call fcn.0056cbb4
add esp, 4
mov dword [esi + 0x30], edi
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x4763f6
call fcn.0043a860
mov ecx, dword [esi + 0x24]
cmp ecx, edi
je 0x4763f3
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x24], edi
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x476414
call fcn.0043a860
mov ecx, dword [esi + 0x20]
cmp ecx, edi
je 0x476411
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0x18]
cmp ecx, edi
je 0x476426
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x18], edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x476438
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x47644b
push eax
call fcn.0056cbb4
add esp, 4
mov dword [esi + 0x38], edi
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00464e20
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x482944
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x84]
push edi
push esi
call fcn.00456330
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
cmp edi, 0xffffffff
je 0x482b94
mov eax, dword [esi + 0x174]
cmp eax, ebp
je 0x482b94
cmp dword [esi + 0x178], ebp
je 0x482b94
cmp dword [esi + 0x184], ebp
je 0x482b94
cmp dword [esi + 0x180], ebp
je 0x482b94
mov edx, dword [esi + 0x114]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x482b87
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x482b87
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.0056cbbf
mov ecx, dword [esi + 0x114]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x174]
push edx
call eax
add esp, 0x10
test eax, eax
jne 0x482b7d
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x482b7d
mov ebp, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x178]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x20
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x482b72
mov eax, dword [esp + 0x38]
sub eax, 0
je 0x482aeb
sub eax, 1
jne 0x482b72
cmp dword [esp + 0x90], eax
je 0x482ab6
push 0x38
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0057f470
mov ecx, dword [esi + 0x184]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x482b72
fld qword [esp + 0x78]
fstp dword [ebp + 8]
jmp 0x482b6a
mov ecx, dword [esi + 0x180]
xor eax, eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x18
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
jmp 0x482b5c
cmp dword [esp + 0x90], 0
je 0x482b29
push 0x38
lea edx, [esp + 0x54]
push 0
push edx
call fcn.0057f470
mov edx, dword [esi + 0x184]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 0x14
test eax, eax
jne 0x482b72
fld qword [esp + 0x78]
jmp 0x482b67
mov edx, dword [esi + 0x180]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x482b72
fld qword [esp + 0x28]
fstp dword [ebp + 4]
mov dword [esp + 0x14], 1
inc edi
cmp edi, dword [esp + 0x10]
jb 0x482a14
push ebx
call fcn.0056cbb4
add esp, 4
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x78
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x78
ret 0xc
Function at 0x497f40
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x214]
push edi
lea edi, [esi + 0x214]
xor eax, eax
cmp ecx, 0xffffffff
je 0x497fb5
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x220]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x497f97
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x497f9c
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x497fb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x497fc0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x218]
push edi
lea edi, [esi + 0x218]
xor eax, eax
cmp ecx, 0xffffffff
je 0x498035
lea eax, [esi + 0x224]
push eax
mov eax, dword [esi + 0x21c]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x238]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x498017
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x49801c
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x498033
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x49bc30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x59ace8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x619e70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x10
call fcn.00464e30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
xor edi, edi
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x2c]
mov dword [esi + 0x18], ecx
mov cl, byte [esp + 0x30]
push 0x200
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDrive.0
mov dword [esi + 0x10], edi
mov byte [esi + 0x20], dl
mov byte [esi + 0x21], al
mov byte [esi + 0x22], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.0056cbbf
push 0x5d2f5b
push 0x200
push eax
mov dword [esi + 0x34], eax
call fcn.0057eed3
push 0x200
call fcn.0056cbbf
push 0x5d2f5b
push 0x200
push eax
mov dword [esi + 0x38], eax
call fcn.0057eed3
push 0x200
call fcn.0056cbbf
push 0x5d2f5b
push 0x200
push eax
mov dword [esi + 0x3c], eax
call fcn.0057eed3
push 0x20
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.0056cb85
fld qword [0x5e2910]
add esp, 0x34
cmp eax, edi
je 0x49bd26
fld dword [0x5e2900]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49bd2a
fstp st(0)
xor eax, eax
push 0x20
mov dword [esi + 0x48], eax
call fcn.0056cb85
add esp, 4
cmp eax, edi
je 0x49bd58
fld dword [0x5e2900]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5e2910]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49bd5a
xor eax, eax
push 0x20
mov dword [esi + 0x4c], eax
call fcn.0056cb85
add esp, 4
cmp eax, edi
je 0x49bd88
fld dword [0x5e2900]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5e2910]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49bd8a
xor eax, eax
push 0x20
mov dword [esi + 0x50], eax
call fcn.0056cb85
add esp, 4
cmp eax, edi
je 0x49bdb8
fld dword [0x5e2900]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5e2910]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x49bdba
xor eax, eax
mov dword [esi + 0x54], eax
or eax, 0xffffffff
mov ecx, 1
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14
Function at 0x49ca60
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.0057fdf0
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
mov ebx, dword [esp + 0x1044]
push esi
mov esi, dword [esp + 0x1044]
push edi
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0057f470
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 1
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
mov dword [esp + 0x44], 0
call edi
test eax, eax
je 0x49cb1f
push 0x1000
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.0057f520
add esp, 0xc
mov eax, 1
jmp 0x49cb68
push 0
lea edx, [esp + 0x10]
push edx
push 0x1030
lea eax, [esp + 0x1c]
push eax
push 0x1030
mov ecx, eax
push ecx
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call edi
test eax, eax
je 0x49cb66
push 0x1000
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.0057f520
add esp, 0xc
mov eax, 1
jmp 0x49cb68
xor eax, eax
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x1038
ret 8

Function at 0x49cb90
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.0057fdf0
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x1034], eax
push ebx
push esi
mov esi, dword [esp + 0x1044]
push edi
mov edi, dword [esp + 0x104c]
push 0x1030
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0057f470
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
mov eax, 2
push 0x1030
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x30], 0x31
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0x28
mov dword [esp + 0x4c], 0x1000
call ebx
test eax, eax
je 0x49cc47
mov ecx, 0x80
lea esi, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x49cc74
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1030
lea edx, [esp + 0x1c]
push edx
push 0x1030
mov eax, edx
push eax
push 0x2d1400
push esi
mov dword [esp + 0x44], 0xffffffff
call ebx
test eax, eax
jne 0x49cc35
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x1038
ret 8
Function at 0x49cc90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.0057fdf0
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
mov esi, dword [esp + 0x105c]
push edi
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0057f470
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x44], 2
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
mov byte [esp + 0x78], 1
call edi
test eax, eax
je 0x49ce1c
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 5
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call edi
test eax, eax
je 0x49ce1c
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
movzx edi, byte [esp + eax + 0x58]
add ecx, edi
movzx edi, byte [esp + eax + 0x59]
add ebx, edi
movzx edi, byte [esp + eax + 0x5a]
add edx, edi
movzx edi, byte [esp + eax + 0x5b]
add eax, 4
add esi, edi
cmp eax, 0x200
jl 0x49cdd4
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x49ce1c
push 0x1000
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.0057f520
add esp, 0xc
mov eax, 1
jmp 0x49ce1e
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x104c
ret 8
Function at 0x49ce40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x104c
call fcn.0057fdf0
mov eax, dword [0x619e70]
xor eax, esp
mov dword [esp + 0x1048], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x105c]
push edi
mov edi, dword [esp + 0x1064]
push 0x1044
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0057f470
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
push ebx
mov eax, 2
mov dword [esp + 0x28], eax
mov byte [esp + 0x5c], al
mov al, 0xff
lea edx, [esp + 0x14]
push edx
push 0x244
mov byte [esp + 0x68], al
mov byte [esp + 0x69], al
mov byte [esp + 0x6a], al
mov byte [esp + 0x6b], al
lea eax, [esp + 0x20]
push eax
mov ecx, 0x2c
push 0x244
mov word [esp + 0x28], cx
mov dword [esp + 0x40], ecx
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3b], 0x18
mov dword [esp + 0x40], 0x200
mov dword [esp + 0x48], 0x44
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xb5
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], 0x40
mov byte [esp + 0x3c], bl
call ebp
test eax, eax
je 0x49cfe0
push ebx
lea edx, [esp + 0x14]
push edx
push 0x244
lea eax, [esp + 0x20]
push eax
push 0x244
mov ecx, eax
push ecx
push 0x4d004
push esi
mov byte [esp + 0x3a], 0x10
mov byte [esp + 0x50], 0xa2
mov byte [esp + 0x51], 0xfe
mov byte [esp + 0x52], bl
mov byte [esp + 0x53], 6
mov byte [esp + 0x54], bl
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], bl
mov byte [esp + 0x57], bl
mov byte [esp + 0x58], 1
mov byte [esp + 0x59], bl
mov byte [esp + 0x3c], 1
mov byte [esp + 0x78], bl
call ebp
test eax, eax
je 0x49cfe0
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
jmp 0x49cfa0
movzx ebp, byte [esp + eax + 0x58]
add ecx, ebp
movzx ebp, byte [esp + eax + 0x59]
add ebx, ebp
movzx ebp, byte [esp + eax + 0x5a]
add edx, ebp
movzx ebp, byte [esp + eax + 0x5b]
add eax, 4
add esi, ebp
cmp eax, 0x200
jl 0x49cfa0
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x49cfe0
mov ecx, 0x80
lea esi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov eax, 1
jmp 0x49cfe2
xor eax, eax
mov ecx, dword [esp + 0x1058]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0057db4c
add esp, 0x104c
ret 8