joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100932e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x98], 0
je 0x100932fc
xor eax, eax
jmp 0x100934b9
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x1009330c
xor eax, eax
jmp 0x100934b9
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.10009d66
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jne 0x10093338
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x10093348
xor eax, eax
jmp 0x100934b9
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x94], 0
je 0x100933a0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x94]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x1009338c
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x24], eax
jmp 0x10093393
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x94], 0
call fcn.10091f80
test eax, eax
je 0x100933ee
call fcn.10091f60
cmp eax, 1
jne 0x100933ee
push 0x5c
call fcn.10070b17
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100933d3
mov ecx, dword [ebp - 0x14]
call fcn.10091410
mov dword [ebp - 0x28], eax
jmp 0x100933da
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x94], ecx
jmp 0x10093427
push 0x30
call fcn.10070b17
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1009340e
mov ecx, dword [ebp - 0x1c]
call fcn.10090ba0
mov dword [ebp - 0x2c], eax
jmp 0x10093415
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x94], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x70], eax
push 0x10092030
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x70]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x98], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x100929f0
push 0
push 0
call fcn.1007466a
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x100934ad
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x98], 0
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x10093980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x10], 0
jne 0x10093996
xor eax, eax
jmp 0x10093ad5
mov dword [ebp - 0xc], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100497b0
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10049bf0
push eax
lea ecx, [ebp - 8]
call fcn.1004b1f0
movzx eax, al
test eax, eax
je 0x10093a19
lea ecx, [ebp - 0x18]
call fcn.100488c0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100496f0
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x10093ad2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10049860
add eax, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
sub eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx]
jbe 0x10093ac9
cmp dword [ebp - 0x20], 0x12c
jbe 0x10093ac9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x10093ac9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100d95b8]
fstp qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 8]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], 0
fild qword [ebp - 0x4c]
fdiv qword [ebp - 0x30]
fnstcw word [ebp - 0x4e]
movzx eax, word [ebp - 0x4e]
or eax, 0xc00
mov dword [ebp - 0x54], eax
fldcw word [ebp - 0x54]
fistp qword [ebp - 0x5c]
fldcw word [ebp - 0x4e]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
jmp 0x10093ad2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009431d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1009432c
cmp dword [ebp + 0x10], 0
jg 0x10094334
mov eax, dword [ebp + 8]
jmp 0x100944b7
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x1009447d
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1009433d
cmp dword [ebp + 0x10], 0
je 0x100944b1
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100cd148]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x10094483
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10094ea6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xdc], ecx
and dword [ebp - 4], 0
mov dword [ebp - 8], 1
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareTencentQQPCMgrQMDownload
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10094f63
and word [ebp - 0xd8], 0
push 0xc6
push 0
lea eax, [ebp - 0xd6]
push eax
call fcn.10073a50
add esp, 0xc
push dword [ebp + 8]
push 0x100cf580
push 0x63
lea eax, [ebp - 0xd8]
push eax
call fcn.10042ed2
add esp, 0x10
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
lea eax, [ebp - 0xd8]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10094f5a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x10094f65
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4

Function at 0x10094f73
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xe4], ecx
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
and dword [ebp - 4], 0
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x100cf4e8
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10095034
and word [ebp - 0xe0], 0
push 0xc6
push 0
lea eax, [ebp - 0xde]
push eax
call fcn.10073a50
add esp, 0xc
push dword [ebp + 8]
push 0x100cf530
push 0x63
lea eax, [ebp - 0xe0]
push eax
call fcn.10042ed2
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0xe0]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009502b
cmp dword [ebp - 4], 0
je 0x1009502b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x10095036
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4
Function at 0x10095073
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x854], ecx
and dword [ebp - 4], 0
push 0x820
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x828], 0x820
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x81c], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x810], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x818], 1
push str.test.exe
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.10074ec3
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x100951a0
push 0x100cef58
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x10095134
xor eax, eax
jmp 0x10095276
mov dword [ebp - 0x83c], 1
mov dword [ebp - 0x838], 0x820
lea eax, [ebp - 0x828]
mov dword [ebp - 0x834], eax
and dword [ebp - 0x840], 0
lea eax, [ebp - 0x840]
push eax
push 0x7530
push 1
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x830]
push 0x4a
push dword [ebp - 0x830]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x82c], eax
xor eax, eax
cmp dword [ebp - 0x82c], 0
setne al
jmp 0x10095276
and dword [ebp - 0x848], 0
and dword [ebp - 0x84c], 0
and dword [ebp - 0x844], 0
jne 0x100951d5
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_SM
push 0x820
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
je 0x10095270
push 0x820
push 0
push 0
push 6
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x84c], eax
push 0x820
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x84c]
call fcn.10073ad0
add esp, 0xc
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_EVT
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0
je 0x1009524d
push dword [ebp - 0x850]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x848], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x84c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x848]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret 8
Function at 0x10095c74
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0x10], 4
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10095caf
xor eax, eax
jmp 0x10095cf5
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
je 0x10095cde
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x10095ce8
xor eax, eax
jmp 0x10095cf5
cmp dword [ebp - 4], 4
je 0x10095cf2
xor eax, eax
jmp 0x10095cf5
xor eax, eax
inc eax
leave
ret

Function at 0x10096151
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x10096171
xor eax, eax
jmp 0x10096269
and dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x10096266
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1009625d
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10096246
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.10073a50
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.100740c3
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push dword [ebp + 8]
lea eax, [ebp - 0x450]
push eax
call fcn.1007503e
pop ecx
pop ecx
test eax, eax
jne 0x10096246
mov dword [ebp - 4], 1
jmp 0x1009625d
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x100961bd
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x100964ad
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10107544], 0
je 0x100964d3
mov eax, dword [0x10107540]
jmp 0x1009657c
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.10073a50
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009650d
xor eax, eax
jmp 0x1009657c
cmp dword [ebp - 0x11c], 5
ja 0x1009652b
mov dword [0x10107544], 1
and dword [0x10107540], 0
xor eax, eax
jmp 0x1009657c
push 0x100cdc78
push reloc.OLEAUT32.dll_SysReAllocString
push 0x100cdcf0
push 0x10107540
call fcn.10095c74
add esp, 0x10
test eax, eax
je 0x10096569
xor eax, eax
cmp dword [0x10107540], 1
sete al
inc eax
mov dword [0x10107540], eax
mov dword [0x10107544], 1
jmp 0x10096577
and dword [0x10107544], 0
and dword [0x10107540], 0
mov eax, dword [0x10107540]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x1009723c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bba7f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100eb3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x14], 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10003aa2
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10097064
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009d23
push 0
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009d23
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003b26
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003aa2
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100103c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x100975c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x214], 0
and dword [ebp - 4], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10073a50
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1009761f
xor eax, eax
jmp 0x10097669
push str.driversBDMWrench.sys
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.10075997
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100952c1
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
push dword [ebp - 4]
push 0x100ce9fc
push dword [ebp + 8]
call fcn.10015c7b
add esp, 0xc
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x10097675
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bbfaf
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x48], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and word [ebp - 0x84c], 0
push 0x7fe
push 0
lea eax, [ebp - 0x84a]
push eax
call fcn.10073a50
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10010322
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x84c]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100976f6
cmp dword [ebp - 0x18], 0x400
jb 0x10097714
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x850]
jmp 0x100977a4
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.10095741
pop ecx
pop ecx
cmp eax, 1
jne 0x1009776c
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
push str._c:_u__u__u__u__u__u__u_
lea eax, [ebp - 0x14]
push eax
call fcn.10015c7b
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.1004195a
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10070dbb
pop ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
jne 0x1009771d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x854]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x10097f1a
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10041bc9
jmp 0x10097f45
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10041c6f
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10044e03
push eax
lea ecx, [ebp - 8]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x10097fad
lea ecx, [ebp - 8]
call fcn.10041ca3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004cd2
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10097fab
mov ecx, dword [ebp - 0xc]
call fcn.10004cd2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10097fab
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004cd2
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10097f37
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10037ee5
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10041bc9
jmp 0x10097fdd
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041c6f
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10044e03
push eax
lea ecx, [ebp - 0x14]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x10098017
lea ecx, [ebp - 0x14]
call fcn.10041ca3
mov ecx, eax
call fcn.10004cd2
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10097fcf
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10037ee5
leave
ret
Function at 0x10098f0b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x18], 0
and word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.10073a50
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10010322
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x20a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10099036
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100ce60c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009902d
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003b3f
push 0x100ce624
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100105fa
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.1002ffe8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009901e
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.1002ffe8
push eax
call fcn.100b0fd5
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100103c0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x23c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100103c0
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4