joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ce20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x482a10
push 0x7f3
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45ce77
or eax, 0xffffffff
jmp 0x45ce9b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x45cea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x482a08
push 0x7f2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45cef7
or eax, 0xffffffff
jmp 0x45cf1b
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x45cf20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x482a00
push 0x7ef
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45cf77
or eax, 0xffffffff
jmp 0x45cf9b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x45cfa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4829f8
push 0x7e5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45cff7
or eax, 0xffffffff
jmp 0x45d01b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x45d020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4829f0
push 0x7e4
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45d077
or eax, 0xffffffff
jmp 0x45d09b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x45d0a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x4829e8
push 0x7e3
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x45d0f7
or eax, 0xffffffff
jmp 0x45d11b
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0045ccb0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x460f60
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x214]
push eax
push str.TXQQ2052
lea ecx, [ebp - 0x210]
push ecx
push 0x47a224
push 0x208
push 0x104
push 0x4844c8
call fcn.004157ac
add esp, 0x1c
push 0x4844c8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46101a
push 0x4844c8
call fcn.00438d00
add esp, 4
test eax, eax
je 0x461009
jmp 0x461025
mov edx, dword [ebp - 0x214]
add edx, 1
mov dword [ebp - 0x214], edx
jmp 0x46101c
jmp 0x461025
mov eax, 1
test eax, eax
jne 0x460fb6
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 4]
push ecx
push str.SetupEx
lea edx, [ebp - 0x210]
push edx
push 0x47a268
push 0x208
push 0x104
push 0x4842c0
call fcn.004157ac
add esp, 0x1c
push 0x4842c0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461087
push 0x4842c0
call fcn.00438d00
add esp, 4
test eax, eax
je 0x46107c
jmp 0x461092
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x461089
jmp 0x461092
mov ecx, 1
test ecx, ecx
jne 0x46102c
mov dword [ebp - 0x220], 0
mov edx, dword [ebp - 0x220]
push edx
push str.QQPCDetector
lea eax, [ebp - 0x210]
push eax
push str._sTencentQQSTemp_s_d
push 0x208
push 0x104
push 0x4840b8
call fcn.004157ac
add esp, 0x1c
push 0x4840b8
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461100
push 0x4840b8
call fcn.00438d00
add esp, 4
test eax, eax
je 0x4610ef
jmp 0x46110b
mov ecx, dword [ebp - 0x220]
add ecx, 1
mov dword [ebp - 0x220], ecx
jmp 0x461102
jmp 0x46110b
mov edx, 1
test edx, edx
jne 0x46109c
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x461120
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469047
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x44
push 0
lea eax, [ebp - 0x484]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x484], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x438]
push ecx
call fcn.00415680
add esp, 0xc
push 0x4842c0
lea ecx, [ebp - 0x48c]
call fcn.00431060
mov dword [ebp - 0x498], eax
mov edx, dword [ebp - 0x498]
mov dword [ebp - 0x49c], edx
mov dword [ebp - 4], 0
push 0x47a52c
mov eax, dword [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x490]
push ecx
call fcn.004315f0
add esp, 0xc
mov dword [ebp - 0x4a0], eax
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x4a4], edx
mov byte [ebp - 4], 1
push 0x47a510
mov eax, dword [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.004315f0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x490]
call fcn.004310c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48c]
call fcn.004310c0
push 0x4842c0
lea ecx, [ebp - 0x488]
call fcn.00431060
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [ebp - 0x428]
call fcn.004312a0
push eax
push 0x47a530
push 0x410
push 0x208
lea edx, [ebp - 0x424]
push edx
call fcn.004157ac
add esp, 0x18
push str.QQSetupEX
lea eax, [ebp - 0x424]
push eax
call fcn.004333f0
add esp, 8
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x488]
call fcn.004312a0
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x43c], 0
je 0x4612b5
mov dword [0x489ba4], 1
jmp 0x4612bf
mov dword [0x489ba4], 0
mov ecx, dword [ebp - 0x43c]
mov dword [ebp - 0x494], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x488]
call fcn.004310c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.004310c0
mov eax, dword [ebp - 0x494]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x461310
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x99c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x11c
push 0
lea eax, [ebp - 0x790]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x790], 0x11c
lea ecx, [ebp - 0x790]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x461378
mov dword [ebp - 0x790], 0x114
lea edx, [ebp - 0x790]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x461378
jmp 0x46138c
cmp dword [ebp - 0x78c], 6
jb 0x461385
jmp 0x46138c
xor eax, eax
jmp 0x4614a8
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x670]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x210]
push edx
push 0
mov eax, dword [0x4846d0]
push eax
call fcn.0045cf20
add esp, 0xc
test eax, eax
jne 0x4613d2
xor eax, eax
jmp 0x4614a8
push 0x47a358
lea ecx, [ebp - 0x670]
push ecx
push 0x47a37c
push 0x208
push 0x104
lea edx, [ebp - 0x998]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x998]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
je 0x461426
xor eax, eax
jmp 0x4614a8
lea edx, [ebp - 0x670]
push edx
push 0
mov eax, dword [0x4846d0]
push eax
call fcn.0045cf20
add esp, 0xc
test eax, eax
jne 0x4614a5
push str.QQVistaHelper.dll
lea ecx, [ebp - 0x670]
push ecx
push 0x47a3ac
push 0x208
push 0x104
lea edx, [ebp - 0x998]
push edx
call fcn.004157ac
add esp, 0x18
lea eax, [ebp - 0x998]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x99c], eax
mov ecx, dword [ebp - 0x99c]
or ecx, 2
mov dword [ebp - 0x99c], ecx
mov edx, dword [ebp - 0x99c]
push edx
lea eax, [ebp - 0x998]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
jmp 0x4614a8
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x4614c0
Capabilities:
Check os version
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x99c
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x11c
push 0
lea eax, [ebp - 0x998]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x998], 0x11c
lea ecx, [ebp - 0x998]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x461528
mov dword [ebp - 0x998], 0x114
lea edx, [ebp - 0x998]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x461528
jmp 0x461552
cmp dword [ebp - 0x988], 2
je 0x461535
jmp 0x461552
cmp dword [ebp - 0x994], 5
jne 0x46154b
cmp dword [ebp - 0x990], 0
jne 0x46154b
jmp 0x461552
xor eax, eax
jmp 0x4616c4
push 0x104
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x878]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x47a2ec
lea edx, [ebp - 0x418]
push edx
push 0x47a304
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0xffffffff
je 0x4615ca
xor eax, eax
jmp 0x4616c4
lea eax, [ebp - 0x418]
push eax
push 0
mov ecx, dword [0x4846d0]
push ecx
call fcn.0045cfa0
add esp, 0xc
test eax, eax
jne 0x4615ed
xor eax, eax
jmp 0x4616c4
push 0x47a310
lea edx, [ebp - 0x878]
push edx
push 0x47a328
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x670]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0xffffffff
je 0x461641
xor eax, eax
jmp 0x4616c4
lea eax, [ebp - 0x878]
push eax
push 0
mov ecx, dword [0x4846d0]
push ecx
call fcn.0045cfa0
add esp, 0xc
test eax, eax
jne 0x4616c1
push str.gdiplus.dll
lea edx, [ebp - 0x878]
push edx
push 0x47a34c
push 0x208
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004157ac
add esp, 0x18
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x99c], eax
mov edx, dword [ebp - 0x99c]
or edx, 2
mov dword [ebp - 0x99c], edx
mov eax, dword [ebp - 0x99c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
jmp 0x4616c4
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x4626a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x486260], 0
je 0x4626cf
mov eax, dword [0x486260]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00414d31
add esp, 4
shl eax, 1
push eax
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.004150b3
add esp, 0x10
pop ebp
ret

Function at 0x4626e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x486260], 0
je 0x462701
jmp 0x46285a
mov word [ebp - 0x628], 0
push 0x206
push 0
lea eax, [ebp - 0x626]
push eax
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x210], 0
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x830], 0
push 0x206
push 0
lea edx, [ebp - 0x82e]
push edx
call fcn.00415680
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.00415680
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push 0x104
lea edx, [ebp - 0x830]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0x104
lea ecx, [ebp - 0x628]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004151df
add esp, 0x24
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x628]
push ecx
call fcn.00414f0e
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.00437cb0
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004151bc
add esp, 8
xor ecx, ecx
cmp eax, 0xffffffff
sete cl
mov dword [ebp - 0x214], ecx
push 0x47a598
mov edx, dword [ebp + 8]
push edx
call fcn.00414e0d
add esp, 8
mov dword [0x486260], eax
cmp dword [ebp - 0x214], 0
je 0x46285a
mov byte [ebp - 0x831], 0xff
mov eax, dword [0x486260]
push eax
push 1
push 1
lea ecx, [ebp - 0x831]
push ecx
call fcn.004150b3
add esp, 0x10
mov byte [ebp - 0x831], 0xfe
mov edx, dword [0x486260]
push edx
push 1
push 1
lea eax, [ebp - 0x831]
push eax
call fcn.004150b3
add esp, 0x10
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x4628d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4690ad
mov eax, dword fs:[0]
push eax
sub esp, 0xaf4
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov word [ebp - 0xaf4], 0
push 0x1fe
push 0
lea eax, [ebp - 0xaf2]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0xaf8], 0
mov dword [ebp - 0xafc], str.FileUnlock::UnlockDir
lea ecx, [ebp - 0x8ec]
call fcn.00430b70
mov dword [ebp - 4], 0
mov dword [ebp - 0x8f4], 0
mov dword [0x48bd0c], 1
cmp dword [ebp + 0x10], 0
je 0x46296d
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp + 0xc], 0x462870
mov ecx, dword [ebp + 8]
call fcn.00401220
push eax
mov edx, dword [ebp - 0xafc]
push edx
push str._s:_Unlock_Begin_for_dir:_s._r_n
push 0x100
lea eax, [ebp - 0xaf4]
push eax
call fcn.00415790
add esp, 0x14
cmp dword [ebp + 0xc], 0
je 0x4629b0
lea ecx, [ebp - 0xaf4]
push ecx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp + 8]
call fcn.00401220
push eax
lea ecx, [ebp - 0x8ec]
call fcn.00430bf0
lea ecx, [ebp - 0x8ec]
call fcn.00430340
mov dword [ebp - 0x8f0], eax
lea ecx, [ebp - 0x8ec]
call fcn.004305e0
test eax, eax
jne 0x4629e6
jmp 0x4629f0
mov dword [ebp - 0x8f4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0xaf8], eax
cmp dword [ebp - 0x8f4], 0
je 0x462a42
mov edx, dword [ebp - 0x8f0]
push edx
mov eax, dword [ebp - 0xaf8]
push eax
mov ecx, dword [ebp - 0xafc]
push ecx
push str._s:_Unlock_OK._Time_spend:__ums_Unlock_files:__d_r_n
push 0x100
lea edx, [ebp - 0xaf4]
push edx
call fcn.00415790
add esp, 0x18
mov dword [0x48bd0c], 2
jmp 0x462a7a
mov eax, dword [ebp - 0x8f0]
push eax
mov ecx, dword [ebp - 0xaf8]
push ecx
mov edx, dword [ebp - 0xafc]
push edx
push str._s:_Unlock_FAIL._Time_spend:__ums_Try_to_Unlock_files:__d_r_n
push 0x100
lea eax, [ebp - 0xaf4]
push eax
call fcn.00415790
add esp, 0x18
mov dword [0x48bd0c], 3
cmp dword [ebp + 0xc], 0
je 0x462a8d
lea ecx, [ebp - 0xaf4]
push ecx
call dword [ebp + 0xc]
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x462a9d
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0xb00], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8ec]
call fcn.00430650
mov eax, dword [ebp - 0xb00]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret
Function at 0x464180
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46875f
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x481288]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x10]
call fcn.004318e0
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4642a5
mov dword [ebp - 0x428], 0
push 0xc
push 0
lea eax, [ebp - 0x24]
push eax
call fcn.00415680
add esp, 0xc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x400
push 0
lea ecx, [ebp - 0x424]
push ecx
call fcn.00415680
add esp, 0xc
push 0
lea edx, [ebp - 0x428]
push edx
push 0x400
lea eax, [ebp - 0x424]
push eax
push 0xc
lea ecx, [ebp - 0x24]
push ecx
push 0x2d1400
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46429b
lea eax, [ebp - 0x424]
mov dword [ebp - 0x42c], eax
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 0x10]
lea eax, [ebp + edx - 0x424]
mov dword [ebp - 0x430], eax
mov ecx, dword [ebp - 0x430]
movsx edx, byte [ecx]
push edx
call fcn.004164e6
add esp, 4
test eax, eax
je 0x46429b
mov eax, dword [ebp - 0x430]
push eax
lea ecx, [ebp - 0x10]
call fcn.00431b60
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00431880
mov eax, dword [ebp - 0x434]
or eax, 1
mov dword [ebp - 0x434], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00431900
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004151d0
mov esp, ebp
pop ebp
ret