joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090610
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071bb0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10073590
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100906b0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.1000171b
mov dword [ebp - 0x22c], eax
call fcn.100904b0
add esp, 0x1c
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x100906ec
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006ef11
mov esp, ebp
pop ebp
ret 8

Function at 0x10090da0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.10071bb0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call fcn.1006f327
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x10090e72
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x420]
push edx
call fcn.1000171b
mov dword [ebp - 0x42c], eax
call fcn.100904b0
add esp, 0x1c
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.1000a156
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
call fcn.1000a156
jmp 0x10090e8c
push 0x100c2e88
mov ecx, dword [ebp + 0xc]
call fcn.1000a156
push 0x100c2e8c
mov ecx, dword [ebp + 0x10]
call fcn.1000a156
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006ef11
mov esp, ebp
pop ebp
ret
Function at 0x10090ea0
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 + 0x8c], 0
je 0x10090ebc
xor eax, eax
jmp 0x10091079
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x10090ecc
xor eax, eax
jmp 0x10091079
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.1000a156
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jne 0x10090ef8
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 0x10090f08
xor eax, eax
jmp 0x10091079
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 + 0x88], 0
je 0x10090f60
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x10090f4c
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 0x10090f53
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x88], 0
call fcn.1008ff30
test eax, eax
je 0x10090fae
call fcn.1008ff10
cmp eax, 1
jne 0x10090fae
push 0x5c
call fcn.1006ec7d
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10090f93
mov ecx, dword [ebp - 0x14]
call fcn.1008f3c0
mov dword [ebp - 0x28], eax
jmp 0x10090f9a
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 + 0x88], ecx
jmp 0x10090fe7
push 0x30
call fcn.1006ec7d
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x10090fce
mov ecx, dword [ebp - 0x1c]
call fcn.1008ec00
mov dword [ebp - 0x2c], eax
jmp 0x10090fd5
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 + 0x88], 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 + 0x64], eax
push 0x1008ffe0
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x10090740
push 0
push 0
call fcn.100728de
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x1009106d
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 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 0x100913a0
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 0x100913b6
xor eax, eax
jmp 0x100914f5
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.10048550
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
call fcn.10048990
push eax
lea ecx, [ebp - 8]
call fcn.10048650
movzx eax, al
test eax, eax
je 0x10091439
lea ecx, [ebp - 0x18]
call fcn.10047690
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.10048490
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 0x100914f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 8]
call fcn.10048630
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 0x100914e9
cmp dword [ebp - 0x20], 0x12c
jbe 0x100914e9
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax + 8]
jbe 0x100914e9
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], 0
fild qword [ebp - 0x44]
fdiv qword [0x100cfde0]
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 0x100914f2
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 0x10091ad7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x10091ae6
cmp dword [ebp + 0x10], 0
jg 0x10091aee
mov eax, dword [ebp + 8]
jmp 0x10091c71
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x10091c37
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 + 0x100c2fe8]
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 0x10091af7
cmp dword [ebp + 0x10], 0
je 0x10091c6b
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 + 0x100c2fe8]
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 0x10091c3d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x10092c91
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x10092cb1
xor eax, eax
jmp 0x10092da9
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 0x10092da6
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.10071bb0
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 0x10092d9d
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10092d86
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.10071bb0
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.10072223
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.100731ee
pop ecx
pop ecx
test eax, eax
jne 0x10092d86
mov dword [ebp - 4], 1
jmp 0x10092d9d
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x10092cfd
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.1006ef11
leave
ret

Function at 0x1009381c
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3aaa
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100e13e0]
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.10003dd9
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10093048
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.1000a113
push 0
lea ecx, [ebp - 0x10]
call fcn.10010f80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.1000a113
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003e6e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003dd9
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003e5d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x100938d0
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 0x100938f2
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x5c], 0
jne 0x100938f2
xor al, al
jmp 0x10093aa4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10013c9c
jmp 0x10093911
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 8]
call fcn.1003bb96
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x34
call fcn.10013cbf
push eax
lea ecx, [ebp - 8]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x10093aa2
lea ecx, [ebp - 8]
call fcn.10017123
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x10093949
jmp 0x10093903
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 4
ja 0x10093a9d
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0x186a0
jne 0x10093a9d
lea ecx, [ebp - 8]
call fcn.10017123
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1009397c
jmp 0x10093903
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004ff5
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 0x100939ba
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 0x100939d4
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 0x10093a10
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 0x10093a9d
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.10039356
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x60
call fcn.10040460
push eax
lea ecx, [ebp - 0x1c]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x10093a95
lea ecx, [ebp - 0x1c]
call fcn.100405a9
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x10093a8b
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.100404da
jmp 0x10093a45
xor eax, eax
jne 0x10093a36
xor al, al
jmp 0x10093aa4
jmp 0x10093903
mov al, 1
leave
ret
Function at 0x100943a2
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.10039356
jmp 0x100943cd
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10040575
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10040460
push eax
lea ecx, [ebp - 8]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x10094435
lea ecx, [ebp - 8]
call fcn.100405a9
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004ff5
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10094433
mov ecx, dword [ebp - 0xc]
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10094433
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x100943bf
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10037ecf
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10039356
jmp 0x10094465
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10040575
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10040460
push eax
lea ecx, [ebp - 0x14]
call fcn.100404ee
movzx eax, al
test eax, eax
je 0x1009449f
lea ecx, [ebp - 0x14]
call fcn.100405a9
mov ecx, eax
call fcn.10004ff5
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10094457
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10037ecf
leave
ret
Function at 0x10094c6d
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4cec
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100e13e0]
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.10071bb0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.100107ef
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 0x10094d98
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c44cc
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10094d8f
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.10003e87
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010ab6
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10094d80
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.10010f80
push eax
call fcn.100a8f4c
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10003e5d
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.10003e5d
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.1006ef11
leave
ret 4
Function at 0x10094dca
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4d44
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100e13e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100fd2ec]
lea eax, [ebp - 0x1c]
push eax
call fcn.10093b39
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 0x100c43b4
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.10010ab6
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.10003e5d
push 0
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c43c0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10010ab6
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100c43d0
lea ecx, [ebp - 0x10]
call fcn.10010f80
push eax
push 0x451
push dword [0x100fd2ec]
call fcn.100940dd
add esp, 0x14
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10094ec8
lea ecx, [ebp - 0x10]
call fcn.10010f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10094ec8
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003e5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e5d
mov eax, dword [ebp - 0x20]
jmp 0x10094fb2
lea ecx, [ebp - 0x10]
call fcn.10010f80
push eax
lea ecx, [ebp - 0x3c]
call fcn.1000171b
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.10037e6f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10001789
lea ecx, [ebp - 0x14]
call fcn.10010f80
push eax
lea ecx, [ebp - 0x58]
call fcn.1000171b
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.10037e6f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001789
lea ecx, [ebp - 0x10]
call fcn.10010f80
push eax
lea ecx, [ebp - 0x74]
call fcn.1000171b
mov byte [ebp - 4], 6
push dword [0x100fd26c]
push 1
call fcn.10045c6a
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.10045d73
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10001789
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003e5d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e5d
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret