joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100957e4
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 0x1009581f
xor eax, eax
jmp 0x10095865
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 0x1009584e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x10095858
xor eax, eax
jmp 0x10095865
cmp dword [ebp - 4], 4
je 0x10095862
xor eax, eax
jmp 0x10095865
xor eax, eax
inc eax
leave
ret

Function at 0x10095cc1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x10095ce1
xor eax, eax
jmp 0x10095dd9
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 0x10095dd6
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 0x10095dcd
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10095db6
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 0x10095db6
mov dword [ebp - 4], 1
jmp 0x10095dcd
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x10095d2d
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 0x1009601d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10106544], 0
je 0x10096043
mov eax, dword [0x10106540]
jmp 0x100960ec
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 0x1009607d
xor eax, eax
jmp 0x100960ec
cmp dword [ebp - 0x11c], 5
ja 0x1009609b
mov dword [0x10106544], 1
and dword [0x10106540], 0
xor eax, eax
jmp 0x100960ec
push 0x100ccc58
push reloc.OLEAUT32.dll_SysReAllocString
push 0x100cccd0
push 0x10106540
call fcn.100957e4
add esp, 0x10
test eax, eax
je 0x100960d9
xor eax, eax
cmp dword [0x10106540], 1
sete al
inc eax
mov dword [0x10106540], eax
mov dword [0x10106544], 1
jmp 0x100960e7
and dword [0x10106544], 0
and dword [0x10106540], 0
mov eax, dword [0x10106540]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x10096dac
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb4a4
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100ea3e0]
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.10003df2
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10096bd4
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.1000a103
push 0
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.1000a103
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003e87
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003df2
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003e76
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10097139
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bb9d4
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100ea3e0]
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.10003dd8
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 0x100971ba
cmp dword [ebp - 0x18], 0x400
jb 0x100971d8
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x850]
jmp 0x10097268
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.100952b1
pop ecx
pop ecx
cmp eax, 1
jne 0x10097230
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.10016358
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.1004156a
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 0x100971e1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
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 0x100979de
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.10039831
jmp 0x10097a09
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10041907
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10041756
push eax
lea ecx, [ebp - 8]
call fcn.100158ff
movzx eax, al
test eax, eax
je 0x10097a71
lea ecx, [ebp - 8]
call fcn.1004193b
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.100050ac
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10097a6f
mov ecx, dword [ebp - 0xc]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10097a6f
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x100979fb
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003831c
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10039831
jmp 0x10097aa1
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10041907
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10041756
push eax
lea ecx, [ebp - 0x14]
call fcn.100158ff
movzx eax, al
test eax, eax
je 0x10097adb
lea ecx, [ebp - 0x14]
call fcn.1004193b
mov ecx, eax
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10097a93
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003831c
leave
ret
Function at 0x100989cf
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcae6
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100ea3e0]
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.10003dd8
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 0x10098afa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100cd5ec
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10098af1
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.10003ea0
push 0x100cd604
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010a79
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.100212fb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10098ae2
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.100212fb
push eax
call fcn.100b0a0a
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10003e76
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.10003e76
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
Function at 0x10098b2c
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bcb4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100ea3e0]
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 [0x1010622c]
lea eax, [ebp - 0x234]
push eax
call fcn.10096e60
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 0x100cd4bc
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.10010a79
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.10003e76
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10073a50
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.100212fb
push eax
call fcn.100b0692
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003ea0
push 0
lea ecx, [ebp - 0x14]
call fcn.100212fb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cd4e0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10010a79
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100cd4f0
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
push 0x451
push dword [0x1010622c]
call fcn.10097719
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10098c94
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10098c94
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x238]
jmp 0x10098da5
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x254]
call fcn.1000172d
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.100382bc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.1000179b
lea ecx, [ebp - 0x14]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x270]
call fcn.1000172d
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.100382bc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.1000179b
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
lea ecx, [ebp - 0x28c]
call fcn.1000172d
mov byte [ebp - 4], 6
push dword [0x10106194]
push 1
call fcn.10046e9e
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.10046fa7
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.1000179b
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
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.10070dd1
leave
ret
Function at 0x10098ee0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd00d
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100ea3e0]
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 0x100ce32c
lea ecx, [ebp - 0x10]
call fcn.10003e0b
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1000a103
push 0x100ce334
lea ecx, [ebp - 0x98]
call fcn.1000172d
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 0x100ce338
lea ecx, [ebp - 0xb4]
call fcn.1000172d
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 0x100ce33c
lea ecx, [ebp - 0xd0]
call fcn.1000172d
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.100212fb
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.1000172d
lea ecx, [ebp - 0x7c]
call fcn.100badcf
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.1000179b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000179b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.1000179b
and dword [ebp - 0xd8], 0
push 0x100ce344
lea ecx, [ebp - 0xf4]
call fcn.1000172d
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.10016bc1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.1000179b
and dword [ebp - 0xf8], 0
push 0x100ce34c
lea ecx, [ebp - 0x114]
call fcn.1000172d
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.10016bc1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.1000179b
push 0
push 0x100ce354
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.1001612b
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.100212fb
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.100baeb5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003e76
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.10070dd1
leave
ret 0xc
Function at 0x100999fc
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd407
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100ea3e0]
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.10003dd8
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b42ad
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.10003e87
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10003e76
lea eax, [ebp - 0x24]
push eax
call fcn.10096bd4
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.1000a103
push 0
lea ecx, [ebp - 0x24]
call fcn.100212fb
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.10099634
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.10003f86
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.100212fb
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.10010a79
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.100212fb
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.10010a79
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.10010a79
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.10003e76
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.10003e76
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10003e76
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10003e76
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x10099b87
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd43a
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100ea3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10096d09
lea ecx, [ebp - 0x1c]
call fcn.10003dd8
and dword [ebp - 4], 0
push 0x100c793e
push 0x100ccdd4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100ba22d
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100ccdc8
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.100212fb
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1001612b
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10003e76
lea eax, [ebp - 0x18]
push eax
call fcn.100b42ad
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.10096bd4
pop ecx
push 0x100ccdd8
lea ecx, [ebp - 0x18]
call fcn.1000a103
push 0
lea ecx, [ebp - 0x18]
call fcn.100212fb
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100ccdec
lea ecx, [ebp - 0x18]
call fcn.1000a103
lea ecx, [ebp - 0x18]
call fcn.100212fb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.10070b17
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.10073a50
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.10070b17
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10099cc5
mov ecx, dword [ebp - 0x2c]
call fcn.1003feb4
mov dword [ebp - 0x3c], eax
jmp 0x10099cc9
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.100212fb
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000a146
lea ecx, [ebp - 0x18]
call fcn.100212fb
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000a146
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10041685
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.10003e76
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10003e76
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x10099f88
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd63a
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100ea3e0]
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 0x100cb862
push 0x100ce3e4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x10]
call fcn.100ba22d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100308ac
movzx eax, al
test eax, eax
je 0x1009a006
and dword [ebp - 0x230], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x230]
jmp 0x1009a17a
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10073a50
add esp, 0xc
push 0x105
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.100212fb
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 0x100ce40c
lea eax, [ebp - 0x22c]
push eax
push 0xe5
push dword [0x1010622c]
call fcn.10097719
add esp, 0x14
test eax, eax
jne 0x1009a0a5
and dword [ebp - 0x234], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003e76
mov eax, dword [ebp - 0x234]
jmp 0x1009a17a
push 0xec
call fcn.10070b17
pop ecx
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 0
je 0x1009a0ed
mov eax, dword [ebp - 0x24c]
push dword [eax + 0x10]
push 2
push 0x100ce420
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.100a8663
mov dword [ebp - 0x250], eax
jmp 0x1009a0f4
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 0x100ce434
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 0x1009a158
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 0x1009a15f
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.10003e76
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.10070dd1
leave
ret