joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100959c3
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x854], ecx
and dword [ebp - 4], 0
push 0x820
push 0
lea eax, [ebp - 0x828]
push eax
call fcn.10071b20
add esp, 0xc
mov dword [ebp - 0x828], 0x820
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x81c], 1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x810], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x818], 1
push str.test.exe
push 0x400
lea eax, [ebp - 0x808]
push eax
call fcn.10075b74
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x10095af0
push 0x100d02e8
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x10095a84
xor eax, eax
jmp 0x10095bc6
mov dword [ebp - 0x83c], 1
mov dword [ebp - 0x838], 0x820
lea eax, [ebp - 0x828]
mov dword [ebp - 0x834], eax
and dword [ebp - 0x840], 0
lea eax, [ebp - 0x840]
push eax
push 0x7530
push 1
lea eax, [ebp - 0x83c]
push eax
push dword [ebp - 0x830]
push 0x4a
push dword [ebp - 0x830]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov dword [ebp - 0x82c], eax
xor eax, eax
cmp dword [ebp - 0x82c], 0
setne al
jmp 0x10095bc6
and dword [ebp - 0x848], 0
and dword [ebp - 0x84c], 0
and dword [ebp - 0x844], 0
jne 0x10095b25
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_SM
push 0x820
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x844], eax
cmp dword [ebp - 0x844], 0
je 0x10095bc0
push 0x820
push 0
push 0
push 6
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x84c], eax
push 0x820
lea eax, [ebp - 0x828]
push eax
push dword [ebp - 0x84c]
call fcn.10073370
add esp, 0xc
push str.Global9830FF25_8009_4406_90C8_1B4C7692A0E3_EVT
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x850], eax
cmp dword [ebp - 0x850], 0
je 0x10095b9d
push dword [ebp - 0x850]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 0x848], 1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x84c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x844]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x848]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071b0a
leave
ret 8
Function at 0x100965c4
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 0x100965ff
xor eax, eax
jmp 0x10096645
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 0x1009662e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x10096638
xor eax, eax
jmp 0x10096645
cmp dword [ebp - 4], 4
je 0x10096642
xor eax, eax
jmp 0x10096645
xor eax, eax
inc eax
leave
ret

Function at 0x10096aa1
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x10096ac1
xor eax, eax
jmp 0x10096bb9
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 0x10096bb6
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.10071b20
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 0x10096bad
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x10096b96
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.10071b20
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.10075257
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.10075cef
pop ecx
pop ecx
test eax, eax
jne 0x10096b96
mov dword [ebp - 4], 1
jmp 0x10096bad
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x10096b0d
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.10071b0a
leave
ret
Function at 0x10096dfd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x100ed3e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x10109584], 0
je 0x10096e23
mov eax, dword [0x10109580]
jmp 0x10096ecc
push 0x114
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.10071b20
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 0x10096e5d
xor eax, eax
jmp 0x10096ecc
cmp dword [ebp - 0x11c], 5
ja 0x10096e7b
mov dword [0x10109584], 1
and dword [0x10109580], 0
xor eax, eax
jmp 0x10096ecc
push 0x100cec70
push reloc.OLEAUT32.dll_SysReAllocString
push 0x100cece8
push 0x10109580
call fcn.100965c4
add esp, 0x10
test eax, eax
je 0x10096eb9
xor eax, eax
cmp dword [0x10109580], 1
sete al
inc eax
mov dword [0x10109580], eax
mov dword [0x10109584], 1
jmp 0x10096ec7
and dword [0x10109584], 0
and dword [0x10109580], 0
mov eax, dword [0x10109580]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10071b0a
leave
ret

Function at 0x10096f21
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.1001e317
push 0x20019
push 0x100cfc84
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.10009ba6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10096ff0
and word [ebp - 0x220], 0
push 0x208
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071b20
add esp, 0xc
mov dword [ebp - 0x224], 0x104
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x100cfcb8
lea ecx, [ebp - 4]
call fcn.10009d84
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10096ff0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10096ff0
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.10009c18
mov eax, dword [ebp - 0x228]
jmp 0x10097005
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 4]
call fcn.10009c18
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10071b0a
leave
ret
Function at 0x10097011
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.1001e317
push 0x20019
push 0x100cfc38
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 4]
call fcn.10009ba6
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100970c3
and word [ebp - 0x220], 0
push 0x208
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071b20
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.10009d84
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x100970c3
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100970c3
mov dword [ebp - 0x228], 1
lea ecx, [ebp - 4]
call fcn.10009c18
mov eax, dword [ebp - 0x228]
jmp 0x100970d8
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 4]
call fcn.10009c18
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10071b0a
leave
ret
Function at 0x10097d4f
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd604
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.10003c74
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10097b77
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009f82
push 0
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009f82
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003cf8
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003c74
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106f6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x100980dc
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.10071b20
add esp, 0xc
push 0x103
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10098132
xor eax, eax
jmp 0x10098194
push str.driversBDMWrench.sys
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.10077cff
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.10095c11
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
push dword [ebp - 4]
push 0x100cfc34
push dword [ebp + 8]
call fcn.100160e3
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x1009818e
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.10071b0a
leave
ret
Function at 0x100981a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdb34
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.10071b20
add esp, 0xc
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x14]
call fcn.10003c5a
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 0x10098221
cmp dword [ebp - 0x18], 0x400
jb 0x1009823f
and dword [ebp - 0x850], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106f6
mov eax, dword [ebp - 0x850]
jmp 0x100982cf
lea eax, [ebp - 0x84c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x10]
call fcn.10096091
pop ecx
pop ecx
cmp eax, 1
jne 0x10098297
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.100160e3
add esp, 0x28
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.10041bf9
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x10]
call fcn.10071feb
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 0x10098248
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x854], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106f6
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.10071b0a
leave
ret
Function at 0x10098a5e
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.10041e0d
jmp 0x10098a89
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.10042084
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10041e2c
push eax
lea ecx, [ebp - 8]
call fcn.100420b8
movzx eax, al
test eax, eax
je 0x10098af1
lea ecx, [ebp - 8]
call fcn.1004200a
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004ea9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10098aef
mov ecx, dword [ebp - 0xc]
call fcn.10004ea9
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10098aef
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004ea9
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10098a7b
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.10038916
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10041e0d
jmp 0x10098b21
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10042084
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10041e2c
push eax
lea ecx, [ebp - 0x14]
call fcn.100420b8
movzx eax, al
test eax, eax
je 0x10098b5b
lea ecx, [ebp - 0x14]
call fcn.1004200a
mov ecx, eax
call fcn.10004ea9
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10098b13
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.10038916
leave
ret
Function at 0x10099a4f
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bebe2
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.10071b20
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003c5a
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 0x10099b7a
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 0x10099b71
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.10003d11
push 0x100cf85c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010930
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.10010b64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10099b62
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.10010b64
push eax
call fcn.100b2989
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100106f6
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.100106f6
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.10071b0a
leave
ret 4
Function at 0x10099bac
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bec46
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 [0x10109268]
lea eax, [ebp - 0x234]
push eax
call fcn.10097e03
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.10010930
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.100106f6
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.10071b20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10010b64
push eax
call fcn.100b2611
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003d11
push 0
lea ecx, [ebp - 0x14]
call fcn.10010b64
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.10010930
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100cf748
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
push 0x451
push dword [0x10109268]
call fcn.10098799
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x10099d14
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10099d14
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106f6
mov eax, dword [ebp - 0x238]
jmp 0x10099e25
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
lea ecx, [ebp - 0x254]
call fcn.10001713
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.100388b6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.10001781
lea ecx, [ebp - 0x14]
call fcn.10010b64
push eax
lea ecx, [ebp - 0x270]
call fcn.10001713
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.100388b6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.10001781
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
lea ecx, [ebp - 0x28c]
call fcn.10001713
mov byte [ebp - 4], 6
push dword [0x101091cc]
push 1
call fcn.10047637
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.10047740
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.10001781
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100106f6
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.10071b0a
leave
ret
Function at 0x10099f60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf136
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.10003c8d
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009f82
push 0x100d0788
lea ecx, [ebp - 0x98]
call fcn.10001713
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.10001713
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.10001713
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.10010b64
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.10001713
lea ecx, [ebp - 0x7c]
call fcn.100bcf37
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.10001781
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.10001781
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.10001781
and dword [ebp - 0xd8], 0
push 0x100d0798
lea ecx, [ebp - 0xf4]
call fcn.10001713
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.10016b33
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.10001781
and dword [ebp - 0xf8], 0
push 0x100d07a0
lea ecx, [ebp - 0x114]
call fcn.10001713
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.10016b33
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.10001781
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.10016000
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.10010b64
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.100bd01d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100106f6
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.10071b0a
leave
ret 0xc
Function at 0x1009aa7c
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bf530
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.10003c5a
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b6415
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.10003cf8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100106f6
lea eax, [ebp - 0x24]
push eax
call fcn.10097b77
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009f82
push 0
lea ecx, [ebp - 0x24]
call fcn.10010b64
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.1009a6b4
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.10003df7
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.10010b64
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.10010930
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.10010b64
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.10010930
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.10010930
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.10010b64
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.100106f6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.100106f6
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.100106f6
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.100106f6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100106f6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100106f6
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8