joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a2c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100a2c77
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x18]
push 0
push eax
push 6
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
mov eax, 0x1112
cmp word [ebp - 0x20], ax
jne 0x100a2d90
cmp dword [ebp - 0x1e], 0x36
jne 0x100a2d90
cmp byte [ebp + 0x10], 0
mov eax, 0x1020f424
push esi
push 0
mov esi, 0x1020f454
cmove esi, eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1020f484]
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1020f488]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1020f48c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1020f490]
push 0
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1020f484]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1020f488]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1020f48c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1020f490]
push 0
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x14]
xor eax, dword [0x1020f484]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
xor eax, dword [0x1020f488]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [0x1020f48c]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
xor eax, dword [0x1020f490]
push edi
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor al, al
pop ebx
xor ecx, ebp
pop edi
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100a80a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [0x105b10c8]
mov esi, 0x861110
push 7
call esi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 8
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 0xc
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 0xe
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 0xf
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 0x41
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 0x4e
call esi
mov ecx, eax
call ebx
test al, al
jne 0x100a8183
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100a8183
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x1020fd5c]
add ecx, 0xfa
cmp eax, ecx
jb 0x100a8183
cmp dword [0x101f10a0], 1
je 0x100a8183
cmp word [edi], 0
jl 0x100a8183
xor eax, eax
mov byte [ebp - 1], 0
mov dword [ebp - 7], eax
lea ecx, [ebp - 8]
mov word [ebp - 3], ax
mov edx, 8
mov word [ebp - 4], ax
mov al, byte [edi + 0x43]
mov dword [ebp - 8], 0x17908c1
mov byte [ebp - 2], al
call fcn.100c8890
call esi
mov dword [0x1020fd5c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100abb50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f99e8]
cmp eax, 0x3e8
jb 0x100abbde
cmp dword [0xe61e18], 0x3e
jne 0x100abb8f
push str.Camera3D_not_available_for_this_map
push 1
push 0x101f7630
call fcn.1007acc0
add esp, 0xc
cmp dword [0xe609e8], 5
jne 0x100abb8f
call fcn.100aaed0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x101f99e8], eax
cmp dword [0xe609e8], 5
mov eax, dword [0x105b1028]
jne 0x100abbb0
xor eax, 1
mov dword [0x105b1028], eax
test eax, eax
je 0x100abbca
push str.Camera3D__On_
push 1
push 0x101f7630
call fcn.1007acc0
add esp, 0xc
pop ecx
ret
push str.Camera3D__Off_
push 1
push 0x101f7630
call fcn.1007acc0
add esp, 0xc
pop ecx
ret

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x101f99a8]
cmp eax, 0x3e8
jb 0x100abc16
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x105b1028], 0
mov dword [0x101f99a8], eax
je 0x100abc16
cmp dword [0xe609e8], 5
jne 0x100abc16
call fcn.100aaed0
pop ecx
ret
Function at 0x100b49b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov edx, 0x1019768f
push edi
lea edi, [esi + 0xc]
mov dword [esi], vtable.CFileProtect.0
mov eax, edi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100b49e7
test cl, cl
je 0x100b49e3
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100b49e7
add eax, 2
add edx, 2
test cl, cl
jne 0x100b49c7
xor eax, eax
jmp 0x100b49ec
sbb eax, eax
or eax, 1
test eax, eax
je 0x100b4a27
cmp dword [esi + 8], 0
je 0x100b4a27
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x100b4a27
push dword [esi + 4]
call fcn.100f3425
push 0x100
push 0
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10141160
add esp, 0x10
test byte [ebp + 8], 1
je 0x100b4a3b
push 0x10c
push esi
call fcn.100f2fc8
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x100b4a50
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x20
push 3
push 0
push 1
push connect
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100b4aca
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi + 8], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100b4a99
push eax
call fcn.100f3425
add esp, 4
mov dword [edi + 4], 0
push dword [edi + 8]
call fcn.100f342a
add esp, 4
mov dword [edi + 4], eax
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push 0
push ecx
push dword [edi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
jne 0x100b4ad2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 8]
cmp ecx, 8
jb 0x100b4aca
mov edx, dword [edi + 4]
mov eax, dword [edx]
cmp eax, dword [0x101982e0]
jne 0x100b4aca
mov eax, dword [edx + 4]
cmp eax, dword [0x101982e4]
jne 0x100b4aca
push ebx
lea eax, [ecx - 8]
xor ebx, ebx
test eax, eax
jle 0x100b4b55
mov ecx, 0x1025a2b9
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b4b10
sub ecx, edx
mov esi, dword [edi + 4]
mov eax, ebx
xor edx, edx
div ecx
movsx eax, byte [edx + 0x1025a2b9]
and eax, 0xf
movzx eax, byte [eax + 0x101982d0]
sub byte [esi + ebx + 8], al
mov eax, ebx
mov ecx, dword [edi + 4]
and eax, 0xf
movzx eax, byte [eax + 0x101982d0]
xor byte [ecx + ebx + 8], al
inc ebx
mov eax, dword [edi + 8]
sub eax, 8
cmp ebx, eax
jl 0x100b4b02
lea esi, [edi + 0xc]
call fcn.1014b38b
cdq
mov ecx, 0x3e8
idiv ecx
push edx
push str.DataItemTemp_t_d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x10102
push 2
push 0
push 7
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
pop ebx
cmp esi, 0xffffffff
je 0x100b4aca
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
mov eax, dword [edi + 8]
sub eax, 8
push eax
mov eax, dword [edi + 4]
add eax, 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
jne 0x100b4bd0
call eax
pop edi
xor al, al
pop esi
pop ebp
ret 4
call eax
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x100b6480
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0xe8c588]
push ebx
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
test eax, eax
je 0x100b6499
push eax
call esi
mov eax, dword [0xe8c58c]
test eax, eax
je 0x100b64a5
push eax
call esi
mov eax, dword [0xe8c590]
test eax, eax
je 0x100b64b1
push eax
call esi
mov eax, dword [0xe8c594]
test eax, eax
je 0x100b64bd
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x81c0380
call edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
mov dword [0x81c0380], esi
push dword [ebp - 4]
push 4
push 0x81c0380
call edi
cmp dword [0x10211204], 0xf
mov ecx, 0x102111f0
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
mov ebx, 0x190
cmova ecx, dword [0x102111f0]
mov eax, 0x2bc
cmp dword [0x102111e4], 1
mov edx, ebx
push ecx
push 0
push 3
push 0
push 0
push dword [0x102111ec]
cmove edx, eax
mov eax, dword [0x102111e8]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c588], eax
mov ecx, 0x10211214
cmp dword [0x10211228], 0xf
mov eax, 0x2bc
mov edx, ebx
cmova ecx, dword [0x10211214]
cmp dword [0x10211208], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10211210]
cmove edx, eax
mov eax, dword [0x1021120c]
push 0
push 0
push 0
push edx
push 0
push 0
dec eax
add eax, esi
push 0
push eax
call edi
mov dword [0xe8c58c], eax
mov ecx, 0x10211238
cmp dword [0x1021124c], 0xf
mov eax, 0x2bc
mov edx, ebx
cmova ecx, dword [0x10211238]
cmp dword [0x1021122c], 1
push ecx
cmove edx, eax
mov eax, dword [0x10211230]
push 0
lea eax, [eax + esi*2]
add eax, 0xfffffffe
push 3
push 0
push 0
push dword [0x10211234]
push 0
push 0
push 0
push edx
push 0
push 0
push 0
push eax
call edi
mov dword [0xe8c590], eax
mov ecx, 0x1021125c
cmp dword [0x10211270], 0xf
mov eax, 0x2bc
cmova ecx, dword [0x1021125c]
cmp dword [0x10211250], 1
push ecx
push 0
push 3
push 0
push 0
push dword [0x10211258]
cmove ebx, eax
mov eax, dword [0x10211254]
push 0
push 0
push 0
push ebx
push 0
push 0
add eax, 0xc
push 0
push eax
call edi
pop edi
pop esi
mov dword [0xe8c594], eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100b6ee0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10185075
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x48]
push eax
push 0x40
push 6
push 0x78c015
call esi
mov eax, 0x78c015
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push 6
push 0x78c015
call esi
push 0x100b6d10
push 0x78c015
push 0xe9
call fcn.100cd930
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push 0x40
push 0xa
push 0x78a01b
call esi
mov eax, 0x78a01b
mov ecx, 0x90909090
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov word [eax + 8], cx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push 0xa
push 0x78a01b
call esi
push 0x100b6d50
push 0x78a01b
push 0xe9
call fcn.100cd930
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push 0x40
push 7
push 0x6403f5
call esi
mov eax, 0x6403f5
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push 7
push 0x6403f5
call esi
push 0x100b6ac0
push 0x6403f5
push 0xe9
call fcn.100cd930
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push 0x40
push 8
push 0x788c59
call esi
mov eax, 0x788c59
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push 8
push 0x788c59
call esi
push 0x100b6ca0
push 0x788c59
push 0xe9
call fcn.100cd930
xorps xmm0, xmm0
mov dword [ebp - 0x18], 2
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x475f
mov dword [ebp - 0x14], 0xf
add esp, 0xc
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push dword [0x102156a4]
lea ecx, [ebp - 0x44]
call fcn.1007f050
sub esp, 8
mov byte [ebp - 4], 1
mov ecx, eax
call fcn.100b7140
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x100b70b0
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b70a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b7139
push ecx
push edx
call fcn.100f2fc8
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0xf
jbe 0x100b70f9
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b70ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b7139
push ecx
push edx
call fcn.100f2fc8
add esp, 8
push str.Data__KGData__Lua__Configs__MessageColors.lua
mov ecx, 0x102156a0
call fcn.100b43d0
push 0x1019768f
push str.StartLoadCustomMessageColors
push 0x102156a0
call fcn.100b4580
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
call fcn.1014b33a
int3
Function at 0x100b8480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [0x879340c]
movaps xmm4, xmm2
movss xmm5, dword [ebp + 0x1c]
movss xmm2, dword [ebp + 0x20]
cvttss2si eax, xmm4
push esi
mov esi, ecx
movss dword [ebp - 4], xmm3
movsx ecx, ax
movss dword [ebp - 8], xmm4
cmp edx, ecx
jl 0x100b85c5
cvttss2si eax, dword [ebp + 0xc]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b85c5
mov edx, dword [0x8793410]
cvttss2si eax, xmm3
movsx ecx, ax
cmp edx, ecx
jl 0x100b85c5
cvttss2si eax, dword [ebp + 0x10]
cwde
add eax, ecx
cmp edx, eax
jg 0x100b85c5
movss xmm0, dword [ebp + 0x18]
divss xmm0, xmm2
push 1
movss dword [ebp + 0x18], xmm0
movss xmm0, dword [ebp + 0x14]
divss xmm0, xmm5
movss dword [ebp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetKeyState]
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
test ax, ax
mov eax, 0x637c60
jns 0x100b853f
movss xmm2, dword [ebp + 0x18]
cvtps2pd xmm1, xmm2
movss dword [esp + 0x1c], xmm2
addsd xmm1, xmm1
cvtpd2ps xmm0, xmm1
jmp 0x100b854a
movss xmm0, dword [ebp + 0x18]
movss dword [esp + 0x1c], xmm0
movss xmm2, dword [ebp + 0x14]
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 4]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esp], xmm0
push dword [ebp + 8]
call eax
add esp, 0x30
mov eax, 0x791050
push 1
call eax
add esp, 4
test al, al
je 0x100b8630
push 0
push 0
push 0x19
mov eax, 0x6d6c20
call eax
push esi
call dword [ebp + 0x24]
add esp, 0x10
pop esi
mov esp, ebp
pop ebp
ret 0x20
movss xmm1, dword [ebp + 0x18]
mov eax, 0x637c60
divss xmm1, xmm2
push ecx
mov dword [esp], 0
push 1
push 0
sub esp, 0x20
movss xmm2, dword [ebp + 0x14]
divss xmm2, xmm5
movss xmm0, dword [ebp + 0x10]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0xc]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm3
movss dword [esp], xmm4
push dword [ebp + 8]
call eax
add esp, 0x30
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x100c8350
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x101ab040]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov dword [esp + 8], 0
cmp dword [0x103312a4], 2
push edi
jne 0x100c83e2
movq xmm0, qword [0x103312bc]
lea ecx, [esp + 0x10]
mov ax, word [0x103312c4]
mov edx, 0xe
mov dword [esp + 0x10], 0x3f30ec1
movq qword [esp + 0x14], xmm0
mov word [esp + 0x1c], ax
call fcn.100c8890
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x103312a8], 1
mov dword [0x103312a4], 3
call esi
mov dword [0x103312a0], eax
call esi
mov dword [0x1033129c], eax
mov dword [0x10331298], 0x7530
mov dword [0x10331294], 0x7530
mov ecx, 0x10259f73
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100c83f0
sub ecx, edx
je 0x100c846a
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
push 0x10259f73
lea ecx, [esp + 0x28]
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x3c], 0
call fcn.1000d2c0
mov dword [esp + 0xc], 1
lea esi, [esp + 0x20]
mov edi, dword [esp + 0x34]
cmp edi, 0xf
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
cmova esi, ecx
test eax, eax
je 0x100c8472
lea edx, [eax + esi]
mov eax, esi
cmp esi, edx
jae 0x100c8472
nop dword [eax]
cmp byte [eax], 0x20
jne 0x100c845c
inc eax
cmp eax, edx
jb 0x100c8450
jmp 0x100c8472
sub eax, esi
cmp eax, 0xffffffff
je 0x100c8472
mov byte [esp + 0xb], 0
jmp 0x100c8477
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xb], 1
test byte [esp + 0xc], 1
je 0x100c84ae
cmp edi, 0xf
jbe 0x100c84ae
lea edx, [edi + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x100c84a4
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100c8593
push edx
push ecx
call fcn.100f2fc8
add esp, 8
cmp byte [esp + 0xb], 0
je 0x100c84c8
cmp byte [0x1025a33f], 0
jne 0x100c84c8
mov ecx, 0x101ad2b8
call fcn.10031610
mov esi, dword [0x105b0b70]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x100c84fb
nop dword [eax + eax]
lea ecx, [esp + 0xc]
mov byte [eax + 0x15], 0xff
call fcn.10052810
mov eax, dword [esp + 0xc]
mov esi, dword [0x105b0b70]
cmp eax, esi
jne 0x100c84e0
push dword [esi + 4]
mov ecx, 0x105b0b70
push 0x105b0b70
call fcn.100af570
mov dword [esi + 4], esi
mov ecx, 0x105b0d7c
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x105b0d7c]
mov dword [0x105b0b74], 0
push dword [esi + 4]
push 0x105b0d7c
call fcn.100af570
lea eax, [esp + 0xc]
mov dword [esi + 4], esi
push eax
push 0x40
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 1
push 0x83703d
mov dword [0x105b0d80], 0
mov dword [0x105b0c20], 0
call esi
lea eax, [esp + 0xc]
mov byte [0x83703d], 0xc
push eax
push dword [esp + 0x10]
push 1
push 0x83703d
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
xor ecx, esp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
call fcn.1014b33a
int3
Function at 0x100c9480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x101ab040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xe609e8], 5
jne 0x100c960b
cmp dword [0x103312a8], 2
je 0x100c960b
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [0x1025a084]
mov dword [0x103312a8], 1
mov dword [0x103312a4], 0
call esi
mov dword [0x103312a0], eax
call esi
mov dword [0x1033129c], eax
xor esi, esi
mov eax, dword [0xe8cb7c]
mov ecx, 0x402bc0
mov dword [0x10331298], 0x7530
mov dword [0x10331294], edi
mov dword [0x10331290], 0
movzx eax, byte [eax + 8]
mov dword [0x1033128c], eax
nop dword [eax]
xor al, al
mov edi, 6
mov byte [ebp - 0x105], al
mov ebx, 4
lea eax, [ebp - 0x100]
sub edi, eax
nop word [eax + eax]
push esi
call ecx
mov ecx, eax
mov eax, 0x96a4c0
call eax
test eax, eax
je 0x100c9587
cmp byte [eax + 0x30c], 0
je 0x100c9587
movzx ecx, word [eax + 0x7e]
mov eax, ecx
mov byte [ebp - 0x10b], cl
shr eax, 8
mov byte [ebp - 0x10c], al
lea eax, [edi + ebx]
lea eax, [ebp + eax - 0x104]
cmp eax, 0x100
ja 0x100c9595
mov ax, word [ebp - 0x10c]
mov word [ebp + ebx - 0x104], ax
add ebx, 2
inc byte [ebp - 0x105]
inc esi
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c9530
mov al, byte [ebp - 0x105]
push 0xffffffffffffffff
mov byte [ebp - 0x101], al
lea eax, [ebp - 0x104]
push ebx
push eax
push 0x14
mov byte [ebp - 0x104], 0xc1
mov byte [ebp - 0x103], bl
mov byte [ebp - 0x102], 0x14
call fcn.100c5570
add esp, 0x10
mov ecx, 0x402bc0
cmp esi, 0x190
jb 0x100c9510
mov dword [0x81f6b6c], 0
mov ecx, dword [0x8128ac8]
pop edi
pop esi
pop ebx
movq xmm0, qword [ecx]
movq qword [0x103312bc], xmm0
mov ax, word [ecx + 8]
mov word [0x103312c4], ax
mov al, byte [ecx + 0xa]
mov byte [0x103312c6], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret
Function at 0x100c9c80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101a6c78
push 0x10140a00
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x101ab040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x148], eax
push dword [ebp + 8]
push str..PhysicalDrive_d
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x14c], esi
cmp esi, 0xffffffff
je 0x100c9e2c
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x140], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
push 0
lea eax, [ebp - 0x144]
push eax
push 8
lea eax, [ebp - 0x140]
push eax
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x100c9d64
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c9e2c
push dword [ebp - 0x13c]
call fcn.100f342a
mov edi, eax
mov dword [ebp - 0x150], edi
push dword [ebp - 0x13c]
push 0
push edi
call fcn.10141160
add esp, 0x10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x13c]
push edi
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100c9e1c
mov eax, dword [edi + 0x18]
test eax, eax
je 0x100c9e1c
mov dword [ebp - 4], 0
add eax, edi
push eax
push 0x100
push dword [ebp - 0x148]
call fcn.101573f9
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100f3425
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x100c9e2e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.100f3425
add esp, 4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100f2fba
mov esp, ebp
pop ebp
ret 0xc