joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009c359
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 0x1009c394
xor eax, eax
jmp 0x1009c3da
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 0x1009c3c3
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x1009c3cd
xor eax, eax
jmp 0x1009c3da
cmp dword [ebp - 4], 4
je 0x1009c3d7
xor eax, eax
jmp 0x1009c3da
xor eax, eax
inc eax
leave
ret

Function at 0x1009c844
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x1009c864
xor eax, eax
jmp 0x1009c95c
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 0x1009c959
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.100771d0
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 0x1009c950
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x1009c939
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.100771d0
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.1007b1b2
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.1007bcdc
pop ecx
pop ecx
test eax, eax
jne 0x1009c939
mov dword [ebp - 4], 1
jmp 0x1009c950
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x1009c8b0
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.100771ba
leave
ret
Function at 0x1009cba0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10115b20], 0
je 0x1009cbc6
mov eax, dword [0x10115b1c]
jmp 0x1009cc6f
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.100771d0
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 0x1009cc00
xor eax, eax
jmp 0x1009cc6f
cmp dword [ebp - 0x11c], 5
ja 0x1009cc1e
mov dword [0x10115b20], 1
and dword [0x10115b1c], 0
xor eax, eax
jmp 0x1009cc6f
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push reloc.OLEAUT32.dll_SysReAllocString
push str.EnableLUA
push 0x10115b1c
call fcn.1009c359
add esp, 0x10
test eax, eax
je 0x1009cc5c
xor eax, eax
cmp dword [0x10115b1c], 1
sete al
inc eax
mov dword [0x10115b1c], eax
mov dword [0x10115b20], 1
jmp 0x1009cc6a
and dword [0x10115b20], 0
and dword [0x10115b1c], 0
mov eax, dword [0x10115b1c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100771ba
leave
ret

Function at 0x1009ccc4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
call fcn.100223dd
push 0x20019
push 0x100db074
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.1000e13e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009cd93
and word [ebp - 0x220], 0
push 0x208
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.100771d0
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100db0a8
lea ecx, [ebp - 4]
call fcn.1000e2d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009cd93
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009cd93
push dword [ebp + 8]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 4]
call fcn.1000e1b0
mov eax, dword [ebp - 0x228]
jmp 0x1009cda8
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 4]
call fcn.1000e1b0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100771ba
leave
ret
Function at 0x1009cdb4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
call fcn.100223dd
push 0x20019
push 0x100db028
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.1000e13e
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009ce66
and word [ebp - 0x220], 0
push 0x208
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.100771d0
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100db05c
lea ecx, [ebp - 4]
call fcn.1000e2d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1009ce66
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009ce66
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 4]
call fcn.1000e1b0
mov eax, dword [ebp - 0x228]
jmp 0x1009ce7b
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 4]
call fcn.1000e1b0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100771ba
leave
ret

Function at 0x1009d858
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c75a7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100f93e0]
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.10003be1
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.1009d723
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.1000e4d2
push 0
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009d8f0
push str.C:downloadconfig_
lea ecx, [ebp - 0x10]
call fcn.10003c7e
push 0
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.1000e4d2
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003c65
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003be1
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10014be9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x1009dc18
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1009dc6e
xor eax, eax
jmp 0x1009dcd0
push str.driversBDMWrench.sys
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.1007d1ad
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.1009b853
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
push dword [ebp - 4]
push 0x100db024
push dword [ebp + 8]
call fcn.1001a7e4
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1009dcca
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.100771ba
leave
ret

Function at 0x1009dcdc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7b43
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10014b4b
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 0x1009dd5d
cmp dword [ebp - 0x18], 0x400
jb 0x1009dd7b
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov eax, dword [ebp - 0x850]
jmp 0x1009de0b
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.1009bcd3
pop ecx
pop ecx
cmp eax, 1
jne 0x1009ddd3
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.1001a7e4
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10046734
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10077b0b
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 0x1009dd84
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
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.100771ba
leave
ret
Function at 0x1009e63d
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.1003e277
jmp 0x1009e668
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10046a9f
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10028dc4
push eax
lea ecx, [ebp - 8]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x1009e6d0
lea ecx, [ebp - 8]
call fcn.10046ad3
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.100094ad
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009e6ce
mov ecx, dword [ebp - 0xc]
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1009e6ce
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x1009e65a
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003cd3e
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003e277
jmp 0x1009e700
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10046a9f
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10028dc4
push eax
lea ecx, [ebp - 0x14]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x1009e73a
lea ecx, [ebp - 0x14]
call fcn.10046ad3
mov ecx, eax
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1009e6f2
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003cd3e
leave
ret
Function at 0x1009ef4b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8c0c
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100f93e0]
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.100771d0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10014b4b
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 0x1009f076
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100dac34
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009f06d
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.10003c7e
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10014e8c
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10005b69
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1009f05e
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.10005b69
push eax
call fcn.100bb018
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.10014be9
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.10014be9
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.100771ba
leave
ret 4
Function at 0x1009f219
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c8f6a
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100f93e0]
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 0x100dbc7c
lea ecx, [ebp - 0x10]
call fcn.10003bfa
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.1000e4d2
push 0x100dbc84
lea ecx, [ebp - 0x98]
call fcn.1000173d
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 0x100dbc88
lea ecx, [ebp - 0xb4]
call fcn.1000173d
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 0x100dbc8c
lea ecx, [ebp - 0xd0]
call fcn.1000173d
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.10005b69
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.1000173d
lea ecx, [ebp - 0x7c]
call fcn.100c6eb0
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.100017ab
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.100017ab
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.100017ab
and dword [ebp - 0xd8], 0
push 0x100dbc94
lea ecx, [ebp - 0xf4]
call fcn.1000173d
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.1001aef2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.100017ab
and dword [ebp - 0xf8], 0
push 0x100dbc9c
lea ecx, [ebp - 0x114]
call fcn.1000173d
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.1001aef2
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.100017ab
push 0
push 0x100dbca4
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.10008825
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.10005b69
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.100c6f96
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10014be9
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.100771ba
leave
ret 0xc
Function at 0x1009fda1
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c90bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100f93e0]
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 [0x101157c4]
lea eax, [ebp - 0x234]
push eax
call fcn.1009d93f
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 0x100daafc
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.10014e8c
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.10014be9
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100771d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10005b69
push eax
call fcn.100bb16e
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003c7e
push 0
lea ecx, [ebp - 0x14]
call fcn.10005b69
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str._t_d_r.dll
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10014e8c
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100dab38
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
push 0x451
push dword [0x101157c4]
call fcn.1009e378
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x1009ff09
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1009ff09
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov eax, dword [ebp - 0x238]
jmp 0x100a001a
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
lea ecx, [ebp - 0x254]
call fcn.1000173d
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.1003ccde
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.100017ab
lea ecx, [ebp - 0x14]
call fcn.10005b69
push eax
lea ecx, [ebp - 0x270]
call fcn.1000173d
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.1003ccde
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.100017ab
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
lea ecx, [ebp - 0x28c]
call fcn.1000173d
mov byte [ebp - 4], 6
push dword [0x10115724]
push 1
call fcn.1004c968
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.1004ca71
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.100017ab
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
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.100771ba
leave
ret
Function at 0x100a0669
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c95e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f93e0]
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.10014b4b
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100bee66
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.10003c65
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10014be9
lea eax, [ebp - 0x24]
push eax
call fcn.1009d723
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.1000e4d2
push 0
lea ecx, [ebp - 0x24]
call fcn.10005b69
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.100a046f
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.10003d64
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10005b69
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.10014e8c
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10005b69
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.10014e8c
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.10014e8c
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.10014be9
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.10014be9
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.10014be9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.10014be9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8