joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100904a0
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 0x100904b6
xor eax, eax
jmp 0x100905f5
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.10047f50
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.100473a0
push eax
lea ecx, [ebp - 8]
call fcn.10048000
movzx eax, al
test eax, eax
je 0x10090539
lea ecx, [ebp - 0x18]
call fcn.10047030
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.10047e90
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 0x100905f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10048070
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 0x100905e9
cmp dword [ebp - 0x20], 0x12c
jbe 0x100905e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100905e9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100cc808]
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 0x100905f2
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 0x10090bd7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x10090be6
cmp dword [ebp + 0x10], 0
jg 0x10090bee
mov eax, dword [ebp + 8]
jmp 0x10090d71
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x10090d37
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 + 0x100bffb8]
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 0x10090bf7
cmp dword [ebp + 0x10], 0
je 0x10090d6b
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 + 0x100bffb8]
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 0x10090d3d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10090d73
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070ca0
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10090e05
xor eax, eax
jmp 0x10090f10
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x10090e2a
xor eax, eax
jmp 0x10090f10
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x10090e4f
xor eax, eax
jmp 0x10090f10
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x10090e71
xor eax, eax
jmp 0x10090f10
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x10090eab
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x10090f10
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10090ef7
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10090f10
mov dword [ebp - 0x228], 1
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e001
leave
ret

Function at 0x10090f1c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004aa4
movzx eax, al
test eax, eax
jne 0x10090f4b
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x10091add
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 8], eax
and dword [ebp - 0x228], 0
and dword [ebp - 0x224], 0
and dword [ebp - 0x230], 0
and dword [ebp - 0x220], 0
and dword [ebp - 0x218], 0
and dword [ebp - 0x22c], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070ca0
add esp, 0xc
and dword [ebp - 4], 0
or dword [ebp - 0x21c], 0xffffffff
and dword [ebp - 0x214], 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10091b6f
xor eax, eax
jmp 0x10091c7a
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x10091b94
xor eax, eax
jmp 0x10091c7a
push dword [ebp - 0x230]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x10091bb9
xor eax, eax
jmp 0x10091c7a
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x10091bdb
xor eax, eax
jmp 0x10091c7a
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x10091c15
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x10091c7a
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x22c]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x10091c61
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10091c7a
mov dword [ebp - 0x228], 1
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e001
leave
ret
Function at 0x100924ce
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x54], 0
jne 0x100924f0
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
jne 0x100924f0
xor al, al
jmp 0x100926a2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10009edb
jmp 0x1009250f
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.1003a8fe
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10011a2b
push eax
lea ecx, [ebp - 8]
call fcn.1003e251
movzx eax, al
test eax, eax
je 0x100926a0
lea ecx, [ebp - 8]
call fcn.10011ad4
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10092547
jmp 0x10092501
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 4
ja 0x1009269b
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x186a0
jne 0x1009269b
lea ecx, [ebp - 8]
call fcn.10011ad4
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009257a
jmp 0x10092501
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
je 0x100925b8
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x5c]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
jmp 0x100925d2
push dword [ebp - 0xc]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0x54]
mov eax, dword [eax]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1009260e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov dword [eax + 0x90], ecx
mov eax, dword [ebp - 0x3c]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
jmp 0x1009269b
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0xc4], 2
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003e020
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.1003e0d7
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003e251
movzx eax, al
test eax, eax
je 0x10092693
lea ecx, [ebp - 0x1c]
call fcn.1003e18f
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10092689
mov eax, dword [ebp - 0x3c]
push dword [eax + 0xc4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.1003e1a0
jmp 0x10092643
xor eax, eax
jne 0x10092634
xor al, al
jmp 0x100926a2
jmp 0x10092501
mov al, 1
leave
ret
Function at 0x10092a39
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0ea5
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100dd3e0]
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.10003a73
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10092861
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009cd3
push 0
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009cd3
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003b08
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003a73
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003af7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10092d66
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.1003e020
jmp 0x10092d91
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.1003e21d
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003e0d7
push eax
lea ecx, [ebp - 8]
call fcn.1003e251
movzx eax, al
test eax, eax
je 0x10092df9
lea ecx, [ebp - 8]
call fcn.1003e18f
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004cdf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10092df7
mov ecx, dword [ebp - 0xc]
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10092df7
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10092d83
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003e156
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003e020
jmp 0x10092e29
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1003e21d
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003e0d7
push eax
lea ecx, [ebp - 0x14]
call fcn.1003e251
movzx eax, al
test eax, eax
je 0x10092e63
lea ecx, [ebp - 0x14]
call fcn.1003e18f
mov ecx, eax
call fcn.10004cdf
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10092e1b
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003e156
leave
ret
Function at 0x10093267
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1a2d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100f9204]
lea eax, [ebp - 0x1c]
push eax
call fcn.10092aed
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
push 0x100c11f4
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.100105a4
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10003af7
push 0
lea ecx, [ebp - 0x14]
call fcn.100333d3
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c1200
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100105a4
add esp, 0xc
mov byte [ebp - 4], 3
push 0x100c1210
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
push 0x451
push dword [0x100f9204]
call fcn.10091add
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10093363
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10093363
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003af7
mov eax, dword [ebp - 0x20]
jmp 0x1009344d
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea ecx, [ebp - 0x3c]
call fcn.100016cf
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xe0
call fcn.1003e0f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.1000173d
lea ecx, [ebp - 0x14]
call fcn.100333d3
push eax
lea ecx, [ebp - 0x58]
call fcn.100016cf
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xf0
call fcn.1003e0f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.1000173d
lea ecx, [ebp - 0x10]
call fcn.100333d3
push eax
lea ecx, [ebp - 0x74]
call fcn.100016cf
mov byte [ebp - 4], 6
push dword [0x100f9184]
push 1
call fcn.1004578c
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.10045895
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.1000173d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003af7
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x100936bd
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2162
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100dd3e0]
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.10070ca0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003a59
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 0x100937e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c130c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100937df
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.10003b21
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100105a4
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100333d3
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100937d0
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.100333d3
push eax
call fcn.100a66f9
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10003af7
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.10003af7
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.1006e001
leave
ret 4
Function at 0x1009381a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b219a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x10093851
xor eax, eax
inc eax
jmp 0x100939e8
mov eax, dword [ebp + 8]
and dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.10034d79
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x10093882
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
call fcn.10090230
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x54], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58], 0
je 0x1009389d
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x58]
call fcn.1004e680
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x100938d7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100938cc
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x100938d0
and dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003df54
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.1003df54
mov ecx, dword [ebp + 8]
add ecx, 0x98
call fcn.1003d004
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.100a1941
mov ecx, dword [ebp + 8]
call fcn.10092996
call fcn.10011712
mov ecx, eax
call fcn.1009c49a
call fcn.10056040
lea eax, [ebp - 0x18]
push eax
call fcn.10092c2a
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
push 0x100c0524
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.100105a4
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10003af7
lea eax, [ebp - 0x20]
push eax
call fcn.100a9d73
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
push 0x100c053c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.100105a4
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.10003af7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.10003af7
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.100333d3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
call fcn.10092ed3
mov ecx, dword [ebp + 8]
call fcn.10092d66
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4