Function at 0x4025f0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5602f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5bbd60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x593fa8
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push str.0000011111
lea ecx, [ebp - 0x30]
call fcn.00404c00
xor ebx, ebx
push 0x593fbc
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.00404c00
push 0x593fc0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00404c00
push 0x593fc4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404c00
mov byte [ebp - 4], 3
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.00404ce0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x48], edi
push 0x593fc8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00404c00
mov byte [ebp - 4], 5
cmp byte [esi + 0x13], bl
je 0x4026ab
push 1
push 0x593fcc
lea ecx, [ebp - 0x30]
call fcn.00404f50
cmp byte [esi + 0x11], bl
je 0x4026bf
push 1
push 0x593fd0
lea ecx, [ebp - 0x34]
call fcn.00404f50
cmp byte [esi + 0x12], bl
je 0x4026d3
push 1
push 0x593fd4
lea ecx, [ebp - 0x3c]
call fcn.00404f50
cmp byte [esi + 0x14], bl
je 0x4026e7
push 1
push 0x593fd8
lea ecx, [ebp - 0x44]
call fcn.00404f50
cmp byte [esi + 0x10], bl
je 0x4026fb
push 1
push 0x593fdc
lea ecx, [ebp - 0x38]
call fcn.00404f50
mov edx, dword [ebp - 0x30]
cmp dword [edx - 4], 1
jle 0x402713
mov eax, dword [edx - 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.00404db0
mov edx, dword [ebp - 0x30]
mov eax, edx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402725
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403690
push 4
push 0x593fe0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.00403e80
mov ecx, dword [ebp - 0x34]
cmp dword [ecx - 4], 1
jle 0x402763
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00404db0
mov ecx, dword [ebp - 0x34]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402768
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403e80
push 4
push 0x593fe8
lea ecx, [ebp - 0x2c]
call fcn.00403e80
mov ecx, dword [ebp - 0x3c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x402792
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403e80
push 4
push 0x593ff0
lea ecx, [ebp - 0x2c]
call fcn.00403e80
mov ecx, dword [ebp - 0x44]
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4027c0
sub eax, esi
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403e80
push 4
push 0x593ff8
lea ecx, [ebp - 0x2c]
call fcn.00403e80
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4027e7
sub eax, ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403e80
push 4
push 0x594000
lea ecx, [ebp - 0x2c]
call fcn.00403e80
mov edx, dword [ebp - 0x38]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402811
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403e80
push 0x594008
lea edx, [ebp - 0x40]
push str.setconfig.ini
push edx
call fcn.00528484
mov ecx, dword [ebp - 0x40]
add esp, 0xc
cmp ecx, ebx
je 0x40287c
cmp eax, ebx
jne 0x40287c
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x402851
lea eax, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push eax
call fcn.00528b3a
mov edx, dword [ebp - 0x40]
push edx
push 2
push 1
push 0x59401c
call fcn.00528b3a
mov eax, dword [ebp - 0x40]
push eax
call fcn.0052896f
add esp, 0x24
cmp dword [ebp - 0x18], 0x10
jb 0x40288e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00427ab5
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4028be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4028de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402901
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402924
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40296c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527d0f
mov esp, ebp
pop ebp
ret