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

Disassembly:
mov eax, 0x41b06f
call fcn.00403df8
sub esp, 0x50
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push esi
mov eax, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
mov al, byte [eax + 0x30]
test al, al
je 0x41a674
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41a674
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x41a39c
push edi
lea ecx, [ebp - 0x5c]
call fcn.00404792
mov byte [ebp - 4], 3
push 2
pop ebx
jmp 0x41a3b5
push ecx
push dword [ebp + 0x10]
lea eax, [ebp - 0x2c]
push dword [esi + 0x14]
push eax
call fcn.004164bd
add esp, 0x10
push 4
pop ebx
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], ebx
call fcn.00410d71
mov dword [ebp - 4], 3
test bl, 4
je 0x41a3db
and ebx, 0xfffffffb
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x10], ebx
call fcn.004047bf
mov dword [ebp - 4], 1
test bl, 2
je 0x41a3f5
and ebx, 0xfffffffd
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], ebx
call fcn.004047bf
test edi, edi
jne 0x41a468
test byte [esi], 0x10
je 0x41a468
cmp dword [ebp - 0x34], edi
je 0x41a40f
cmp dword [ebp - 0x30], 0x10
mov edi, dword [ebp - 0x44]
jae 0x41a40f
lea edi, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
add eax, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x41a41d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00417758
pop ecx
pop ecx
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x41a435
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.004168e0
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x44]
call fcn.00410d71
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.004047bf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004047bf
test dword [esi], 0x800
je 0x41a4a5
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
and dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push eax
mov ecx, esi
mov byte [esi], 0
call fcn.00410fd9
or ebx, 1
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004047bf
mov eax, esi
jmp 0x41a6ed
cmp dword [ebp - 0x34], 0
je 0x41a633
cmp dword [esi + 4], 0
je 0x41a470
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x41a4c1
lea eax, [ebp - 0x44]
push eax
call fcn.00416e94
pop ecx
mov ecx, dword [0x62ec38]
test ecx, ecx
je 0x41a4f5
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x41a4de
lea eax, [ebp - 0x44]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call ecx
jmp 0x41a520
cmp dword [0x62e3c8], 0
je 0x41a51d
push 0x14
pop eax
call fcn.0040171b
push esp
push 0x6295cc
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
jmp 0x41a528
or eax, 0xffffffff
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x41a547
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
or ebx, 1
mov byte [esi], al
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], al
jmp 0x41a496
xor ecx, ecx
test dword [esi], 0x1000
push 0xfffffffffffffffe
mov dword [ebp + 0x14], ecx
pop edi
je 0x41a5b8
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 7
push dword [esi + 4]
lea eax, [ebp - 0x20]
push dword [esi + 0x24]
push eax
call fcn.0041832b
mov esi, dword [ebp + 0xc]
add esp, 0xc
test al, al
je 0x41a5aa
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
push 0
lea ecx, [ebp + 0x14]
push ecx
push eax
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a5a7
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cmp dword [ebp + 0x14], eax
jne 0x41a5a7
xor edi, edi
jmp 0x41a5aa
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00410ec8
jmp 0x41a5e0
push ecx
lea ecx, [ebp + 0x14]
push ecx
push dword [esi + 4]
push dword [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41a5da
mov eax, dword [ebp + 0x14]
cmp eax, dword [esi + 4]
jne 0x41a5da
xor edi, edi
jmp 0x41a5dd
or edi, 0xffffffff
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41a470
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x41a5fb
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [0x62fbe8]
test eax, eax
je 0x41a613
push edi
call eax
jmp 0x41a528
cmp dword [0x62e3c8], 0
je 0x41a528
push 0x18
pop eax
call fcn.0040171b
push esp
push 0x629640
jmp 0x41a50c
mov eax, dword [0x62fbe8]
test eax, eax
je 0x41a645
push 2
call eax
jmp 0x41a470
cmp dword [0x62e3c8], 0
je 0x41a470
push 0x18
pop eax
call fcn.0040171b
push esp
push 0x629640
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
jmp 0x41a470
mov eax, dword [0x62fbe8]
test eax, eax
je 0x41a683
push 0xb
call eax
jmp 0x41a6a9
cmp dword [0x62e3c8], 0
je 0x41a6a9
push 0x18
pop eax
call fcn.0040171b
push esp
push 0x629640
call fcn.0040f0d0
push eax
call dword [0x62e3c8]
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.00410d51
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004047bf
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.004047bf
mov eax, dword [ebp + 8]
lea esp, [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10