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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd125
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x100eb3e0]
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 [0x1010722c]
lea eax, [ebp - 0x234]
push eax
call fcn.100972f0
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 0x100ce4dc
push dword [ebp - 0x29c]
lea eax, [ebp - 0x14]
push eax
call fcn.100105fa
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
call fcn.100103c0
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.1002ffe8
push eax
call fcn.100b0c5d
add esp, 0x10
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003b3f
push 0
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100ce500
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100105fa
add esp, 0xc
mov byte [ebp - 4], 3
push 0
push 0x100ce510
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
push 0x451
push dword [0x1010722c]
call fcn.10097c55
add esp, 0x14
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jne 0x100991d0
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100991d0
and dword [ebp - 0x238], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x238]
jmp 0x100992e1
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x254]
call fcn.100016dd
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.10037e85
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x254]
call fcn.1000174b
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x270]
call fcn.100016dd
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.10037e85
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.1000174b
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x28c]
call fcn.100016dd
mov byte [ebp - 4], 6
push dword [0x10107194]
push 1
call fcn.10046e9b
lea edx, [ebp - 0x28c]
mov ecx, eax
call fcn.10046fa4
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28c]
call fcn.1000174b
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x290], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
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 0x1009941c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x100eb3e0]
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 0x100cf3dc
lea ecx, [ebp - 0x10]
call fcn.10003abb
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.10009d23
push 0x100cf3e4
lea ecx, [ebp - 0x98]
call fcn.100016dd
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 0x100cf3e8
lea ecx, [ebp - 0xb4]
call fcn.100016dd
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 0x100cf3ec
lea ecx, [ebp - 0xd0]
call fcn.100016dd
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.1002ffe8
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xd4], esp
push eax
call fcn.100016dd
lea ecx, [ebp - 0x7c]
call fcn.100bb39a
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd0]
call fcn.1000174b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb4]
call fcn.1000174b
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x98]
call fcn.1000174b
and dword [ebp - 0xd8], 0
push 0x100cf3f4
lea ecx, [ebp - 0xf4]
call fcn.100016dd
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.10016301
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xf4]
call fcn.1000174b
and dword [ebp - 0xf8], 0
push 0x100cf3fc
lea ecx, [ebp - 0x114]
call fcn.100016dd
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.10016301
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x114]
call fcn.1000174b
push 0
push 0x100cf404
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.10015b98
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
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.100bb480
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100103c0
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 0x10099f38
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd9e2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100eb3e0]
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.10010322
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.100b4878
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.10003b26
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100103c0
lea eax, [ebp - 0x24]
push eax
call fcn.10097064
pop ecx
push str.Download_
lea ecx, [ebp - 0x24]
call fcn.10009d23
push 0
lea ecx, [ebp - 0x24]
call fcn.1002ffe8
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.10099b70
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.10003c25
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.1002ffe8
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.100105fa
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1002ffe8
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.100105fa
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.100105fa
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.1002ffe8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x10]
call fcn.100103c0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.100103c0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.100103c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100103c0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8
Function at 0x1009a0c3
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bda15
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100eb3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.10097199
lea ecx, [ebp - 0x1c]
call fcn.10010322
and dword [ebp - 4], 0
push 0x100c895e
push 0x100cddf4
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100ba7f8
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100cdde8
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.1002ffe8
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10015b98
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.100103c0
lea eax, [ebp - 0x18]
push eax
call fcn.100b4878
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.10097064
pop ecx
push 0x100cddf8
lea ecx, [ebp - 0x18]
call fcn.10009d23
push 0
lea ecx, [ebp - 0x18]
call fcn.1002ffe8
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100cde0c
lea ecx, [ebp - 0x18]
call fcn.10009d23
lea ecx, [ebp - 0x18]
call fcn.1002ffe8
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 0x1009a201
mov ecx, dword [ebp - 0x2c]
call fcn.10040293
mov dword [ebp - 0x3c], eax
jmp 0x1009a205
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.1002ffe8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10009d66
lea ecx, [ebp - 0x18]
call fcn.1002ffe8
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10009d66
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10041a75
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.100103c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100103c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x1009a4c4
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdc15
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100eb3e0]
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 0x100cc882
push 0x100cf494
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x10]
call fcn.100ba7f8
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003a8c
movzx eax, al
test eax, eax
je 0x1009a542
and dword [ebp - 0x230], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x230]
jmp 0x1009a6b6
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.1002ffe8
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 0x100cf4bc
lea eax, [ebp - 0x22c]
push eax
push 0xe5
push dword [0x1010722c]
call fcn.10097c55
add esp, 0x14
test eax, eax
jne 0x1009a5e1
and dword [ebp - 0x234], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100103c0
mov eax, dword [ebp - 0x234]
jmp 0x1009a6b6
push 0xec
call fcn.10070b17
pop ecx
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 0
je 0x1009a629
mov eax, dword [ebp - 0x24c]
push dword [eax + 0x10]
push 2
push 0x100cf4d0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.100a8c2e
mov dword [ebp - 0x250], eax
jmp 0x1009a630
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 0x100cf4e4
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 0x1009a694
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 0x1009a69b
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.100103c0
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
Function at 0x1009a889
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bdc88
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100eb3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x22c]
call fcn.100186b1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10041c37
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.10041c06
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10037cfb
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.10099937
test eax, eax
jne 0x1009a93b
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002315a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002315a
mov eax, dword [ebp - 0x230]
jmp 0x1009aa3e
push 0x100ceec4
lea ecx, [ebp - 0x22c]
call fcn.10038140
lea ecx, [ebp - 0x22c]
call fcn.10041c1f
test eax, eax
jne 0x1009a98a
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002315a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002315a
mov eax, dword [ebp - 0x234]
jmp 0x1009aa3e
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10073a50
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.10037cfb
push eax
push 0x104
lea eax, [ebp - 0x224]
push eax
push str.setup.exe
push str.PacketExe
push 0x100cef00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10038140
lea ecx, [ebp - 0x228]
call fcn.10037cfb
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.10074ec3
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.10041c1f
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.1002315a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.1002315a
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret 8
Function at 0x1009c40a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.1009aa57
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009c42b
mov eax, 0x80004005
jmp 0x1009c5fb
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003e8bb
jmp 0x1009c44a
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003c154
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.1003e8de
push eax
lea ecx, [ebp - 0xc]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x1009c5f6
lea ecx, [ebp - 0xc]
call fcn.10044420
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10044420
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009c494
cmp dword [ebp - 0x14], 0
jne 0x1009c496
jmp 0x1009c43c
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x1009c5f1
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004cd2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x1009c55e
mov eax, dword [ebp + 8]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10041bc9
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10044e03
push eax
lea ecx, [ebp - 0x1c]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x1009c54e
lea ecx, [ebp - 0x1c]
call fcn.10041ca3
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1009c544
push 0
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.10041cb4
jmp 0x1009c500
xor eax, eax
jne 0x1009c4f1
xor eax, eax
jmp 0x1009c5fb
mov eax, dword [ebp + 8]
mov dword [eax + 0xc4], 0x12
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10041bc9
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10044e03
push eax
lea ecx, [ebp - 0x28]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x1009c5e6
lea ecx, [ebp - 0x28]
call fcn.10041ca3
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x1009c5dc
mov eax, dword [ebp + 8]
push dword [eax + 0xc4]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.10041cb4
jmp 0x1009c593
xor eax, eax
jne 0x1009c584
mov eax, 0x80004005
jmp 0x1009c5fb
jmp 0x1009c43c
mov eax, 0x80004005
leave
ret 4
Function at 0x1009cedd
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.1009aa57
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1009cefc
jmp 0x1009cfb8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003e8bb
jmp 0x1009cf1b
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.1003c154
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.1003e8de
push eax
lea ecx, [ebp - 0xc]
call fcn.10041be8
movzx eax, al
test eax, eax
je 0x1009cfb8
lea ecx, [ebp - 0xc]
call fcn.10044420
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10044420
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x1009cf61
cmp dword [ebp - 0x14], 0
jne 0x1009cf63
jmp 0x1009cf0d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x1009cfb3
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x1009cfb3
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.10004cd2
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x1009cfb3
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.1003806a
jmp 0x1009cf0d
leave
ret
Function at 0x1009eace
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be4c4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100eb3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.1002ffe8
push eax
lea ecx, [ebp - 0x18]
call fcn.10020186
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.1002ffe8
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setge cl
mov byte [ebp - 0x11], cl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000a70e
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1009eb87
mov dword [0x1010720c], 1
push 0
push str.gf_bd2die
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [0x10107210], eax
mov ecx, dword [ebp - 0x1c]
call fcn.1009e943
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.1002ffe8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret