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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
call fcn.1001e01d
push 0x20019
push 0x100cfc38
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.10009be7
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100970b3
and word [ebp - 0x220], 0
push 0x208
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071b30
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100cfc6c
lea ecx, [ebp - 4]
call fcn.10009dc1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100970b3
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100970b3
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 4]
call fcn.10009c59
mov eax, dword [ebp - 0x228]
jmp 0x100970c8
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 4]
call fcn.10009c59
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x10097d3f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd5f4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100ed3e0]
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.10003b3a
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10097b67
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009fbf
push 0
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009fbf
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003bbe
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b3a
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x100980cc
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100ed3e0]
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.10071b30
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10098122
xor eax, eax
jmp 0x10098184
push str.driversBDMWrench.sys
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.10077c07
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10095c01
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
push dword [ebp - 4]
push 0x100cfc34
push dword [ebp + 8]
call fcn.10016299
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1009817e
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x10098190
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdb24
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100ed3e0]
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.10071b30
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10003b20
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 0x10098211
cmp dword [ebp - 0x18], 0x400
jb 0x1009822f
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x850]
jmp 0x100982bf
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.10096081
pop ecx
pop ecx
cmp eax, 1
jne 0x10098287
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.10016299
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10040ec6
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10071ffb
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 0x10098238
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
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.10071b1a
leave
ret
Function at 0x10098a4e
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.10039eb0
jmp 0x10098a79
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.100413a2
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10041111
push eax
lea ecx, [ebp - 8]
call fcn.100018ea
movzx eax, al
test eax, eax
je 0x10098ae1
lea ecx, [ebp - 8]
call fcn.10041328
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004de7
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10098adf
mov ecx, dword [ebp - 0xc]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10098adf
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10098a6b
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10038a15
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10039eb0
jmp 0x10098b11
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.100413a2
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10041111
push eax
lea ecx, [ebp - 0x14]
call fcn.100018ea
movzx eax, al
test eax, eax
je 0x10098b4b
lea ecx, [ebp - 0x14]
call fcn.10041328
mov ecx, eax
call fcn.10004de7
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10098b03
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10038a15
leave
ret
Function at 0x10099a3f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bebc2
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100ed3e0]
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.10071b30
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003b20
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 0x10099b6a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100cf844
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10099b61
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.10003bd7
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.1000ba55
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10099b52
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.1000ba55
push eax
call fcn.100b29a5
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10010769
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.10010769
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.10071b1a
leave
ret 4
Function at 0x10099b9c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bec26
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x294], ecx
push dword [0x10109260]
lea eax, [ebp - 0x234]
push eax
call fcn.10097df3
pop ecx
pop ecx
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
mov dword [ebp - 0x29c], eax
and dword [ebp - 4], 0
push 0x100cf714
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.10010769
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071b30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.1000ba55
push eax
call fcn.100b262d
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003bd7
push 0
lea ecx, [ebp - 0x14]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cf738
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100cf748
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
push 0x451
push dword [0x10109260]
call fcn.10098789
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10099d04
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10099d04
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x238]
jmp 0x10099e15
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x254]
call fcn.100016bb
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x294]
add ecx, 0xe0
call fcn.100389b5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.10001729
lea ecx, [ebp - 0x14]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x270]
call fcn.100016bb
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x2ac]
mov ecx, dword [ebp - 0x294]
add ecx, 0xf0
call fcn.100389b5
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.10001729
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
lea ecx, [ebp - 0x28c]
call fcn.100016bb
mov byte [ebp - 4], 6
push dword [0x101091c4]
push 1
call fcn.10047634
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.1004773d
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.10001729
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x290]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10071b1a
leave
ret
Function at 0x10099f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf11e
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x11c], ecx
push 0x100d0780
lea ecx, [ebp - 0x10]
call fcn.10003b53
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009fbf
push 0x100d0788
lea ecx, [ebp - 0x98]
call fcn.100016bb
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x124]
push 0x100d078c
lea ecx, [ebp - 0xb4]
call fcn.100016bb
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x12c]
push 0x100d0790
lea ecx, [ebp - 0xd0]
call fcn.100016bb
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x134]
lea ecx, [ebp - 0x10]
call fcn.1000ba55
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.100016bb
lea ecx, [ebp - 0x7c]
call fcn.100bcf22
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.10001729
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.10001729
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.10001729
and dword [ebp - 0xd8], 0
push 0x100d0798
lea ecx, [ebp - 0xf4]
call fcn.100016bb
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10016aab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.10001729
and dword [ebp - 0xf8], 0
push 0x100d07a0
lea ecx, [ebp - 0x114]
call fcn.100016bb
mov byte [ebp - 4], 9
lea eax, [ebp - 0xf8]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10016aab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.10001729
push 0
push 0x100d07a8
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x11c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax]
push str.Define__d___d__d
lea eax, [ebp - 0x10]
push eax
call fcn.10016180
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x118], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.100bd008
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10010769
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10071b1a
leave
ret 0xc
Function at 0x1009aa6c
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf518
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100ed3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x24]
call fcn.10003b20
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b6431
pop ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
call fcn.10003bbe
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10010769
lea eax, [ebp - 0x24]
push eax
call fcn.10097b67
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009fbf
push 0
lea ecx, [ebp - 0x24]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.1009a6a4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10003cbd
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..tdl
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str..xfd
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100109a3
add esp, 0xc
mov byte [ebp - 4], 5
push str..xftp
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100109a3
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.10010769
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.10010769
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10010769
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10010769
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10010769
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x1009abf7
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf54b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ed3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10097c9c
lea ecx, [ebp - 0x1c]
call fcn.10003b20
and dword [ebp - 4], 0
push 0x100c9956
push 0x100cedec
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100bc380
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100cede0
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1000ba55
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10016180
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10010769
lea eax, [ebp - 0x18]
push eax
call fcn.100b6431
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.10097b67
pop ecx
push 0x100cedf0
lea ecx, [ebp - 0x18]
call fcn.10009fbf
push 0
lea ecx, [ebp - 0x18]
call fcn.1000ba55
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cee04
lea ecx, [ebp - 0x18]
call fcn.10009fbf
lea ecx, [ebp - 0x18]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.10071b30
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009ad35
mov ecx, dword [ebp - 0x2c]
call fcn.1003f735
mov dword [ebp - 0x3c], eax
jmp 0x1009ad39
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
lea ecx, [ebp - 0x1c]
call fcn.1000ba55
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a002
lea ecx, [ebp - 0x18]
call fcn.1000ba55
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a002
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10040fe1
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x2c]
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10010769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10010769
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x1009aff8
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf74b
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
push 0x100cd87a
push 0x100d0834
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x10]
call fcn.100bc380
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10030a5b
movzx eax, al
test eax, eax
je 0x1009b076
and dword [ebp - 0x230], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x230]
jmp 0x1009b1ea
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071b30
add esp, 0xc
push 0x105
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1000ba55
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.qmfix.dll
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x100d085c
lea eax, [ebp - 0x22c]
push eax
push 0x451
push dword [0x10109260]
call fcn.10098789
add esp, 0x14
test eax, eax
jne 0x1009b115
and dword [ebp - 0x234], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x234]
jmp 0x1009b1ea
push 0xec
call fcn.10071d5d
pop ecx
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 0
je 0x1009b15d
mov eax, dword [ebp - 0x24c]
push dword [eax + 0x10]
push 2
push 0x100d0870
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.100a9ba9
mov dword [ebp - 0x250], eax
jmp 0x1009b164
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x10], eax
push 0x100d0884
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x1009b1c8
push 1
mov eax, dword [ebp - 0x240]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x240]
call dword [eax + 0x1c]
mov dword [ebp - 0x254], eax
jmp 0x1009b1cf
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x248], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10010769
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10071b1a
leave
ret