Function at 0x43412a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
push esi
push edi
mov eax, dword [0x45726c]
mov dword [ebp - 0x47c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x478]
rep stosd dword es:[edi], eax
mov ecx, dword [0x457270]
mov dword [ebp - 0x258], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x254]
rep stosd dword es:[edi], eax
mov ecx, 6
mov esi, 0x449c50
lea edi, [ebp - 0x274]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x50], 0xfeff
cmp dword [0x456c14], 0
je 0x434195
xor eax, eax
jmp 0x434398
mov dword [0x456c14], 1
mov dword [ebp - 0x4c], 0x4c
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
lea eax, [ebp - 0x274]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0x208
lea edx, [ebp - 0x258]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x208
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x449c6c
mov dword [ebp - 0x18], 2
mov word [ebp - 0x14], 0
mov word [ebp - 0x12], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4c]
push eax
call sub.comdlg32.dll_GetSaveFileNameW
test eax, eax
je 0x434380
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x48c], eax
cmp dword [ebp - 0x48c], 0xffffffff
jne 0x434276
push 0x30
push 0
push 0x449c74
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
push 0xe
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
imul ecx, dword [0x456c50]
mov dword [ebp - 0x480], ecx
cmp dword [ebp - 0x480], 0xffffffff
jne 0x4342bb
push 0x30
push 0
push 0x449c84
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x44d1ec]
mov dword [ebp - 0x484], eax
cmp dword [ebp - 0x484], 0
je 0x434334
mov ecx, dword [0x44d1ec]
push ecx
call fcn.004060ca
push eax
call fcn.00409064
add esp, 8
push 0
lea edx, [ebp - 0x488]
push edx
push 2
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x48c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x488]
push edx
mov eax, dword [ebp - 0x480]
push eax
mov ecx, dword [ebp - 0x484]
push ecx
mov edx, dword [ebp - 0x48c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x434347
push 0x30
push 0
push 0x449c9c
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x30]
push ecx
push 0x45705c
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.004060ca
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [0x456c14], 0
mov eax, 1
jmp 0x434398
call fcn.004060ca
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [0x456c14], 0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret