Function at 0x5544757
Capabilities:
Check if file exists
Delete file
Move file
Read file on windows
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1330
call fcn.0557c700
mov eax, dword [0x53f40dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5406da8]
test eax, eax
je 0x5544df3
push esi
add eax, 0x200
mov byte [ebp - 0x204], 0
push eax
mov esi, 0x100
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.05586b51
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.05586af7
push 0x552db48
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.05586b51
mov cl, byte [ebp - 0x104]
lea eax, [ebp - 0x104]
add esp, 0x24
jmp 0x55447dd
cmp cl, 0x5c
jne 0x55447da
mov byte [eax], 0x2f
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x55447d2
mov eax, dword [0x5406da8]
push ebx
push edi
cmp dword [eax + 0x408], 0
jne 0x5544b38
push esi
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.05586bc0
lea eax, [ebp - 0x304]
push 0x2f
push eax
call fcn.0557d940
add esp, 0x14
test eax, eax
je 0x554482e
mov byte [eax], 0
lea eax, [ebp - 0x304]
push eax
call fcn.055479ff
pop ecx
mov ecx, dword [0x5406da8]
push ebx
mov eax, dword [ecx + 0x45c]
cdq
push edx
push eax
push dword [ecx + 0x404]
push dword [ecx + 0x400]
call fcn.0557c5e0
mov dword [ebp - 0x1330], ebx
pop ebx
push 0x58
mov ebx, eax
mov dword [ebp - 0x132c], ecx
mov esi, edx
mov dword [ebp - 0x1324], ebx
push 0
push 0x53f6d50
mov dword [ebp - 0x1308], esi
call fcn.0557d7e0
mov eax, dword [0x5406da8]
xor edi, edi
add esp, 0xc
mov dword [ebp - 0x1314], edi
mov eax, dword [eax + 0x45c]
mov dword [ebp - 0x131c], eax
test eax, eax
jle 0x5544b38
mov dword [ebp - 0x1318], 0x408
push esi
mov eax, edi
cdq
push ebx
push edx
push eax
call fcn.0557c6c0
mov esi, eax
mov ebx, edx
add eax, dword [ebp - 0x1324]
mov dword [ebp - 0x130c], eax
mov eax, ebx
adc eax, dword [ebp - 0x1308]
mov dword [ebp - 0x1310], eax
lea eax, [ebp - 0x104]
test edi, edi
jle 0x554496e
push 0x552db50
push edi
push eax
push 0x552db54
call fcn.05547ace
add esp, 0xc
push eax
call fcn.05586e82
push 2
push 0
mov edi, eax
push 0
push edi
call fcn.055873e3
push edi
call fcn.05587a84
add esi, eax
push edi
adc ebx, edx
call fcn.05587a84
add dword [0x53f6d40], eax
push edi
adc dword [0x53f6d44], edx
call fcn.05587a84
mov ecx, dword [ebp - 0x1310]
add esp, 0x24
add dword [0x53f6d18], eax
mov eax, dword [0x5406da8]
adc dword [0x53f6d1c], edx
mov eax, dword [eax + 0x45c]
dec eax
cmp dword [ebp - 0x1314], eax
mov eax, dword [ebp - 0x130c]
jne 0x55449f5
add eax, dword [ebp - 0x132c]
adc ecx, dword [ebp - 0x1330]
jmp 0x55449f5
cmp dword [ebp - 0x131c], 1
jne 0x554499f
push 0x552db5c
push eax
call fcn.05586e82
xorps xmm0, xmm0
mov edi, eax
movlpd qword [ebp - 0x1320], xmm0
mov ebx, dword [ebp - 0x131c]
mov esi, dword [ebp - 0x1320]
pop ecx
pop ecx
jmp 0x55449e9
push 0x552db50
push eax
call fcn.05586e82
push 2
push 0
mov edi, eax
push 0
push edi
call fcn.055873e3
push edi
call fcn.05587a84
add esi, eax
push edi
adc ebx, edx
call fcn.05587a84
add dword [0x53f6d40], eax
push edi
adc dword [0x53f6d44], edx
call fcn.05587a84
add esp, 0x24
add dword [0x53f6d18], eax
adc dword [0x53f6d1c], edx
mov ecx, dword [ebp - 0x1310]
mov eax, dword [ebp - 0x130c]
test edi, edi
je 0x5544c2d
cmp esi, eax
jne 0x5544a09
cmp ebx, ecx
je 0x5544af7
sub eax, 1
sbb ecx, 0
push ecx
push eax
push ebx
push esi
push 0x552db80
call fcn.05547ace
push eax
push 0
call fcn.0554a683
mov ecx, dword [0x5406da8]
mov esi, eax
mov ebx, dword [ebp - 0x1318]
mov dword [ebx + ecx + 0x28], edi
call fcn.0554a386
mov ecx, dword [0x5406da8]
mov dword [ebx + ecx], eax
mov ecx, dword [0x5406da8]
push ecx
push 0x2712
push dword [ebx + ecx]
call fcn.0554a717
mov eax, dword [0x5406da8]
push edi
push 0x2711
push dword [ebx + eax]
call fcn.0554a717
mov eax, dword [0x5406da8]
push 0x5545069
push 0x4e2b
push dword [ebx + eax]
call fcn.0554a717
mov eax, dword [0x5406da8]
add esp, 0x40
push 1
push 0x2d
push dword [ebx + eax]
call fcn.0554a717
mov eax, dword [0x5406da8]
push esi
push 0x2727
push dword [ebx + eax]
call fcn.0554a717
mov eax, dword [0x5406da8]
push 1
push 0x34
push dword [ebx + eax]
call fcn.0554a717
push 0
push 0
push 0xffffffffffffffff
push 0x53f6d50
call fcn.055746cf
mov eax, dword [0x5406da8]
mov dword [0x53f6d64], 0xffff
mov dword [0x53f6d60], 0x53f6da8
push dword [ebx + eax]
push dword [0x53f6d4c]
call fcn.0554d91f
add esp, 0x3c
jmp 0x5544afd
mov ebx, dword [ebp - 0x1318]
mov eax, dword [0x5406da8]
add ebx, 4
mov edi, dword [ebp - 0x1314]
mov esi, dword [ebp - 0x1308]
inc edi
mov dword [ebp - 0x1318], ebx
mov eax, dword [eax + 0x45c]
mov ebx, dword [ebp - 0x1324]
mov dword [ebp - 0x1314], edi
mov dword [ebp - 0x131c], eax
cmp edi, eax
jl 0x55448a8
lea eax, [ebp - 0x1328]
push eax
push dword [0x53f6d4c]
call fcn.0554dbe1
cmp dword [ebp - 0x1328], 0
pop ecx
pop ecx
jne 0x5544df0
mov eax, dword [0x5406da8]
cmp dword [eax + 0x430], 0
je 0x5544b90
xor edi, edi
cmp dword [eax + 0x45c], edi
jle 0x5544b90
mov esi, 0x430
push dword [esi + eax]
call fcn.05586d5b
mov eax, dword [0x5406da8]
lea esi, [esi + 4]
inc edi
pop ecx
cmp edi, dword [eax + 0x45c]
jl 0x5544b76
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 0x1328]
push eax
push dword [0x53f6d4c]
call fcn.0554db76
pop ecx
pop ecx
test eax, eax
je 0x5544cd5
cmp dword [eax], 1
jne 0x5544b96
mov esi, dword [eax + 4]
mov ebx, dword [eax + 8]
push esi
push dword [0x53f6d4c]
call fcn.0554dcd4
push esi
call fcn.0554a375
push 0x53f6d50
call fcn.0557451b
add esp, 0x10
test ebx, ebx
jne 0x5544cb3
mov eax, dword [0x5406da8]
cmp dword [eax + 0x45c], 1
jne 0x5544b96
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x5544c0a
call edi
cmp eax, 2
jne 0x5544c5f
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x5544c7e
inc dword [0x53f6d0c]
jmp 0x5544b96
push 0x10
push 0x552db20
lea eax, [ebp - 0x204]
mov byte [0x5406da7], 0
push eax
push 0x552db60
call fcn.05547ace
pop ecx
pop ecx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x10
push 0x552db20
call edi
push eax
push dword [0x5406da8]
push 0x552db98
call fcn.05547ace
add esp, 0xc
jmp 0x5544c4e
push 0x10
push 0x552db20
call edi
push eax
push dword [0x5406da8]
push 0x552dbbc
call fcn.05547ace
add esp, 0xc
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x5544c57
lea eax, [ebp - 0x104]
push eax
call fcn.05587ead
pop ecx
push 0x10
push 0x552db20
push ebx
push dword [0x5406da8]
push 0x552dbdc
jmp 0x5544c74
mov eax, dword [0x5406da8]
cmp dword [eax + 0x45c], 1
jle 0x5544de9
lea eax, [ebp - 0x204]
push eax
call fcn.05587ead
lea eax, [ebp - 0x204]
mov dword [esp], 0x552db5c
push eax
call fcn.05586e82
pop ecx
pop ecx
mov ecx, dword [0x5406da8]
xor esi, esi
mov ebx, eax
cmp dword [ecx + 0x45c], esi
jle 0x5544ddc
lea eax, [ebp - 0x104]
test esi, esi
jle 0x5544d37
push esi
push eax
push 0x552db54
call fcn.05547ace
add esp, 0xc
push 0x552dc08
push eax
call fcn.05586e82
push eax
push 0x1000
mov dword [ebp - 0x1308], eax
lea eax, [ebp - 0x1304]
push 1
push eax
call fcn.05587081
add esp, 0x18
jmp 0x5544d98
push ebx
push edi
lea eax, [ebp - 0x1304]
push 1
push eax
call fcn.05587cbe
add esp, 0x10
cmp eax, edi
jne 0x5544dff
push dword [ebp - 0x1308]
lea eax, [ebp - 0x1304]
push 0x1000
push 1
push eax
call fcn.05587081
add esp, 0x10
mov edi, eax
test edi, edi
jg 0x5544d61
push dword [ebp - 0x1308]
call fcn.05586d5b
lea eax, [ebp - 0x104]
pop ecx
test esi, esi
jle 0x5544dc3
push esi
push eax
push 0x552db54
call fcn.05547ace
add esp, 0xc
push eax
call fcn.05587ead
mov eax, dword [0x5406da8]
inc esi
pop ecx
cmp esi, dword [eax + 0x45c]
jl 0x5544d1e
push ebx
call fcn.05586d5b
inc dword [0x53f6d0c]
pop ecx
and dword [0x5406da8], 0
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0557c24c
leave
ret
push ebx
call fcn.05586d5b
lea eax, [ebp - 0x204]
push eax
call fcn.05587ead
pop ecx
pop ecx
push 0x10
push 0x552db20
push dword [0x5406da8]
push 0x552dc0c
jmp 0x5544c47