joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100151d3
Capabilities:
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x10090590]
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 0x10015327
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 0x10015337
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, 0x10
jl 0x1001521b
cmp edi, ebx
ja 0x1001523f
cmp esi, 0x40
jae 0x1001523f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
jmp 0x100152c8
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_kX8_b
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10013dd6
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 0x10015274
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 0x10015292
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 0x10015254
jb 0x100152c8
cmp esi, eax
jae 0x10015254
mov eax, esi
or eax, edi
je 0x10015326
push str.expand_32_byte_kX8_b
push dword [ebp - 0x6c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10013dd6
add esp, 0x10
cmp edi, ebx
jb 0x10015326
ja 0x100152f0
cmp esi, ebx
jbe 0x10015326
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 0x10015303
ja 0x10015326
cmp ecx, esi
jb 0x10015303
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10041739
leave
ret
call fcn.100419a1
int3
Function at 0x1001640b
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 0x100165d3
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 0x100876c0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x10070558
push eax
call fcn.10048239
int3
Function at 0x10016a01
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10090590]
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 0x10070924
push dword [esi + 0x34]
call fcn.1000e0d5
add esp, 0xc
test eax, eax
jne 0x10016a48
push 6
pop eax
jmp 0x10016a99
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.10016c0a
test eax, eax
jne 0x10016a6a
inc eax
jmp 0x10016a99
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
mov ecx, esi
push dword [ebp + 0x14]
push ebx
push eax
call fcn.1001810c
cmp dword [esi + 8], 0
mov edi, eax
jne 0x10016a97
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.10041739
leave
ret 0x18

Function at 0x10016aaa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10090590]
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 0x10070980
push eax
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], 6
call fcn.1000e0d5
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.10016c0a
test eax, eax
jne 0x10016b24
inc eax
jmp 0x10016bf9
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
je 0x10016b6b
lea eax, [ebp - 0x20c]
push eax
call fcn.1000dda6
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10016b6b
cmp dword [ebp + 0x1c], eax
je 0x10016b6b
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.1001e97c
pop ecx
pop ecx
push 4
pop eax
jmp 0x10016bf9
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call fcn.10005f95
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
test eax, eax
je 0x10016bdb
push dword [ebp - 0x218]
push dword [ebp - 0x210]
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
je 0x10016bdb
push edi
call fcn.1000db20
pop ecx
test eax, eax
je 0x10016bdb
and dword [ebp - 0x214], 0
cmp dword [ebp + 0x18], 0
je 0x10016bde
test ebx, ebx
jne 0x10016bde
push edi
call fcn.10017615
pop ecx
cmp eax, 1
jne 0x10016bde
push edi
call fcn.1000dda6
pop ecx
test eax, eax
jne 0x10016bde
push edi
push str.lpszDestPath__s_sign_fail
jmp 0x10016b5c
push edi
call esi
mov ecx, dword [ebp - 0x21c]
cmp dword [ecx + 8], 0
jne 0x10016bf3
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.10041739
leave
ret 0x20
Function at 0x10016f1c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x10090590]
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 0x10016f52
push ebx
push edi
call fcn.10017130
jmp 0x1001711f
xor ecx, ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], ecx
cmp dword [esi + 0x30], ecx
je 0x1001711c
test ebx, ebx
je 0x1001711c
test dword [edi + 0x2c], 0x100
je 0x10017036
lea eax, [ebp - 0x414]
push eax
push 0x10070a0c
push dword [esi + 0x34]
call fcn.1000e0d5
add esp, 0xc
lea eax, [ebp - 0x414]
mov ecx, esi
push 2
push 1
push 1
push 1
push 0x3c
push eax
push dword [edi + 0x18]
call fcn.10016c0a
test eax, eax
jne 0x10016fd1
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.10016c0a
test eax, eax
je 0x1001711c
lea eax, [ebp - 0x61c]
push eax
push 0x10070a14
push dword [esi + 0x34]
call fcn.1000e0d5
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1001711c
lea eax, [ebp - 0x61c]
push eax
call fcn.1004a445
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebx + 8]
call fcn.100021cf
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 0xc]
call fcn.1000a687
xor eax, eax
jmp 0x1001711f
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], ecx
je 0x1001705a
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], ecx
je 0x1001705a
mov eax, dword [ebx]
cmp dword [eax - 0xc], ecx
je 0x1001705a
push ebx
push edi
mov ecx, esi
call fcn.10017560
mov ebx, eax
jmp 0x1001705d
push 5
pop ebx
cmp ebx, 3
je 0x1001706b
cmp ebx, 5
jne 0x10017118
push 2
push 1
push 1
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
push dword [edi + 0xc]
push dword [edi + 0x18]
call fcn.10016a01
mov ebx, eax
test ebx, ebx
je 0x100170ab
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.10016a01
mov ebx, eax
test ebx, ebx
jne 0x10017118
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0x20
jne 0x100170dd
push dword [edi + 0x34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000ce15
add esp, 0xc
test eax, eax
jne 0x100170dd
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
pop ebx
jmp 0x10017118
mov esi, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push eax
call fcn.1004a445
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 8]
call fcn.100021cf
lea eax, [edi + 4]
push eax
lea ecx, [esi + 0xc]
call fcn.1000a687
lea eax, [edi + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.1000a687
mov eax, ebx
jmp 0x1001711f
push 6
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10041739
leave
ret 0xc
Function at 0x10017130
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10090590]
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 0x100172f0
test ebx, ebx
je 0x100172f0
test dword [edi + 0x2c], 0x100
je 0x100171ff
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 + 0x18]
call fcn.10016c0a
test eax, eax
jne 0x100171cf
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.10016c0a
test eax, eax
je 0x100172f0
lea eax, [ebp - 0x414]
push eax
call fcn.1004a445
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebx + 8]
call fcn.100021cf
lea eax, [edi + 4]
push eax
lea ecx, [ebx + 0xc]
call fcn.1000a687
xor eax, eax
jmp 0x100172f3
mov eax, dword [edi + 0x20]
cmp dword [eax - 0xc], ecx
je 0x10017225
mov eax, dword [ebx + 4]
cmp dword [eax - 0xc], ecx
je 0x10017225
mov eax, dword [ebx]
cmp dword [eax - 0xc], ecx
je 0x10017225
push ebx
push edi
mov ecx, esi
call fcn.10017560
mov ebx, eax
xor ecx, ecx
jmp 0x10017228
push 5
pop ebx
cmp ebx, 3
je 0x10017236
cmp ebx, 5
jne 0x100172ec
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 + 0x18]
call fcn.10016aaa
mov ebx, eax
test ebx, ebx
je 0x1001727f
push 2
push 1
push 0
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.10016aaa
mov ebx, eax
test ebx, ebx
jne 0x100172ec
mov eax, dword [edi + 8]
cmp dword [eax - 0xc], 0x20
jne 0x100172b1
push dword [edi + 0x34]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000ce15
add esp, 0xc
test eax, eax
jne 0x100172b1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
pop ebx
jmp 0x100172ec
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
push eax
call fcn.1004a445
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 8]
call fcn.100021cf
lea eax, [edi + 4]
push eax
lea ecx, [esi + 0xc]
call fcn.1000a687
lea eax, [edi + 8]
push eax
lea ecx, [esi + 0x10]
call fcn.1000a687
mov eax, ebx
jmp 0x100172f3
push 6
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10041739
leave
ret 8
Function at 0x10017560
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.10018b7f
mov dword [edi + 0x24], eax
lea ebx, [esi + 8]
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.10018425
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x100175e2
cmp dword [ebp - 4], eax
je 0x100175aa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100175b1
mov dword [ebp - 4], 1
lea ebx, [esi + 8]
mov ecx, esi
push ebx
call fcn.1000a687
lea eax, [esi + 0xc]
push eax
lea ecx, [esi + 4]
call fcn.1000a687
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.1000d019
pop ecx
pop ecx
test eax, eax
js 0x10017589
and dword [edi + 0x28], 0
and dword [edi + 0x24], 0
cmp dword [ebp - 4], 0
je 0x100175f4
xor eax, eax
jmp 0x1001760e
mov ecx, ebx
call fcn.10001c06
lea ecx, [esi + 0xc]
call fcn.10001c06
lea ecx, [esi + 0x10]
call fcn.10001c06
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x10017c7f
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x10090590]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
cmp dword [eax - 0xc], 0
je 0x10017d32
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x10017d32
mov eax, dword [esi + 0x38]
mov ecx, 0x104
cmp dword [eax - 0xc], ecx
jge 0x10017d32
push eax
push ecx
lea eax, [ebp - 0x210]
push eax
call fcn.1000b32f
mov eax, dword [esi + 0x38]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
cmp eax, 0x20a
jae 0x10017d3f
xor ecx, ecx
push 0x1e
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x230]
push ecx
push eax
call fcn.10046d90
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.10041739
leave
ret
call fcn.100419a1
int3
Function at 0x1001810c
Capabilities:
Delete file

Disassembly:
push 0x22c
mov eax, 0x1006a9b2
call fcn.10041823
mov eax, ecx
mov dword [ebp - 0x220], eax
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x238], esi
call fcn.1000d8bd
mov edi, eax
xor eax, eax
pop ecx
mov ecx, edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], eax
sub ecx, 1
je 0x100181a3
sub ecx, 1
jne 0x100181fc
lea eax, [ebp - 0x21c]
push eax
mov eax, dword [ebp - 0x220]
push 0x10070a1c
push dword [eax + 0x34]
call fcn.1000e0d5
add esp, 0xc
lea eax, [ebp - 0x21c]
push dword [ebp - 0x224]
push eax
push ebx
call fcn.1001187f
add esp, 0xc
jmp 0x100181fc
mov eax, dword [ebp - 0x220]
push dword [ebp - 0x224]
push dword [eax + 0x38]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x220]
push dword [eax + 0x38]
push ebx
call fcn.10005f95
pop ecx
pop ecx
jmp 0x100181fc
or dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x1001820c
push 2
pop eax
jmp 0x100182b3
lea eax, [ebp - 0x21c]
push eax
call fcn.1000db20
pop ecx
test eax, eax
je 0x10018204
cmp dword [ebp + 0x10], 0
je 0x10018267
lea eax, [ebp - 0x21c]
push eax
call fcn.10017615
pop ecx
cmp eax, 1
jne 0x10018267
lea eax, [ebp - 0x21c]
push eax
call fcn.1000dda6
pop ecx
test eax, eax
jne 0x10018267
cmp edi, 1
jne 0x10018256
push ebx
call fcn.1000dda6
pop ecx
test eax, eax
jne 0x1001826c
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 4
jmp 0x10018206
cmp edi, 1
jne 0x1001829a
mov eax, dword [ebp - 0x220]
push esi
push 0x10070a1c
push dword [eax + 0x34]
call fcn.1000e0d5
add esp, 0xc
test eax, eax
je 0x1001829f
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.1000e165
pop ecx
pop ecx
test eax, eax
jmp 0x1001829d
cmp edi, 2
jne 0x100182b1
lea eax, [ebp - 0x21c]
push eax
push 0x104
push esi
call fcn.1000b32f
xor eax, eax
call fcn.10041770
ret 0x10
Function at 0x10018623
Capabilities:
Delete file

Disassembly:
push 0x274
mov eax, 0x1006aa51
call fcn.10041823
mov dword [ebp - 0x274], ecx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x26c]
push ebx
push eax
mov dword [ebp - 0x280], edi
call fcn.10046d90
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x26c]
add esp, 0xc
push 2
push 1
push ebx
push eax
push str.dat.diff
push esi
call fcn.10016a01
mov esi, eax
test esi, esi
jne 0x1001877d
mov eax, dword [ebp - 0x274]
push 3
pop esi
push edi
push 0x10070940
push dword [eax + 0x34]
mov dword [ebp - 0x27c], esi
call fcn.1000e0d5
mov eax, dword [ebp + 0x18]
add esp, 0xc
test eax, eax
jne 0x10018712
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], ebx
push eax
call fcn.100024b5
pop ecx
test eax, eax
je 0x100186e7
push edi
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x270]
call fcn.1000252c
add esp, 0xc
mov ebx, eax
or dword [ebp - 4], 0xffffffff
jmp 0x1001872d
push eax
push edi
lea eax, [ebp - 0x26c]
mov ecx, 0x100923ec
push eax
push dword [ebp - 0x270]
call fcn.100065f4
mov ebx, eax
test ebx, ebx
je 0x1001875f
push dword [ebp + 0x18]
lea eax, [ebp - 0x64]
push 0x28
push eax
push edi
call fcn.1000cddf
add esp, 0x10
test eax, eax
je 0x1001875f
push 0x20
push dword [ebp - 0x278]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
neg eax
sbb eax, eax
and esi, eax
test esi, esi
je 0x1001876e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call edi
jmp 0x10018774
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x26c]
push eax
call edi
mov eax, esi
call fcn.10041770
ret 0x14

Function at 0x100187c0
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x1006aa91
call fcn.10041781
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push 7
push str.http:__
push edi
call esi
test eax, eax
je 0x10018808
push 8
push str.https:__
push edi
call esi
test eax, eax
je 0x10018808
push edi
push str.__DownloadFileByNetUL_url_s_check_fail
call fcn.1001e97c
pop ecx
pop ecx
xor eax, eax
jmp 0x1001889a
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x14]
call fcn.1000170c
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.10001735
push edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10001735
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax + 0x2c]
lea eax, [ebp - 0x14]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10018080
mov ecx, dword [ebp + 8]
add esp, 0x14
add ecx, 0xfffffff0
mov esi, eax
call fcn.10002163
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.10002163
test esi, esi
jne 0x1001888a
push edi
push str.__DownloadFileByNetUL_url_s_download_fail
call fcn.1001e97c
pop ecx
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1001888d
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10002163
mov eax, ebx
call fcn.1004174a
ret 8
Function at 0x100189fa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069850
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10090590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x68], 0
mov dword [edi], vtable.CRemoteConfig.0
je 0x10018a51
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.10006b24
pop ecx
lea esi, [eax + 0x10]
cmp dword [esi - 0xc], 0
je 0x10018a49
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.10002163
lea ecx, [edi + 4]
call fcn.10018981
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
leave
ret