Function at 0x414c29
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2b4
mov eax, dword [0x5498f8]
xor eax, esp
mov dword [esp + 0x2b0], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push eax
mov eax, 0x5319c0
mov dword [esp + 0x18], esi
call fcn.00401ab2
pop ecx
pop ecx
push esi
mov edi, eax
mov edx, dword [edi]
mov esi, 0x55bad8
mov ecx, esi
call fcn.00408a11
mov eax, dword [edi + 4]
test eax, eax
je 0x414c9c
xor ecx, ecx
cmp word [eax], 0x31
sete cl
mov dword [0x55bb04], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x414c9c
xor ecx, ecx
cmp word [eax], 0x31
sete cl
mov dword [0x55bb08], ecx
call fcn.004018dd
jmp 0x414cad
mov eax, dword [0x55bb10]
push 0
push dword [eax]
call fcn.00402382
pop ecx
pop ecx
test eax, eax
je 0x414ce6
call fcn.004086b7
test eax, eax
je 0x414f6f
push 0x1f4
push 0xffffffffffffffff
push 0x40d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x414f6f
mov ebx, dword [0x55bb14]
push str..xml
add ebx, 0xbb8
call fcn.00402129
mov ebx, dword [0x55bb14]
add ebx, 0xbb8
mov dword [esp], str..jpg
call fcn.00402129
mov ebx, dword [0x55bb14]
add ebx, 0xbb8
mov dword [esp], str..dll
call fcn.00402129
mov ebx, dword [0x55bb14]
add ebx, 0xbb8
mov dword [esp], 0x533414
call fcn.00402129
pop ecx
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
call fcn.004f8f00
mov edi, dword [0x55bb14]
add esp, 0xc
lea eax, [edi + 0xfa0]
mov dword [esp + 0xe0], eax
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x100], ax
xor ebx, ebx
lea eax, [esp + 0x102]
inc ebx
lea esi, [edi + 0xbb8]
push eax
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], str._s_s.exe
mov dword [esp + 0xf8], 0x7f
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
call fcn.004f8f00
add esp, 0xc
lea eax, [edi + 0x1388]
mov dword [esp + 0x1c0], eax
xor eax, eax
push 0xc6
push eax
mov word [esp + 0x1e0], ax
lea eax, [esp + 0x1e2]
push eax
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], str._s_s.dll
mov dword [esp + 0x1d8], 0x72
mov dword [esp + 0x1dc], ebx
mov dword [esp + 0x1e0], ebx
call fcn.004f8f00
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
add edi, 0x1b58
mov dword [esp + 0x2a8], edi
mov dword [esp + 0x2ac], esi
mov dword [esp + 0x2b0], str._s_s.xml
mov dword [esp + 0x2b4], 0x71
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2bc], ebx
call fcn.0040206d
push dword [0x55bb14]
xor eax, eax
call fcn.00402806
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x414eae
xor edi, edi
push edi
call fcn.004f8821
pop ecx
push 2
push edi
push edi
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, 0x55bad8
mov dword [0x55ab2c], 0x53345c
mov dword [0x55ab30], esi
call fcn.00408830
mov eax, dword [0x55ab30]
mov eax, dword [eax]
push 0
push 0x409554
push 0
push 0x66
push eax
mov dword [esp + 0x24], eax
call edi
push 0x65
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push eax
push dword [esp + 0x18]
call fcn.0040324b
mov dword [0x55adc8], 0x53345c
mov dword [0x55adcc], esi
call fcn.0040239f
mov ecx, dword [0x55adcc]
mov dword [0x55b05c], eax
mov eax, dword [ecx + 0x40]
cmp dword [eax + 0x1760], ebx
jne 0x414f65
cmp byte [eax + 0x244], 0
je 0x414f65
mov esi, dword [ecx]
push 0
push 0x409d63
push 0
push 0x6b
push esi
call edi
push 0
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push eax
push dword [esp + 0x18]
call fcn.0040324b
mov esi, eax
call fcn.00409bac
jmp 0x414f67
xor esi, esi
test esi, esi
jne 0x414eb4
mov ecx, dword [esp + 0x2bc]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004f7824
mov esp, ebp
pop ebp
ret 0x10