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

Disassembly:
mov eax, dword [esp + 4]
push ebx
push 0
push 0
push 3
push 0
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45328e
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop ebx
ret 0xc
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 2
jae 0x4532ad
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
ret 0xc
lea ecx, [esi + 0xa]
push edi
push ecx
call fcn.004a3d20
add esp, 4
push 0
lea edx, [esp + 0x14]
push edx
push esi
mov edi, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [edi + esi - 2], 0xd
jne 0x4532e1
cmp byte [edi + esi - 1], 0xa
je 0x4532eb
mov byte [edi + esi], 0xd
inc esi
mov byte [edi + esi], 0xa
inc esi
mov eax, dword [esp + 0x14]
mov byte [edi + esi], 0
test eax, eax
je 0x4532fb
mov dword [eax], edi
jmp 0x453304
push edi
call fcn.004a3d2b
add esp, 4
mov eax, dword [esp + 0x18]
pop edi
test eax, eax
je 0x45330f
mov dword [eax], esi
pop esi
mov eax, 1
pop ebx
ret 0xc

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

Disassembly:
push 0xffffffffffffffff
push 0x5a65f3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.0040c050
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
mov dword [esp + 0x20], 0
call fcn.0040c050
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.0040c050
add esp, 0xc
add eax, 0x10
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x44], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x48], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4585e0
Capabilities:
Check if file exists
Read .ini file

Disassembly:
sub esp, 0x61c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x618], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x62c]
xor ebp, ebp
mov esi, ecx
test edi, edi
je 0x458762
cmp dword [esp + 0x630], ebp
je 0x458762
xor eax, eax
cmp ax, word [esi]
je 0x458762
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x21e]
push edx
mov word [esp + 0x220], cx
call fcn.004e5fc0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.004e5fc0
push str.setting.ini
push esi
push 0x5c6690
lea edx, [esp + 0x238]
push 0x208
push edx
call fcn.0041c900
add esp, 0x2c
lea eax, [esp + 0x214]
push eax
push ebp
push 0x5c6df8
push 0x5bc6c0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x45875e
push ebx
push str.Global360ProcTreeLog
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
je 0x4586bd
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x218]
push ecx
push 0x104
lea edx, [esp + 0x18]
push edx
push 0x5e8ee8
push str.LogName
push str.ProcTree
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
pop ebx
cmp ax, word [esp + 0xc]
je 0x45875e
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x426]
push edx
mov word [esp + 0x428], cx
call fcn.004e5fc0
lea eax, [esp + 0x18]
push eax
push esi
push str._sLogProcessHistoryLog_s.log
lea ecx, [esp + 0x434]
push 0x208
push ecx
call fcn.0041c900
add esp, 0x20
lea edx, [esp + 0x41c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45875e
mov ecx, dword [esp + 0x630]
lea eax, [esp + 0xc]
push eax
push esi
push str._sLogProcessHistoryLog_s.log
push ecx
push edi
call fcn.0041c890
add esp, 0x14
mov ebp, 1
mov eax, ebp
jmp 0x458764
xor eax, eax
mov ecx, dword [esp + 0x624]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004e5fb0
add esp, 0x61c
ret 8
Function at 0x4599a0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
call fcn.00459250
test eax, eax
je 0x4599b5
mov eax, 1
pop esi
ret 4
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x459a93
mov edx, dword [esi]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QT_Section_Open
push edx
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push str.QT_Section_Close
push eax
call edi
mov ecx, dword [esi]
push str.QT_QuartFile
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push str.QT_RestoreFile
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push str.QT_CreateFind
push eax
call edi
mov ecx, dword [esi]
push str.QT_FindNextItem
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi]
push str.QT_FindNextItemForCount
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi]
push str.QT_CloseFindItemHandle
push eax
call edi
mov ecx, dword [esi]
push str.QT_RemoveItem
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi]
push str.QT_QuartFile_New
push edx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi]
push str.QT_QuartFile_New2
push eax
call edi
mov ecx, dword [esi]
push str.QT_GetQuartFileInfo
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi]
push str.QT_GetItemCount
push edx
mov dword [esi + 0x30], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi]
push str.QT_RemoveAllItems
push eax
call edi
mov dword [esi + 0x38], eax
pop edi
mov eax, 1
pop esi
ret 4
xor eax, eax
pop esi
ret 4

Function at 0x459ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
lea edx, [esp + 8]
push edx
push 0x5c7518
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
sbb eax, eax
inc eax
pop ecx
ret

Function at 0x459b00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1014
call fcn.004e6bc0
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x1010], eax
push 0x1008
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
push str.ExeString
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp + 4], 1
jne 0x459b75
cmp dword [esp], eax
jbe 0x459b75
cmp word [esp + 8], ax
setne al
mov ecx, dword [esp + 0x1010]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x1014
ret
Function at 0x459f20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5a6d76
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x43c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44c]
mov ebp, dword [esp + 0x450]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x32]
mov ebx, 1
push ecx
mov dword [esp + 0x20], ebx
mov word [esp + 0x34], ax
call fcn.004e5fc0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x246]
push eax
mov word [esp + 0x248], dx
call fcn.004e5fc0
mov eax, 0x208
lea ecx, [esp + 0x38]
push 0
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.0040e2c0
push str.SDVersion.dll
push eax
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x470], 0
call fcn.0040d150
mov eax, dword [eax]
push esi
push eax
mov byte [esp + 0x478], bl
call fcn.00420160
add esp, 0x34
test eax, eax
mov eax, dword [esp + 0x24]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x444], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a01a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x444], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a045
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test bl, bl
je 0x45a092
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x5bf50c
push 0x5bf1e0
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a076
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0040c660
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x5bf4e8
push 0x5bf1e0
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [esp + 0x230]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a0c0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x234]
push edx
mov ecx, ebp
call fcn.0040c660
mov ecx, dword [esp + 0x43c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x424]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x434
ret
Function at 0x461010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a7358
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov esi, ecx
mov ecx, dword [esp + 8]
push ecx
push edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.0045fef0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00460430
cmp dword [esp + 0x24], 0x10
jb 0x4610aa
mov edx, dword [esp + 0x10]
push edx
call fcn.004a3d15
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x30
ret 0x1c

Function at 0x4610d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a7388
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x4c]
mov esi, ecx
xor ecx, ecx
mov word [esp + 0x10], cx
mov ecx, dword [esp + 0x50]
push edx
push ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
call fcn.0045ffc0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x48], 0
call fcn.00460500
cmp dword [esp + 0x24], 8
jb 0x46116c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a3d15
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x30
ret 0x1c
Function at 0x46a550
Capabilities:
Get disk information

Disassembly:
sub esp, 0x28c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov ecx, 0xd
mov esi, str.A:_360section360sd.q3q
lea edi, [esp + 0x25c]
rep movsd dword es:[edi], dword [esi]
mov ebx, 1
movsw word es:[edi], word [esi]
mov edi, ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
test esi, esi
je 0x46a626
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea esp, [esp]
test edi, esi
je 0x46a5d4
push 0x24c
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x260]
push edx
call ebx
cmp eax, 0xffffffff
jne 0x46a603
inc word [esp + 0x25c]
mov eax, edi
not eax
and esi, eax
add edi, edi
test esi, esi
jne 0x46a5a0
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x28c
ret
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x28c
ret
mov ecx, dword [esp + 0x294]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x28c
ret
Function at 0x46a670
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
xor esi, esi
push 0x208
lea eax, [esp + 0x18]
push esi
push eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], esi
call fcn.004e5fc0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 1
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360mobilemgr.exe
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
mov eax, dword [esp + 8]
je 0x46a6d5
test eax, eax
je 0x46a7cd
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0x5e8ee8
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [esp + 0x14], si
je 0x46a71d
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46a71d
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
test esi, esi
je 0x46a7cd
lea edx, [esp + 8]
push edx
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
mov ebx, dword [esp + 8]
test eax, eax
je 0x46a772
test ebx, ebx
jne 0x46a772
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
push 0x208
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004e5fc0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.UninstallString
push ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46a7c0
xor ecx, ecx
cmp cx, word [esp + 0x14]
jne 0x46a7c2
xor esi, esi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5fb0
add esp, 0x218
ret
Function at 0x46bad0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x5a8398
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
push 0x5e8ee8
lea ecx, [esp + 0x14]
call fcn.0040e080
push 0x5e8ee8
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call fcn.0040e080
mov eax, dword [esi + 0xa4]
add eax, 0xfffffffa
mov byte [esp + 0x24], 1
cmp eax, 7
ja case.0x46bb2e.10
jmp dword [eax*4 + 0x46bcb0]
push str.IDS_UN_BTN_QMACHINE
jmp 0x46bb64
push str.IDS_UN_BTN_RELOCSD
jmp 0x46bb64
push str.IDS_UN_BTN_RESTOREQUART
jmp 0x46bb64
push str.IDS_UN_BTN_360DIAGNOSE
jmp 0x46bb64
push str.IDS_UN_BTN_REINSTALLSD
jmp 0x46bb64
push str.IDS_UN_BTN_VDBREDUCE
jmp 0x46bb64
push str.IDS_UN_BTN_MOBILEMGR
lea ecx, [esp + 0x10]
call fcn.0040d680
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.005214a0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0040cb00
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46bbb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
jne 0x46bbdc
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46bc6e
push 2
push 0x5c82f0
lea ecx, [esp + 0x18]
call fcn.0040c9c0
push 0
mov ecx, esi
call fcn.004afc19
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0046b7d0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push 0x46ae60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x46bc37
push 0xc350
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x46bc9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x46bcd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a83cb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x61ac94]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x22c]
push 0x206
xor edi, edi
lea ecx, [esp + 0x16]
xor eax, eax
push edi
push ecx
mov word [esp + 0x1c], ax
call fcn.004e5fc0
add esp, 0xc
push 0x104
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, 0xffdf
and word [esp + 0x10], cx
xor eax, eax
mov word [esp + 0x16], ax
cmp esi, edi
je 0x46bd59
mov dx, word [esp + 0x10]
mov word [esi], dx
lea eax, [esp + 0xc]
push edi
push eax
call fcn.0040e2c0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
mov dword [esp + 0x224], edi
cmp ecx, edi
jne 0x46bda4
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bda0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x46bdf3
jge 0x46bdb0
push 0x80070057
call fcn.0040b390
mov cx, word [eax]
mov edx, 0xffdf
and cx, dx
movzx ecx, cx
cmp cx, word [esp + 0x10]
jne 0x46bdca
mov edi, 1
add eax, 0xfffffff0
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bdf1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x21c
ret 4
Function at 0x46ccc0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x43
call fcn.0046bcd0
test eax, eax
je 0x46cdc0
xor ecx, ecx
push 0xfe
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.004e5fc0
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x20], 0
mov ecx, dword [0x5c85e4]
mov edx, dword [0x5c85e8]
lea esi, [esp + 0x20]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
je 0x46cdc0
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
nop
mov ax, word [esi]
mov ecx, 0xffdf
and ax, cx
mov word [esp + 0x18], ax
mov edx, dword [esp + 0x18]
add edx, 0xffffffbd
cmp dx, 0x17
ja 0x46cdb0
cmp ax, di
je 0x46cdb0
lea eax, [esp + 0x18]
push eax
call ebx
cmp eax, 3
jne 0x46cdb0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x46cdb0
cmp dword [esp + 0x14], 0
ja 0x46cdd7
jb 0x46cdb0
cmp dword [esp + 0x10], 0x40000000
ja 0x46cdd7
lea esp, [esp]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46cdb0
cmp word [esi], ax
jne 0x46cd50
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004e5fb0
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp cx, word [esp + 0x18]
je 0x46cdc0
pop edi
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x120]
pop esi
pop ebx
xor ecx, esp
call fcn.004e5fb0
mov esp, ebp
pop ebp
ret
Function at 0x46f6a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46f6ab
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push esi
not eax
cmp edx, 8
jb 0x46f789
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5c8ae0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x46f6c5
pop edi
test edx, edx
je 0x46f7ab
lea ecx, [ecx]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5c8ae0]
inc ecx
sub edx, 1
jne 0x46f790
not eax
pop esi
ret