Function at 0x414bc0
Capabilities:
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6275d3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1034
call fcn.00554810
mov eax, dword [0x6aab00]
xor eax, esp
mov dword [esp + 0x1030], eax
push ebx
push esi
push edi
mov eax, dword [0x6aab00]
xor eax, esp
push eax
lea eax, [esp + 0x1048]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x34], edi
jmp 0x414c1d
lea esi, [esp + 0x18]
call fcn.004046d0
lea ebx, [edi + 8]
mov dword [esp + 0x1050], 0
push eax
mov ecx, ebx
mov dword [esp + 0x20], ebx
call fcn.004017f0
mov dword [esp + 0x1050], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp dword [eax + 0x38], 0
lea edi, [eax + 0x38]
mov dword [esp + 0x18], edi
jle 0x415246
push 0xfff
lea ecx, [esp + 0x41]
push 0
push ecx
mov byte [esp + 0x48], 0
call fcn.00551e50
add esp, 0xc
push 0x1000
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414cc9
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1050], 1
test ecx, 0xffff0000
jne 0x414d0c
mov edx, ecx
movzx esi, dx
push esi
call fcn.0044e694
test eax, eax
je 0x414d2b
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00401590
jmp 0x414d2b
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x414d13
sub eax, edx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a60
mov dword [esp + 0x1050], 2
mov esi, dword [esp + 0x20]
push 0x663e7c
lea ecx, [esp + 0x18]
push esi
push ecx
mov dword [esp + 0x20], 0
call fcn.0054cfa6
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x414e98
push 0x6b9888
lea edx, [esp + 0x2c]
push 0x6b9884
push edx
call fcn.00402d70
add esp, 0xc
push str..exe
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x105c], 3
call fcn.0040cfd0
add esp, 0xc
mov byte [esp + 0x1050], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x414df6
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x414de4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414de4
push eax
call fcn.00401780
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x414dd7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
jmp 0x414df2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00401a60
mov edi, dword [esp + 0x18]
mov byte [esp + 0x1050], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1050], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414e46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push 0x663e7c
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0054cfa6
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
jne 0x414e98
push 0x68
push eax
call fcn.005fdcb0
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
jne 0x414e98
lea eax, [esi - 0x10]
mov dword [esp + 0x1050], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41523a
mov ecx, dword [edi]
push 0
push ecx
push eax
call fcn.0054f658
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 4
lea eax, [esp + 0x38]
push 1
push eax
mov dword [esp + 0x40], 0
call fcn.0054d2cc
add esp, 0x10
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414ede
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x1050], 5
call fcn.0044ce39
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x414f10
push 0x80004005
call fcn.00401b80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x3c]
push ecx
push 0
mov byte [esp + 0x1058], 6
mov eax, dword [ebx]
push str.macro
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x415006
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0054d750
push eax
call fcn.0054d750
push eax
lea edx, [esp + 0x24]
push str.macro_d__d___d__tmp
push edx
call fcn.00405900
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.00402d70
add esp, 0xc
mov byte [esp + 0x1050], 7
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x414fdc
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x414fca
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x414fca
push eax
call fcn.00401780
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x414fc1
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x1c], esi
jmp 0x414fdc
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00401a60
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x1050], 6
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41502c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41502c
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415010
sub eax, edx
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401a60
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea ebx, [esi - 0x10]
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x41505a
cmp eax, dword [ebx]
jne 0x41505a
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41508f
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x415073
call fcn.00401940
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
inc eax
push eax
lea ecx, [ebx + 0x10]
push ecx
push eax
lea edx, [esi + 0x10]
push edx
call fcn.0054d625
add esp, 0x10
add esi, 0x10
mov dword [esp + 0x38], esi
mov byte [esp + 0x1050], 8
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x28], esp
mov dword [esp + 0x28], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4150d6
cmp eax, dword [esi]
jne 0x4150d6
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41510b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x4150ef
call fcn.00401940
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
lea ecx, [esi + 0x10]
push ecx
push eax
lea edx, [edi + 0x10]
push edx
call fcn.0054d625
add esp, 0x10
mov eax, dword [esp + 0x28]
add edi, 0x10
mov dword [eax], edi
mov edi, dword [esp + 0x30]
call fcn.004158b0
mov ecx, dword [esp + 0x34]
mov edi, dword [ecx + 4]
add ecx, 4
sub edi, 0x10
cmp esi, edi
je 0x41517e
cmp dword [edi + 0xc], 0
jl 0x415170
mov edx, dword [esi]
cmp edx, dword [edi]
jne 0x415170
push esi
call fcn.00401780
mov dword [esp + 0x30], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x415160
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add ecx, 0x10
mov dword [eax + 4], ecx
jmp 0x41517e
mov eax, dword [esp + 0x38]
mov edx, dword [eax - 0xc]
push edx
push eax
call fcn.00401a60
xor edi, edi
cmp dword [esp + 0x30], edi
jle 0x41519b
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
push edx
call fcn.004159a0
inc edi
cmp edi, dword [esp + 0x30]
jl 0x415186
mov ecx, dword [esp + 0x14]
call fcn.00415b00
mov eax, dword [esp + 0x14]
push eax
call fcn.0054d577
add esp, 4
mov byte [esp + 0x1050], 6
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4151d2
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x1050], 5
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4151f3
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov byte [esp + 0x1050], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41521b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1050], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x415258
mov ecx, dword [esp + 0x1048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.0054cec4
mov esp, ebp
pop ebp
ret