joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f500
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x5f72d8]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x9c
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
mov edi, ecx
call fcn.0055b160
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call ebx
test eax, eax
jne 0x45f571
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.0055b160
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call ebx
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.0045ea70
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x45f653
sub eax, 1
jne 0x45f66d
cmp dword [esp + 0x14], 4
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
ja 0x45f632
call fcn.0045ea70
add esp, 0x10
lea eax, [esp + 0xac]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x45f5f8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, edi
call fcn.0045c5c0
jmp 0x45f66f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x45f63a
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.0045ea70
mov ecx, dword [esp + 0x2c4]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.0045c5c0
jmp 0x45f66f
call fcn.0045ea70
add esp, 0x10
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.0045c5c0
jmp 0x45f66f
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0xac]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x45f66f
mov eax, ebp
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a90d
add esp, 0x2a0
ret 0xc
Function at 0x45ff70
Capabilities:
Get file version info

Disassembly:
sub esp, 0x58
mov eax, dword [0x5f72d8]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x64]
push ebp
mov ebp, dword [esp + 0x64]
push edi
lea eax, [esp + 0x1c]
push eax
push ebp
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x4600c6
push esi
push edi
call fcn.0054996d
add esp, 4
mov esi, eax
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4600bc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x587b4c
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4600bc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46009d
mov eax, dword [esp + 0x18]
movzx edx, word [eax + 2]
movzx eax, word [eax]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x58b478
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46004f
mov edx, dword [esp + 0x14]
push edx
lea eax, [ebx + 0x10]
push 0x100
push eax
call fcn.0045ea70
add esp, 0xc
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x2c]
push 0x58b450
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x46009d
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [ebx + 0x110]
push 0x100
push edx
call fcn.0045ea70
add esp, 0xc
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xa]
mov dword [ebx], ecx
movzx edx, word [eax + 8]
mov dword [ebx + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [ebx + 8], ecx
movzx edx, word [eax + 0xc]
mov dword [ebx + 0xc], edx
push esi
call fcn.00549978
add esp, 4
pop esi
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a90d
add esp, 0x58
ret 8
Function at 0x472840
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x57cc7b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5f72d8]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004addd0
call fcn.004605a0
mov esi, dword [eax + 0x68]
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 0x472892
fadd dword [0x5c1120]
cmp dword [esi + 0x118], 0
fstp dword [esp + 0x10]
jne 0x472931
push 0x168
call fcn.0054993e
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x4728cb
push 0
mov ecx, eax
call fcn.0048ec30
jmp 0x4728cd
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.0045ea70
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.004605a0
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [edi + 0x148], edx
mov ecx, dword [eax + 0x34]
push edi
call fcn.004673e0
fld dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [esi + 0x118]
fstp dword [esp]
call fcn.0048cd50
mov eax, dword [ebx + 8]
test eax, eax
je 0x472989
mov esi, dword [eax + 4]
test esi, esi
je 0x472989
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x472989
mov edi, 0x80000
cmp dword [ecx + 0x104], 1
jne 0x47296e
test dword [ebx + 0xc], edi
je 0x472975
push 0
call fcn.004af930
test esi, esi
je 0x472989
mov eax, dword [esi + 8]
test eax, eax
je 0x472989
mov ecx, dword [eax + 4]
mov esi, eax
test ecx, ecx
jne 0x472960
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x474dc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57cd1f
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f72d8]
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.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x474e58
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00492cd0
jmp 0x474e5a
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x474e31
push 0x10
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x474e8f
push 0xc0010062
mov ecx, eax
call fcn.00492cd0
jmp 0x474e91
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x5c], eax
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x474ebd
push 0xc0010063
mov ecx, eax
call fcn.00492cd0
jmp 0x474ebf
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x58], eax
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 4
cmp eax, ebx
je 0x474eeb
push 0xc0010071
mov ecx, eax
call fcn.00492cd0
jmp 0x474eed
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x34], eax
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 5
cmp eax, ebx
je 0x474f1c
push 0xc0010070
mov ecx, eax
call fcn.00492cd0
mov dword [esi + 0x38], eax
jmp 0x474f1f
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 0x475ad0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57cdee
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f72d8]
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 0x475b40
push 0x10
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x475b67
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00492cd0
jmp 0x475b69
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 8
mov byte [esp + 0x24], bl
jl 0x475b40
push 0x10
call fcn.0054993e
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x475ba1
push 0xc0010293
mov ecx, eax
call fcn.00492cd0
mov dword [esi + 0x34], eax
jmp 0x475ba4
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 0x479440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x479aff
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4795cb
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 0xd2
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0x6e
mov byte [ebp - 0x777], 0x17
mov byte [ebp - 0x776], 0x71
mov byte [ebp - 0x775], 0x7d
mov byte [ebp - 0x774], 0x5f
mov byte [ebp - 0x773], 0x42
mov byte [ebp - 0x772], 0x4a
mov byte [ebp - 0x771], 0x5f
mov byte [ebp - 0x770], 0x4c
mov byte [ebp - 0x76f], 0x40
mov byte [ebp - 0x76e], 0xd
mov byte [ebp - 0x76d], 0x6b
test dword [ebx + 0x6bfffff8], edx
mov byte [ebp - 0x76c], 0x44
mov byte [ebp - 0x76b], 0x41
mov byte [ebp - 0x76a], 0x48
mov byte [ebp - 0x769], 0x5e
mov byte [ebp - 0x768], 0x71
mov byte [ebp - 0x767], 0x6e
mov byte [ebp - 0x766], 0x42
mov byte [ebp - 0x765], 0x40
mov byte [ebp - 0x764], 0x40
mov byte [ebp - 0x763], 0x42
mov byte [ebp - 0x762], 0x43
mov byte [ebp - 0x761], 0xd
mov byte [ebp - 0x760], 0x6b
mov byte [ebp - 0x75f], 0x44
mov byte [ebp - 0x75e], 0x41
mov byte [ebp - 0x75d], 0x48
mov byte [ebp - 0x75c], 0x5e
mov byte [ebp - 0x75b], 0x71
mov byte [ebp - 0x75a], 0x7e
mov byte [ebp - 0x759], 0x54
mov byte [ebp - 0x758], 0x5e
mov byte [ebp - 0x757], 0x59
mov byte [ebp - 0x756], 0x48
mov byte [ebp - 0x755], 0x40
mov byte [ebp - 0x754], 0x71
mov byte [ebp - 0x753], 0x5e
mov byte [ebp - 0x752], 0x54
mov byte [ebp - 0x751], 0x40
mov byte [ebp - 0x750], 0x5e
mov byte [ebp - 0x74f], 0x5f
mov byte [ebp - 0x74e], 0x5b
mov byte [ebp - 0x74d], 3
mov byte [ebp - 0x74c], 0x49
mov byte [ebp - 0x74b], 0x41
mov byte [ebp - 0x74a], 0x41
mov byte [ebp - 0x749], 0x2d
lea eax, [ebp - 0x77c]
push eax
call fcn.00477a6f
pop ecx
invalid
Function at 0x479480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x479aff
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4795cb
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 0xd2
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0x6e
mov byte [ebp - 0x777], 0x17
mov byte [ebp - 0x776], 0x71
mov byte [ebp - 0x775], 0x7d
mov byte [ebp - 0x774], 0x5f
mov byte [ebp - 0x773], 0x42
mov byte [ebp - 0x772], 0x4a
mov byte [ebp - 0x771], 0x5f
mov byte [ebp - 0x770], 0x4c
mov byte [ebp - 0x76f], 0x40
mov byte [ebp - 0x76e], 0xd
mov byte [ebp - 0x76d], 0x6b
test dword [ebx + 0x6bfffff8], edx
mov byte [ebp - 0x76c], 0x44
mov byte [ebp - 0x76b], 0x41
mov byte [ebp - 0x76a], 0x48
mov byte [ebp - 0x769], 0x5e
mov byte [ebp - 0x768], 0x71
mov byte [ebp - 0x767], 0x6e
mov byte [ebp - 0x766], 0x42
mov byte [ebp - 0x765], 0x40
mov byte [ebp - 0x764], 0x40
mov byte [ebp - 0x763], 0x42
mov byte [ebp - 0x762], 0x43
mov byte [ebp - 0x761], 0xd
mov byte [ebp - 0x760], 0x6b
mov byte [ebp - 0x75f], 0x44
mov byte [ebp - 0x75e], 0x41
mov byte [ebp - 0x75d], 0x48
mov byte [ebp - 0x75c], 0x5e
mov byte [ebp - 0x75b], 0x71
mov byte [ebp - 0x75a], 0x7e
mov byte [ebp - 0x759], 0x54
mov byte [ebp - 0x758], 0x5e
mov byte [ebp - 0x757], 0x59
mov byte [ebp - 0x756], 0x48
mov byte [ebp - 0x755], 0x40
mov byte [ebp - 0x754], 0x71
mov byte [ebp - 0x753], 0x5e
mov byte [ebp - 0x752], 0x54
mov byte [ebp - 0x751], 0x40
mov byte [ebp - 0x750], 0x5e
mov byte [ebp - 0x74f], 0x5f
mov byte [ebp - 0x74e], 0x5b
mov byte [ebp - 0x74d], 3
mov byte [ebp - 0x74c], 0x49
mov byte [ebp - 0x74b], 0x41
mov byte [ebp - 0x74a], 0x41
mov byte [ebp - 0x749], 0x2d
lea eax, [ebp - 0x77c]
push eax
call fcn.00477a6f
pop ecx
invalid
Function at 0x492470
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 0x4924e5
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 0x4924c7
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x4924cc
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x4924e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4

Function at 0x4924f0
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 0x492565
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 0x492547
push edi
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor edi, edi
jmp 0x49254c
mov edi, 1
mov ecx, dword [esi + 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test edi, edi
jne 0x492563
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
ret 4
Function at 0x4b79e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57e6b8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f72d8]
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.00487600
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor edi, edi
push 0x200
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDrive.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.0054996d
push 0x5b180b
push 0x200
push eax
mov dword [esi + 0x2c], eax
call fcn.0055c215
push 0x200
call fcn.0054996d
push 0x5b180b
push 0x200
push eax
mov dword [esi + 0x30], eax
call fcn.0055c215
push 0x200
call fcn.0054996d
push 0x5b180b
push 0x200
push eax
mov dword [esi + 0x34], eax
call fcn.0055c215
push 0x20
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.0054993e
fld qword [0x5c10b0]
add esp, 0x34
cmp eax, edi
je 0x4b7ac8
fld dword [0x5c10a8]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4b7acc
fstp st(0)
xor eax, eax
push 0x20
mov dword [esi + 0x40], eax
call fcn.0054993e
add esp, 4
cmp eax, edi
je 0x4b7afa
fld dword [0x5c10a8]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5c10b0]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4b7afc
xor eax, eax
push 0x20
mov dword [esi + 0x44], eax
call fcn.0054993e
add esp, 4
cmp eax, edi
je 0x4b7b2a
fld dword [0x5c10a8]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5c10b0]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4b7b2c
xor eax, eax
push 0x20
mov dword [esi + 0x48], eax
call fcn.0054993e
add esp, 4
cmp eax, edi
je 0x4b7b5a
fld dword [0x5c10a8]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x5c10b0]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x4b7b5c
xor eax, eax
mov dword [esi + 0x4c], eax
or eax, 0xffffffff
mov ecx, 1
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x4b87f0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x1038
call fcn.0055d150
mov eax, dword [0x5f72d8]
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.0055b160
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 0x4b88af
push 0x1000
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.0055bea0
add esp, 0xc
mov eax, 1
jmp 0x4b88f8
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 0x4b88f6
push 0x1000
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.0055bea0
add esp, 0xc
mov eax, 1
jmp 0x4b88f8
xor eax, eax
mov ecx, dword [esp + 0x1040]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055a90d
add esp, 0x1038
ret 8
Function at 0x4b8a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24c
mov eax, dword [0x5f72d8]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
mov ebp, dword [esp + 0x25c]
push esi
mov esi, dword [esp + 0x25c]
push edi
push 0x244
xor ebx, ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0055b160
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 0x4b8ba8
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 0x4b8ba8
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 0x4b8b60
add ebx, edx
add ebx, esi
add ecx, ebx
je 0x4b8ba8
push 0x1000
lea edx, [esp + 0x5c]
push edx
push ebp
call fcn.0055bea0
add esp, 0xc
mov eax, 1
jmp 0x4b8baa
xor eax, eax
mov ecx, dword [esp + 0x258]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0055a90d
add esp, 0x24c
ret 8