joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10012588
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x10040e7c
call fcn.1001a87f
mov esi, ecx
mov ecx, dword [0x10055a50]
xor ebx, ebx
cmp ecx, ebx
je 0x10012639
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x100435d4
mov dword [ebp - 4], ebx
call dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x1001262b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, 0xd
mov eax, dword [ebp - 0x10]
jb 0x1001262b
mov ecx, dword [eax]
push 1
push 0x100435c4
mov edi, 0x100461f8
push edi
push eax
call dword [ecx + 0xe4]
push ebx
push 0x100461f0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xe4]
push ebx
push 0x100461e8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x100461dc
push eax
call dword [ecx + 0xe4]
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10012678
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10012678
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10012639
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
push 0x100435c4
mov edi, 0x100461f8
push edi
call ebx
push dword [ebp + 8]
mov dword [esi + 4], eax
push 0
push 0x100461f0
push edi
call ebx
push dword [ebp + 8]
mov dword [esi + 8], eax
push 0
push 0x100461e8
push 0x100461dc
call ebx
mov dword [esi + 0xc], eax
call fcn.1001a957
ret 4

Function at 0x10012e14
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x10040e7c
call fcn.1001a87f
mov edi, ecx
mov ecx, dword [0x10055a50]
xor ebx, ebx
cmp ecx, ebx
je 0x10012ea7
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x10]
push edx
push 0x100435d4
mov dword [ebp - 4], ebx
call dword [eax + 0x30]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10012e99
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, 0xd
mov eax, dword [ebp - 0x10]
jb 0x10012e99
mov ecx, dword [eax]
push 1
push 0x100435c4
mov esi, 0x1004626c
push esi
push eax
call dword [ecx + 0xe4]
push ebx
push 0x10046264
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0xe4]
or dword [ebp - 4], 0xffffffff
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x10012ed2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x10012ed2
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10012ea7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 1
push 0x100435c4
mov esi, 0x1004626c
push esi
call ebx
push dword [ebp + 8]
mov dword [edi + 4], eax
push 0
push 0x10046264
push esi
call ebx
mov dword [edi + 8], eax
call fcn.1001a957
ret 4
Function at 0x100131a2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp + 0x398], ax
lea eax, [ebp + 0x39a]
push edi
push eax
mov dword [ebp - 0x80], edi
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push edi
push eax
call fcn.1001a410
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp + 0x398]
push eax
mov dword [ebp - 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10044470
push esi
lea eax, [ebp + 0x398]
push eax
call fcn.1000793d
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10044454
lea eax, [ebp + 0x398]
push eax
lea eax, [ebp - 0x78]
push eax
call esi
push 0x10044420
push 0x1005562c
lea eax, [ebp + 0x190]
push eax
call esi
push 0x100439e4
call fcn.100043ee
mov esi, eax
lea eax, [ebp - 0x7c]
push eax
xor ebx, ebx
call fcn.100130d7
pop ecx
pop ecx
test eax, eax
jne 0x1001327f
inc eax
jmp 0x100132d5
push 0x10044404
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x190]
push eax
call fcn.10007135
add esp, 0xc
test eax, eax
jle 0x100132ba
xor ebx, ebx
inc ebx
push ebx
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x190]
push eax
call fcn.10006610
add esp, 0x10
test eax, eax
jne 0x100132ba
xor esi, esi
inc esi
cmp esi, edi
je 0x100132c9
cmp ebx, edi
je 0x100132c9
mov dword [ebp - 0x80], 3
push dword [ebp - 0x7c]
call fcn.1001313b
mov eax, dword [ebp - 0x80]
pop ecx
mov ecx, dword [ebp + 0x5a0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x5a4
leave
ret
Function at 0x100132ed
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x28
mov eax, 0x10040f69
call fcn.1001a87f
lea ecx, [ebp - 0xd]
call fcn.10013b69
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.1001a410
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], 0x100444e4
mov dword [ebp - 0x20], 0x100444b8
mov dword [ebp - 0x2c], 0x10045a78
mov dword [ebp - 0x28], 0x100439e4
mov dword [ebp - 0x34], 0x100444a4
mov dword [ebp - 0x30], 0x10044484
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10044470
push esi
lea eax, [ebp]
push eax
call fcn.1000793d
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor esi, esi
mov ebx, 0x208
push ebx
lea eax, [ebp + 0x410]
push 0
push eax
call fcn.1001a410
push ebx
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.1001a410
add esp, 0x18
push dword [ebp + esi - 0x24]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x410]
push eax
call edi
push dword [ebp + esi - 0x24]
lea eax, [ebp + 0x208]
push 0x1005562c
push eax
call edi
push dword [ebp + esi - 0x34]
and dword [ebp - 0x1c], 0
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.10007135
add esp, 0xc
test eax, eax
jle 0x1001344c
push dword [0x10055b04]
lea eax, [ebp + 0x410]
push 0
push eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 0x1c], 1
call fcn.10006610
add esp, 0x10
push dword [ebp + esi - 0x2c]
call fcn.100043ee
pop ecx
test eax, eax
je 0x10013465
cmp dword [ebp - 0x1c], 0
je 0x10013465
xor eax, eax
inc eax
jmp 0x10013467
xor eax, eax
or dword [ebp - 0x14], eax
add esi, 4
cmp esi, 8
jl 0x100133c1
cmp dword [ebp - 0x14], 0
push 3
pop esi
je 0x10013482
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xd]
call fcn.100150a8
test eax, eax
jne 0x10013491
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call int.1003a7b3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x61c
leave
ret
xor eax, eax
inc eax
cmp dword [esp + 4], eax
je 0x100134d2
cmp dword [esp + 4], 2
jne 0x100134e5
cmp dword [0x10055b04], 0
je 0x100134e0
jmp fcn.100131a2
jmp 0x100132ed
ret
Function at 0x100134c2
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x28
mov eax, 0x10040f69
call fcn.1001a87f
lea ecx, [ebp - 0xd]
call fcn.10013b69
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.1001a410
add esp, 0x24
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], 0x100444e4
mov dword [ebp - 0x20], 0x100444b8
mov dword [ebp - 0x2c], 0x10045a78
mov dword [ebp - 0x28], 0x100439e4
mov dword [ebp - 0x34], 0x100444a4
mov dword [ebp - 0x30], 0x10044484
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10044470
push esi
lea eax, [ebp]
push eax
call fcn.1000793d
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor esi, esi
mov ebx, 0x208
push ebx
lea eax, [ebp + 0x410]
push 0
push eax
call fcn.1001a410
push ebx
lea eax, [ebp + 0x208]
push 0
push eax
call fcn.1001a410
add esp, 0x18
push dword [ebp + esi - 0x24]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x410]
push eax
call edi
push dword [ebp + esi - 0x24]
lea eax, [ebp + 0x208]
push 0x1005562c
push eax
call edi
push dword [ebp + esi - 0x34]
and dword [ebp - 0x1c], 0
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.10007135
add esp, 0xc
test eax, eax
jle 0x1001344c
push dword [0x10055b04]
lea eax, [ebp + 0x410]
push 0
push eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 0x1c], 1
call fcn.10006610
add esp, 0x10
push dword [ebp + esi - 0x2c]
call fcn.100043ee
pop ecx
test eax, eax
je 0x10013465
cmp dword [ebp - 0x1c], 0
je 0x10013465
xor eax, eax
inc eax
jmp 0x10013467
xor eax, eax
or dword [ebp - 0x14], eax
add esi, 4
cmp esi, 8
jl 0x100133c1
cmp dword [ebp - 0x14], 0
push 3
pop esi
je 0x10013482
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xd]
call fcn.100150a8
test eax, eax
jne 0x10013491
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call int.1003a7b3
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x61c
leave
ret
xor eax, eax
inc eax
cmp dword [esp + 4], eax
je 0x100134d2
cmp dword [esp + 4], 2
jne 0x100134e5
cmp dword [0x10055b04], 0
je 0x100134e0
jmp fcn.100131a2
jmp 0x100132ed
ret
Function at 0x100134e6
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x618
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x618], eax
push 0x1c
mov eax, 0x10040f99
call fcn.1001a87f
mov eax, dword [ebp + 0x628]
mov ebx, dword [ebp + 0x624]
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x18], eax
call fcn.10013b69
xor eax, eax
mov esi, 0x206
xor edi, edi
push esi
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 4], edi
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x410], ax
lea eax, [ebp + 0x412]
push edi
push eax
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x208], ax
lea eax, [ebp + 0x20a]
push edi
push eax
call fcn.1001a410
mov eax, dword [ebp - 0x18]
add esp, 0x24
mov dword [eax], edi
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
mov dword [ebp - 0x20], 0x100444e4
mov dword [ebp - 0x1c], 0x100444b8
mov dword [ebp - 0x28], 0x100444a4
mov dword [ebp - 0x24], 0x10044484
mov dword [ebx], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x10044470
push esi
lea eax, [ebp]
push eax
call fcn.1000793d
cmp dword [0x10055b04], edi
je 0x100135ce
push dword [ebp + 0x62c]
lea ecx, [ebp - 0xd]
call fcn.10015e98
jmp 0x100136bb
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov dword [ebp - 0x14], edi
mov ebx, 0x208
push ebx
lea eax, [ebp + 0x410]
push edi
push eax
call fcn.1001a410
push ebx
lea eax, [ebp + 0x208]
push edi
push eax
call fcn.1001a410
mov eax, dword [ebp - 0x14]
add esp, 0x18
push dword [ebp + eax - 0x20]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x410]
push eax
call esi
mov eax, dword [ebp - 0x14]
push dword [ebp + eax - 0x20]
lea eax, [ebp + 0x208]
push 0x1005562c
push eax
call esi
mov eax, dword [ebp - 0x14]
push dword [ebp + eax - 0x28]
lea eax, [ebp + 0x410]
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.10007135
add esp, 0xc
test eax, eax
jle 0x1001366b
mov eax, dword [ebp - 0x18]
mov dword [eax], 1
push dword [0x10055b04]
lea eax, [ebp + 0x410]
push edi
push eax
lea eax, [ebp + 0x208]
push eax
call fcn.10006610
add esp, 0x10
add dword [ebp - 0x14], 4
cmp dword [ebp - 0x14], 8
jl 0x100135dc
push dword [ebp + 0x62c]
lea ecx, [ebp - 0xd]
call fcn.100154c8
lea ecx, [ebp - 0xd]
call fcn.10014efb
push dword [ebp + 0x62c]
lea ecx, [ebp - 0xd]
call fcn.10015b15
lea ecx, [ebp - 0xd]
call fcn.100156d7
push dword [ebp + 0x62c]
lea ecx, [ebp - 0xd]
call fcn.10015e98
lea ecx, [ebp - 0xd]
call fcn.10015936
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call int.1003a7b3
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x618]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x61c
leave
ret 0xc
Function at 0x10015156
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x10041145
call fcn.1001a87f
mov ebx, dword [ebp + 0x214]
xor eax, eax
push 0x206
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.1001a410
add esp, 0xc
mov dword [ebp - 0x18], 0x208
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
push 0x2001f
push 0x10043be0
push 0x80000002
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.100050f7
lea ecx, [ebp - 0x14]
test eax, eax
je 0x100151f4
call fcn.10005082
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001a870
add ebp, 0x20c
leave
ret 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
push edi
call fcn.10005138
test eax, eax
je 0x1001520b
lea ecx, [ebp - 0x14]
jmp 0x100151c8
mov esi, 0x104
lea eax, [ebp]
push esi
push eax
push eax
call fcn.10005a73
add esp, 0xc
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015238
lea ecx, [ebp - 0x14]
call fcn.10005082
mov eax, edi
jmp 0x100151cf
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
push esi
push ebx
call fcn.100054b8
xor edi, edi
inc edi
jmp 0x1001522c

Function at 0x10015252
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.1001a410
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.10015156
pop esi
test eax, eax
je 0x100152bb
push 0x10046158
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001a870
leave
ret
Function at 0x100152c7
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x194], eax
push ebx
mov ebx, dword [ebp + 0x1a0]
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.1001a410
add esp, 0xc
push 0x2001f
push 0x10043c60
push 0x80000002
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x208
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.100050f7
lea ecx, [ebp - 0x7c]
test eax, eax
je 0x10015338
call fcn.10005082
xor eax, eax
jmp 0x1001538e
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.10005138
test eax, eax
je 0x1001534f
lea ecx, [ebp - 0x7c]
jmp 0x1001532f
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
je 0x10015383
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x10044034
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
jne 0x100153a7
lea ecx, [ebp - 0x7c]
call fcn.10005082
xor eax, eax
pop esi
mov ecx, dword [ebp + 0x194]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x198
leave
ret 4
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
push ebx
push edi
push 0x10044020
push 0x10044014
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, esi
jne 0x100153d3
lea ecx, [ebp - 0x7c]
call fcn.10005082
mov eax, edi
jmp 0x1001538d
xor edi, edi
inc edi
jmp 0x100153c7

Function at 0x100153d8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1001a410
add esp, 0xc
push 0x1005562c
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.100054b8
push 0x10043874
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.1001a870
leave
ret

Function at 0x10015450
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1001a410
add esp, 0xc
push 0x1005562c
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.100054b8
push 0x10046184
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.1001a870
leave
ret
Function at 0x100154c8
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x5a4]
sub esp, 0x624
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x5a0], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x398], ax
xor ebx, ebx
lea eax, [ebp + 0x39a]
push ebx
push eax
mov dword [ebp - 0x80], ecx
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push ebx
push eax
mov dword [ebp - 0x7c], 1
call fcn.1001a410
xor eax, eax
push esi
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push ebx
push eax
call fcn.1001a410
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x24
push 0x10046184
mov edi, 0x1005562c
push edi
lea eax, [ebp + 0x398]
push eax
call esi
cmp dword [ebp + 0x5ac], ebx
je 0x1001556c
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100155d4
push 0x10043874
push edi
lea eax, [ebp - 0x78]
push eax
call esi
push 0x100463ec
push edi
lea eax, [ebp + 0x190]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100155d1
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10014789
test eax, eax
je 0x100155d1
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x398]
push eax
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100155d4
mov dword [ebp - 0x7c], ebx
push 0x100463a0
push edi
lea eax, [ebp + 0x398]
push eax
call esi
cmp dword [ebp + 0x5ac], ebx
je 0x100155fc
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001565d
push 0x100463d4
push edi
lea eax, [ebp - 0x78]
push eax
call esi
push 0x100463b8
push edi
lea eax, [ebp + 0x190]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001565d
mov ecx, dword [ebp - 0x80]
lea eax, [ebp + 0x190]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.10014789
test eax, eax
je 0x1001565d
lea eax, [ebp + 0x398]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp + 0x398]
push eax
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp + 0x5a0]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x5a4
leave
ret 4
Function at 0x100156d7
Capabilities:
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5a8]
sub esp, 0x628
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp + 0x5a4], eax
push ebx
push edi
xor edi, edi
mov ebx, ecx
cmp dword [0x10055b04], edi
jne 0x1001583d
call fcn.1001567a
test eax, eax
jne 0x10015727
push 0x100462e4
push 0x10044508
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
jmp 0x1001583d
push esi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x194], ax
lea eax, [ebp + 0x196]
push edi
push eax
call fcn.1001a410
add esp, 0xc
lea eax, [ebp + 0x194]
push eax
mov ecx, ebx
call fcn.100152c7
test eax, eax
je 0x1001583c
xor eax, eax
push esi
mov word [ebp + 0x39c], ax
lea eax, [ebp + 0x39e]
push edi
push eax
call fcn.1001a410
add esp, 0xc
push 0x10043afc
mov ebx, 0x104
push ebx
lea eax, [ebp + 0x39c]
push eax
call fcn.100054b8
lea eax, [ebp + 0x194]
push eax
push ebx
lea eax, [ebp + 0x39c]
push eax
call fcn.1000793d
push 0x10046170
lea eax, [ebp + 0x39c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
push edi
push 0x2001f
push edi
push edi
push 0x10044508
push 0x80000002
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.1000509d
test eax, eax
jne 0x10015834
push esi
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.1001a410
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
mov esi, 0x100462e4
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x208
call fcn.10005138
test eax, eax
jne 0x10015822
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x39c]
push eax
call fcn.1001bc93
pop ecx
pop ecx
test eax, eax
je 0x10015834
push 1
lea eax, [ebp + 0x39c]
push eax
push esi
lea ecx, [ebp - 0x7c]
call fcn.100051c1
lea ecx, [ebp - 0x7c]
call fcn.10005082
pop esi
mov ecx, dword [ebp + 0x5a4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1001a870
add ebp, 0x5a8
leave
ret

Function at 0x10015854
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x10052b28]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call fcn.1001a410
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
mov ecx, edi
call fcn.10015156
test eax, eax
je 0x10015928
push ebx
xor eax, eax
push esi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1001a410
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x10044068
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x10015927
xor eax, eax
push esi
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.1001a410
add esp, 0xc
push 0x10046400
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call edi
lea eax, [ebp - 0x61c]
push eax
call ebx
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001a870
leave
ret