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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x1c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0xc], 0
call fcn.00490470
cmp al, 0
je 0x43c7c2
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
call fcn.004021d0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402570
cmp dword [ebp - 0x18], 0
je 0x43c7b2
mov ecx, dword [ebp - 0x18]
call fcn.00401b80
cmp dword [ebp - 0x14], 0
je 0x43c809
mov ecx, dword [ebp - 0x14]
call fcn.00401b80
jmp 0x43c809
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp + 8]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x28]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00431da0
pop ecx
pop ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.00402570
cmp dword [ebp - 0x20], 0
je 0x43c7fb
mov ecx, dword [ebp - 0x20]
call fcn.00401b80
cmp dword [ebp - 0x1c], 0
je 0x43c809
mov ecx, dword [ebp - 0x1c]
call fcn.00401b80
call fcn.00490470
cmp al, 0
je 0x43c823
lea ecx, [ebp - 0xc]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43c832
lea ecx, [ebp - 0xc]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00490470
cmp al, 0
je 0x43c861
push 0
push 0x80000002
push 3
push 0
push 3
push 0x80000000
lea ecx, [ebp - 0xc]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
jmp 0x43c885
push 0
push 0x80000002
push 3
push 0
push 3
push 0x80000000
lea ecx, [ebp - 0xc]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x43c91f
call fcn.00490470
cmp al, 0
je 0x43c8be
push 0
push 0x80000002
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0xc]
call fcn.00402480
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
jmp 0x43c8e2
push 0
push 0x80000002
push 1
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0xc]
call fcn.00402450
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x43c941
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
cmp dword [ebp - 0xc], 0
je 0x43c916
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
cmp dword [ebp - 0xc], 0
je 0x43c938
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret
mov bl, 0
cmp dword [ebp - 0xc], 0
je 0x43c951
mov ecx, dword [ebp - 0xc]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret