Function at 0x43e6bca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd80
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x260], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x20]
xor eax, eax
push ebp
push 0x43e6c22d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0xc]
call fcn.43e69b4c
test al, al
je 0x43e6c207
mov eax, dword [ebp - 0xc]
call fcn.43e69c4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x80]
mov eax, dword [ebp - 0x14]
call fcn.43e69c90
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e6c207
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x80]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [edi], eax
xor ebx, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x43e6bd6f
mov eax, dword [edi]
cmp dword [eax + 0xc], 0
je 0x43e6bdd1
lea eax, [ebp - 0x260]
mov edx, esi
call fcn.43e5376c
mov eax, dword [ebp - 0x260]
mov edx, dword [ebp - 0x2c]
call fcn.43e680c0
test al, al
jne 0x43e6c207
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x24], 0
jne 0x43e6bdb1
cmp dword [ebp - 0x28], 0
je 0x43e6c207
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.43e69d58
mov edx, eax
add edx, dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
call fcn.43e5376c
inc ebx
add dword [edi], 0x14
jmp 0x43e6bd5f
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.43e68a34
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 0x264]
mov edx, 0x43e6c248
call fcn.43e5380c
mov eax, dword [ebp - 0x264]
call fcn.43e691c0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x80]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [edi], eax
inc ebx
lea eax, [ebx + 1]
shl eax, 2
lea eax, [eax + eax*4]
call fcn.43e689f0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x43e6be37
mov eax, 0x43e6c264
call fcn.43e691c0
jmp 0x43e6c207
mov ecx, ebx
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov edx, dword [edi]
mov eax, dword [ebp - 0x30]
call fcn.43e541c8
mov ecx, ebx
shl ecx, 2
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp - 0x30]
add eax, 0x14
mov edx, dword [edi]
call fcn.43e541c8
lea eax, [ebp - 0x25a]
mov edx, 0x20e
call fcn.43e541d0
push esi
lea eax, [ebp - 0x25a]
push eax
call sub.kernel32.dll_lstrcpyA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x154]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x25a]
call fcn.43e68cd4
inc eax
mov dword [ebp - 0x15a], eax
lea eax, [ebp - 0x154]
call fcn.43e68cd4
inc eax
mov dword [ebp - 0x54], eax
mov word [ebp - 0x156], 0x6f
mov eax, dword [ebp - 0x15a]
add eax, 2
add eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
add eax, 8
lea edx, [ebx + 1]
shl edx, 2
lea edx, [edx + edx*4]
add eax, edx
mov dword [ebp - 8], eax
lea edx, [ebp - 0x270]
mov eax, dword [ebp - 8]
call fcn.43e68a34
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
mov edx, 0x43e6c29c
call fcn.43e5380c
mov eax, dword [ebp - 0x26c]
call fcn.43e691c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 8]
lea edx, [ebp - 0x278]
call fcn.43e68a34
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x274]
mov edx, 0x43e6c2b8
call fcn.43e5380c
mov eax, dword [ebp - 0x274]
call fcn.43e691c0
mov edx, dword [ebp - 4]
mov esi, dword [edx + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add esi, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
sub edx, eax
cmp edx, dword [ebp - 8]
jae 0x43e6bfd0
mov eax, dword [ebp - 0x14]
call fcn.43e69d80
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
add esi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
sub eax, edi
lea edx, [ebp - 0x280]
call fcn.43e68a34
mov ecx, dword [ebp - 0x280]
lea eax, [ebp - 0x27c]
mov edx, 0x43e6c2d4
call fcn.43e5380c
mov eax, dword [ebp - 0x27c]
call fcn.43e691c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jae 0x43e6bfd0
mov eax, 0x43e6c2f8
call fcn.43e691c0
push ebp
call fcn.43e6bc20
pop ecx
mov esi, eax
test esi, esi
je 0x43e6c207
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
add eax, esi
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
add eax, 0x14
mov ecx, 0x14
call fcn.43e541c8
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
add eax, esi
add eax, dword [ebp - 0x50]
add eax, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
add eax, 0x80
sub eax, dword [ebp - 0xc]
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x84]
add eax, 0x28
mov dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0x14]
add eax, 0xd0
sub eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebp - 0x38], edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
add eax, 8
sub eax, dword [ebp - 0xc]
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 4]
add eax, 0x24
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], 0xe0000020
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, esi
push 0
push 0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetFilePointer
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x15a]
push eax
lea eax, [ebp - 0x25a]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x34]
push eax
push 2
lea eax, [ebp - 0x156]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x154]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
add esi, dword [ebp - 0x15a]
add esi, dword [ebp - 0x18]
mov dword [ebp - 0x38], esi
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
xor eax, eax
mov dword [ebp - 0x38], eax
push 0
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0x34]
push eax
inc ebx
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*4]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WriteFile_1
mov eax, dword [ebp - 0x30]
call fcn.43e527f4
mov eax, 0x43e6c31c
call fcn.43e691c0
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e6c234
lea eax, [ebp - 0x280]
mov edx, 9
call fcn.43e53660
lea eax, [ebp - 0x2c]
call fcn.43e5363c
ret