Function at 0x7a2630
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x458
push edi
mov edi, dword [ecx + 4]
cmp edi, 0xffffffff
mov dword [esp + 0x18], ecx
mov dword [esp + 4], edi
jne 0x7a2653
xor al, al
pop edi
add esp, 0x458
ret 0xc
mov edx, dword [esp + 0x460]
push ebx
mov ebx, dword [esp + 0x468]
push ebp
mov ebp, dword [ecx + 0xc]
push esi
mov esi, dword [esp + 0x474]
cmp ebx, 0x63d
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], esi
jne 0x7a26db
mov ecx, 0x108
xor eax, eax
lea edi, [esp + 0x48]
add esi, 4
rep stosd dword es:[edi], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x48], edx
mov ecx, eax
lea edi, [esp + 0x58]
mov edx, ecx
mov dword [esp + 0x4c], ebp
shr ecx, 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
add eax, 0x10
push ecx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push edx
push eax
jmp 0x7a2808
cmp ebx, 0x63c
jne 0x7a2738
mov ecx, 0x108
xor eax, eax
lea edi, [esp + 0x48]
add esi, 4
rep stosd dword es:[edi], eax
mov eax, dword [esi - 4]
mov dword [esp + 0x48], edx
mov ecx, eax
lea edi, [esp + 0x58]
mov edx, ecx
mov dword [esp + 0x4c], ebp
shr ecx, 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
add eax, 0x10
push ecx
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x54]
push edx
push eax
jmp 0x7a2808
cmp ebx, 0x613
jne 0x7a27ad
push esi
call dword [sym.imp.kernel32.dll_lstrlen]
inc eax
cmp eax, 0x200
mov dword [esp + 0x20], eax
jbe 0x7a2763
mov eax, 0x200
mov byte [esi + 0x1ff], 0
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, eax
mov dword [esp + 0x4c], edx
mov edx, ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x54], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0
and ecx, 3
add eax, 0x10
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x30]
push edx
mov ecx, dword [eax + 4]
push ecx
jmp 0x7a2808
cmp ebx, 0x619
jne 0x7a27f9
mov ecx, dword [esi + 8]
mov eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esi]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x40], ecx
push 0
push eax
lea ecx, [esp + 0x30]
push 0x20
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x50], edx
push ecx
jmp 0x7a2807
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push 0x10
push eax
push edi
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x7a2838
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x6d
je 0x7a282c
cmp eax, 0xe8
je 0x7a282c
cmp eax, 6
jne 0x7a2838
xor al, al
pop edi
add esp, 0x458
ret 0xc
mov al, 1
pop edi
add esp, 0x458
ret 0xc