joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010e54
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x10067857
call fcn.1002f27f
mov esi, dword [ebp + 0xc]
lea edi, [ecx + 4]
mov ebx, dword [ebp + 8]
xor eax, eax
xor edx, edx
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x10]
cmp dword [ecx - 0xc], eax
je 0x10010fe2
mov eax, dword [esi + 0xc]
cmp dword [eax - 0xc], edx
je 0x10010fe2
push ecx
call fcn.1000d762
pop ecx
test eax, eax
je 0x10010edc
push dword [esi + 4]
push dword [esi + 0x10]
call fcn.1000d786
pop ecx
pop ecx
test eax, eax
je 0x10010ec8
mov eax, dword [esi + 0x14]
cmp dword [eax - 0xc], 0x20
jne 0x10010fdd
push dword [esi + 0x18]
push eax
push dword [esi + 0x10]
call fcn.1000cca8
add esp, 0xc
test eax, eax
jne 0x10010fdd
push dword [esi + 0x10]
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10010fdd
mov eax, dword [esi + 0x14]
and dword [ebp + 8], 0
mov dword [ebp - 0x10], 1
cmp dword [eax - 0xc], 0x20
jne 0x10010f07
push dword [esi + 0x18]
push eax
push dword [esi + 4]
call fcn.1000cca8
add esp, 0xc
test eax, eax
je 0x10010fdd
call fcn.1000678d
push eax
lea ecx, [ebp + 0xc]
call fcn.100062ac
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
push dword [esi + 4]
call fcn.1000cd74
pop ecx
pop ecx
test eax, eax
je 0x10010f70
push dword [esi + 0xc]
push dword [ebp + 0xc]
call fcn.1000ceac
pop ecx
pop ecx
test eax, eax
je 0x10010f70
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.1000a3e6
lea ecx, [esi + 8]
call fcn.10005561
push dword [ebp + 0xc]
mov ecx, edi
push 0x1006c6cc
push ebx
call fcn.1000fa43
push 0
push 0x1006d108
push ebx
mov ecx, edi
call fcn.1000fa43
jmp 0x10010f76
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.100057c1
cmp dword [ebp + 8], 0
je 0x10010fdd
push dword [esi + 0xc]
mov ecx, edi
push 0x1006c6cc
push ebx
call fcn.1000fa43
push dword [esi + 4]
mov ecx, edi
push str.path
push ebx
call fcn.1000fa43
mov eax, dword [esi + 0x14]
mov ecx, edi
cmp dword [eax - 0xc], 0x20
jne 0x10010fb9
push eax
jmp 0x10010fbb
push 0
push 0x1006d108
push ebx
call fcn.1000fa43
lea eax, [esi + 0xc]
mov ecx, esi
push eax
call fcn.1000a3e6
lea eax, [esi + 0x14]
push eax
lea ecx, [esi + 8]
call fcn.1000a3e6
mov edx, dword [ebp - 0x10]
jmp 0x10010fe9
mov dword [ebp - 0x10], 1
test edx, edx
je 0x10011029
push 0
push str.pver
push ebx
mov ecx, edi
call fcn.1000fa43
push 0
push str.ppath
push ebx
mov ecx, edi
call fcn.1000fa43
push 0
push str.pmd5
push ebx
mov ecx, edi
call fcn.1000fa43
push 0
push str.pextcb
push ebx
mov ecx, edi
call fcn.1000fa43
cmp dword [ebp - 0x10], 0
je 0x10011047
lea ecx, [esi + 0xc]
call fcn.10005561
lea ecx, [esi + 0x10]
call fcn.10005561
lea ecx, [esi + 0x14]
call fcn.10005561
call fcn.1002f248
ret 8
Function at 0x100134b1
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x100134c1
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
pop ebp
jmp dword [sym.imp.KERNEL32.dll_DeleteFileW]

Function at 0x10013653
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.100143c9
push 0x1006d1ec
lea eax, [ebp - 0x24]
push eax
push 0x1006d200
push esi
call fcn.10013f23
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop esi
call fcn.1002f237
leave
ret 0xc

Function at 0x100136c9
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
push 0x1006d1ec
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.10013f23
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call fcn.10014e63
mov ecx, dword [ebp - 4]
add esp, 0x28
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1002f237
leave
ret 0x18

Function at 0x1001392e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x11
pop ecx
mov esi, ebx
lea edi, [ebp - 0x48]
push 0x1006d210
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.10013749
pop ecx
pop ecx
mov ecx, dword [ebx + 0x40]
lea esi, [ebp - 0x48]
shr ecx, 7
push 0x11
neg ecx
sub esi, ebx
pop edx
mov eax, dword [esi + ebx]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x1001396b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret
Function at 0x100143c9
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push 0x20
push dword [ebp + 0xc]
push eax
call fcn.10037690
mov al, byte [ebp - 5]
add esp, 0xc
and byte [ebp - 0x24], 0xf8
and al, 0x3f
mov ecx, dword [ebp + 0x10]
or al, 0x40
xor esi, esi
mov byte [ebp - 5], al
mov eax, esi
movd xmm1, dword [eax + ecx]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ebp + eax*4 - 0x1a4], xmm1
add eax, 4
cmp eax, 0x20
jb 0x10014407
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.100144f8
lea eax, [ebp - 0x124]
push eax
push eax
call fcn.10014889
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1001479c
lea eax, [ebp - 0xa4]
push eax
call fcn.1001448d
add esp, 0x20
mov al, byte [ebp + esi*4 - 0xa4]
mov byte [edi + esi], al
inc esi
cmp esi, 0x20
jb 0x1001446d
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1002f237
leave
ret

Function at 0x1001448d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x20
pop ecx
push 0x1006d258
mov esi, ebx
lea edi, [ebp - 0x84]
push ebx
rep movsd dword es:[edi], dword [esi]
push ebx
call fcn.1001437e
mov ecx, dword [ebx + 0x7c]
lea esi, [ebp - 0x84]
add esp, 0xc
shr ecx, 7
and ecx, 1
neg ecx
sub esi, ebx
push 0x20
pop edx
mov eax, dword [esi + ebx]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x100144d8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret

Function at 0x10014cea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
dec eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
sub ebx, edi
sub edi, esi
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], esi
mov dword [ebp + 0x18], 0x40
mov edx, dword [esi]
lea ecx, [edi + esi]
mov eax, dword [ecx + ebx]
xor edx, eax
and edx, dword [ebp - 4]
xor eax, edx
mov dword [ecx], eax
mov eax, dword [esi]
mov ecx, dword [ebp + 0xc]
xor eax, edx
sub dword [ebp + 0x18], 1
mov dword [ecx + esi], eax
lea esi, [esi + 4]
jne 0x10014d0f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10014e63
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x6c], eax
mov eax, esi
push edi
mov edi, dword [ebp + 0x14]
or eax, edi
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x68], edi
je 0x10014fb7
mov ecx, dword [ebp + 0x18]
push ebx
push 8
xor ebx, ebx
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
pop eax
cmp eax, 0x10
jae 0x10014fc7
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, 0x10
jl 0x10014eab
cmp edi, ebx
ja 0x10014ecf
cmp esi, 0x40
jae 0x10014ecf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
jmp 0x10014f58
lea ecx, [ebp - 0x54]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
sub eax, ecx
mov dword [ebp - 0x64], eax
push str.expand_32_byte_k_
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10013a66
mov edi, dword [ebp - 0x64]
mov edx, ebx
mov ebx, dword [ebp - 0x60]
add esp, 0x10
lea ecx, [ebp - 0x54]
add ecx, edx
mov al, byte [edi + ecx]
xor al, byte [ecx]
inc edx
mov byte [ebx + ecx], al
cmp edx, 0x40
jl 0x10014f04
mov edi, dword [ebp - 0x68]
xor ecx, ecx
push 8
xor ebx, ebx
inc ecx
pop edx
movzx eax, byte [ebp + edx - 0x14]
add ecx, eax
mov byte [ebp + edx - 0x14], cl
shr ecx, 8
inc edx
cmp edx, 0x10
jl 0x10014f22
add esi, 0xffffffc0
push 0x40
adc edi, 0xffffffff
pop eax
add dword [ebp - 0x5c], eax
add dword [ebp - 0x60], eax
add dword [ebp - 0x58], eax
add dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edi
cmp edi, ebx
ja 0x10014ee4
jb 0x10014f58
cmp esi, eax
jae 0x10014ee4
mov eax, esi
or eax, edi
je 0x10014fb6
push str.expand_32_byte_k_
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10013a66
add esp, 0x10
cmp edi, ebx
jb 0x10014fb6
ja 0x10014f80
cmp esi, ebx
jbe 0x10014fb6
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
sub eax, ecx
sub edx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0x54]
add ecx, ebx
mov al, byte [eax + ecx]
xor al, byte [ecx]
inc ebx
mov byte [edx + ecx], al
mov eax, ebx
cdq
mov ecx, eax
cmp edx, edi
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
jb 0x10014f93
ja 0x10014fb6
cmp ecx, esi
jb 0x10014f93
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.1002f237
leave
ret
call fcn.1002f47c
int3
Function at 0x1001609b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10016263
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.PPInit
push eax
call esi
push str.PPInit2
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.PPClose
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.PPSetConfig
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.PPGetConfig
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.PPDownload
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.PPStopTask
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.PPRestart
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.PPRemoveTask
push dword [edi]
mov dword [edi + 0x20], eax
call esi
push str.PPStopSeed
push dword [edi]
mov dword [edi + 0x24], eax
call esi
push str.PPCloseHandle
push dword [edi]
mov dword [edi + 0x28], eax
call esi
push str.PPQueryTask
push dword [edi]
mov dword [edi + 0x2c], eax
call esi
push str.PPQueryTaskEx
push dword [edi]
mov dword [edi + 0x30], eax
call esi
push str.PPStartTask
push dword [edi]
mov dword [edi + 0x34], eax
call esi
push str.PPStartTaskEx
push dword [edi]
mov dword [edi + 0x38], eax
call esi
push str._GetTasks
push dword [edi]
mov dword [edi + 0x3c], eax
call esi
push str._StartRun
push dword [edi]
mov dword [edi + 0x44], eax
call esi
push str._StopRun
push dword [edi]
mov dword [edi + 0x48], eax
call esi
push str._Run
push dword [edi]
mov dword [edi + 0x4c], eax
call esi
push str._EnableP2P
push dword [edi]
mov dword [edi + 0x50], eax
call esi
mov dword [edi + 0x54], eax
push str._SetKeep
push dword [edi]
call esi
push str._SetKeepEx
push dword [edi]
mov dword [edi + 0x58], eax
call esi
push str._IsStopped
push dword [edi]
mov dword [edi + 0x5c], eax
call esi
push str._PPQueryTask2
push dword [edi]
mov dword [edi + 0x60], eax
call esi
push str.__PPSetModulePath2
push dword [edi]
mov dword [edi + 0x64], eax
call esi
push str.StartLan
push dword [edi]
mov dword [edi + 0x68], eax
call esi
push str.StopLan
push dword [edi]
mov dword [edi + 0x6c], eax
call esi
push str._PPQueryIPPort
push dword [edi]
mov dword [edi + 0x70], eax
call esi
push str._PPSetLocalLog
push dword [edi]
mov dword [edi + 0x74], eax
call esi
push str._P2SPUpdateRegInfo
push dword [edi]
mov dword [edi + 0x78], eax
call esi
push str._P2SPCheckProxy
push dword [edi]
mov dword [edi + 0x7c], eax
call esi
push str._P2SPCancelCheckProxy
push dword [edi]
mov dword [edi + 0x80], eax
call esi
push str._P2SPSetOption
push dword [edi]
mov dword [edi + 0x84], eax
call esi
push str.PPSetOption
push dword [edi]
mov dword [edi + 0x88], eax
call esi
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
push 0x10083f78
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x1006d308
push eax
call fcn.10038ba8
int3
Function at 0x10016691
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push eax
push 0x1006d6d4
push dword [esi + 0x34]
call fcn.1000dd17
add esp, 0xc
test eax, eax
jne 0x100166d8
push 6
pop eax
jmp 0x10016729
push dword [ebp + 0x1c]
lea ecx, [ebp - 0x20c]
push 1
push dword [ebp + 0x18]
push 1
push 0x3c
push ecx
push edi
mov ecx, esi
call fcn.1001689a
test eax, eax
jne 0x100166fa
inc eax
jmp 0x10016729
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
mov ecx, esi
push dword [ebp + 0x14]
push ebx
push eax
call fcn.10017c65
cmp dword [esi + 8], 0
mov edi, eax
jne 0x10016727
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret 0x18

Function at 0x1001673a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 0x20c]
push ecx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x10]
push 0x1006d730
push eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 6
call fcn.1000dd17
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, ebx
push dword [ebp + 0x24]
push 1
push dword [ebp + 0x20]
push 1
push 0x3c
push eax
push esi
call fcn.1001689a
test eax, eax
jne 0x100167b4
inc eax
jmp 0x10016889
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x100167fb
lea eax, [ebp - 0x20c]
push eax
call fcn.1000d9e8
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100167fb
cmp dword [ebp + 0x1c], eax
je 0x100167fb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
push str.only_cab_szTempFileName__s_sign_fail
call fcn.1001e3a3
pop ecx
pop ecx
push 4
pop eax
jmp 0x10016889
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.10005340
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
test eax, eax
je 0x1001686b
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x1001686b
push edi
call fcn.1000d762
pop ecx
test eax, eax
je 0x1001686b
and dword [ebp - 0x214], 0
cmp dword [ebp + 0x18], 0
je 0x1001686e
test ebx, ebx
jne 0x1001686e
push edi
call fcn.1001721e
pop ecx
cmp eax, 1
jne 0x1001686e
push edi
call fcn.1000d9e8
pop ecx
test eax, eax
jne 0x1001686e
push edi
push str.lpszDestPath__s_sign_fail
jmp 0x100167ec
push edi
call esi
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 8], 0
jne 0x10016883
lea ecx, [ebp - 0x20c]
push ecx
call esi
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret 0x20
Function at 0x10016bac
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x620], ebx
jne 0x10016be2
push ebx
push edi
call fcn.10016d81
jmp 0x10016d70
xor ecx, ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], ecx
cmp dword [esi + 0x30], ecx
je 0x10016d6d
test ebx, ebx
je 0x10016d6d
test dword [edi + 0x28], 0x100
je 0x10016ca7
lea eax, [ebp - 0x61c]
push eax
push 0x1006d7bc
push dword [esi + 0x34]
call fcn.1000dd17
add esp, 0xc
lea eax, [ebp - 0x61c]
mov ecx, esi
push 2
push 1
push 1
push 1
push 0x3c
push eax
push dword [edi + 0x14]
call fcn.1001689a
test eax, eax
je 0x10016d6d
lea eax, [ebp - 0x414]
push eax
push 0x1006d7c4
push dword [esi + 0x34]
call fcn.1000dd17
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10016d6d
lea eax, [ebp - 0x414]
push eax
call fcn.1003d0a0
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebx + 8]
call fcn.10005920
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 0xc]
call fcn.1000a3e6
xor eax, eax
jmp 0x10016d70
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], ecx
je 0x10016ccb
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], ecx
je 0x10016ccb
mov eax, dword [ebx]
cmp dword [eax - 0xc], ecx
je 0x10016ccb
push ebx
push edi
mov ecx, esi
call fcn.10017169
mov ebx, eax
jmp 0x10016cce
push 5
pop ebx
cmp ebx, 3
je 0x10016cdc
cmp ebx, 5
jne 0x10016d69
push 2
push 1
push 1
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push dword [edi + 0xc]
push dword [edi + 0x14]
call fcn.10016691
mov ebx, eax
test ebx, ebx
jne 0x10016d69
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0x20
jne 0x10016d2e
push dword [edi + 0x30]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000cca8
add esp, 0xc
test eax, eax
jne 0x10016d2e
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
pop ebx
jmp 0x10016d69
mov esi, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
call fcn.1003d0a0
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 8]
call fcn.10005920
lea eax, [edi + 4]
push eax
lea ecx, [esi + 0xc]
call fcn.1000a3e6
lea eax, [edi + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.1000a3e6
mov eax, ebx
jmp 0x10016d70
push 6
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret 0xc
Function at 0x10016d81
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x418], ebx
xor ecx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], ecx
cmp dword [esi + 0x30], ecx
je 0x10016ef9
test ebx, ebx
je 0x10016ef9
test dword [edi + 0x28], 0x100
je 0x10016e2d
push dword [edi + 0x10]
lea eax, [ebp - 0x414]
push dword [esi + 0x34]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 2
push 1
push 1
push 1
push 0x3c
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
push dword [edi + 0x14]
call fcn.1001689a
test eax, eax
je 0x10016ef9
lea eax, [ebp - 0x414]
push eax
call fcn.1003d0a0
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebx + 8]
call fcn.10005920
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 0xc]
call fcn.1000a3e6
xor eax, eax
jmp 0x10016efc
mov eax, dword [edi + 0x1c]
cmp dword [eax - 0xc], ecx
je 0x10016e53
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], ecx
je 0x10016e53
mov eax, dword [ebx]
cmp dword [eax - 0xc], ecx
je 0x10016e53
push ebx
push edi
mov ecx, esi
call fcn.10017169
mov ebx, eax
xor ecx, ecx
jmp 0x10016e56
push 5
pop ebx
cmp ebx, 3
je 0x10016e64
cmp ebx, 5
jne 0x10016ef5
push 2
push 1
push ecx
push 1
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push dword [esi + 0x34]
push dword [edi + 0x10]
push dword [edi + 0x14]
call fcn.1001673a
mov ebx, eax
test ebx, ebx
jne 0x10016ef5
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0x20
jne 0x10016eba
push dword [edi + 0x30]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000cca8
add esp, 0xc
test eax, eax
jne 0x10016eba
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
pop ebx
jmp 0x10016ef5
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.1003d0a0
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 8]
call fcn.10005920
lea eax, [edi + 4]
push eax
lea ecx, [esi + 0xc]
call fcn.1000a3e6
lea eax, [edi + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.1000a3e6
mov eax, ebx
jmp 0x10016efc
push 6
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002f237
leave
ret 8
Function at 0x10017169
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [eax + 4]
mov edi, ecx
push dword [esi + 4]
push dword [eax]
mov ecx, dword [edi + 0x30]
call fcn.100186cf
mov dword [edi + 0x24], eax
lea ebx, [esi + 8]
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.10017f75
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100171eb
cmp dword [ebp - 4], eax
je 0x100171b3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100171ba
mov dword [ebp - 4], 1
lea ebx, [esi + 8]
mov ecx, esi
push ebx
call fcn.1000a3e6
lea eax, [esi + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.1000a3e6
mov eax, dword [edi + 0x1c]
add dword [edi + 0x28], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [esi + 0xc]
call fcn.1000ceac
pop ecx
pop ecx
test eax, eax
js 0x10017192
and dword [edi + 0x28], 0
and dword [edi + 0x24], 0
cmp dword [ebp - 4], 0
je 0x100171fd
xor eax, eax
jmp 0x10017217
mov ecx, ebx
call fcn.10005561
lea ecx, [esi + 0xc]
call fcn.10005561
lea ecx, [esi + 0x10]
call fcn.10005561
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100177d8
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1008b548]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
cmp dword [eax - 0xc], 0
je 0x1001788b
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1001788b
mov eax, dword [esi + 0x38]
mov ecx, 0x104
cmp dword [eax - 0xc], ecx
jge 0x1001788b
push eax
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.1000b08e
mov eax, dword [esi + 0x38]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x10017898
xor ecx, ecx
push 0x1e
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x230]
push ecx
push eax
call fcn.10038c20
and dword [ebp - 0x224], 0
lea eax, [ebp - 0x210]
mov dword [ebp - 0x228], eax
add esp, 0xc
mov eax, 0x414
mov dword [ebp - 0x22c], 3
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002f237
leave
ret
call fcn.1002f47c
int3