Function at 0x441bb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
test edx, edx
mov dword [0x453400], eax
je 0x441bcd
cmp byte [edx], 0
jne 0x441bd5
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
mov ecx, 0x458a13
mov dword [esp + 4], ecx
call sub.cygwin1.dll__fopen64
test eax, eax
mov edi, eax
je 0x441bcd
mov dword [esp + 0xc], eax
mov edx, 0x46
mov eax, 1
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str._This_file_is_generated_by_fvwm._It_stores_global_and_window_states._n
call sub.cygwin1.dll_fwrite
mov dword [esp + 0xc], edi
mov eax, 0x47
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], str._Normally__you_must_never_delete_this_file__it_will_be_auto_deleted._n_n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x453400]
test eax, eax
jne 0x441c53
mov dword [esp], edi
mov eax, 1
mov dword [0x453400], eax
call sub.cygwin1.dll_fclose
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.00440d30
mov dword [esp + 8], eax
mov eax, str._FVWM_VERSION___s_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
mov dword [esp], 0x45cba4
lea esi, [esi]
lea edi, [edi]
call fcn.0041d820
cmp eax, 0x45cba4
mov esi, eax
je 0x442003
mov eax, 0x45def0
mov ecx, 0x45df50
mov edx, 0x45e020
mov dword [esp + 0x20], eax
mov eax, 0x45b58c
mov ebx, 0x45df80
mov dword [esp + 0x10], eax
mov eax, 0x45b590
mov dword [esp + 0xc], eax
mov eax, 0x45dfd0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [0x45b598]
mov dword [esp], eax
call sub.cygX11_6.dll_XGetGeometry
test eax, eax
jne 0x441cee
mov dword [esp], esi
jmp 0x441c80
mov dword [ebp - 0x34], 0
test byte [esi + 0x50], 1
jne 0x441d07
test byte [esi + 0x5d], 0x20
je 0x441d0e
test byte [esi + 0x58], 8
je 0x441d0e
mov dword [ebp - 0x34], 1
mov eax, dword [esi + 0x18]
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, str._CLIENT___lx_n
mov dword [esp + 4], eax
call fcn.00451ea8
mov eax, dword [esi + 0x18]
call fcn.00440c40
test eax, eax
mov ebx, eax
je 0x441d51
mov dword [esp + 8], eax
mov eax, str.___CLIENT_ID___s_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
mov dword [esp], ebx
call sub.cygX11_6.dll_XFree
mov eax, dword [esi + 0x18]
call fcn.00440bf0
test eax, eax
mov ebx, eax
je 0x441f23
mov dword [esp + 8], eax
mov eax, str.___WINDOW_ROLE___s_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
mov dword [esp], ebx
call sub.cygX11_6.dll_XFree
mov dword [esp + 4], esi
lea eax, [esi + 0x20c]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x28]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x1d0]
mov dword [esp], eax
call fcn.004472b0
test byte [esi + 0x50], 1
je 0x441f18
mov ecx, dword [ebp - 0x28]
mov eax, dword [0x45de90]
mov edx, dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [0x45de94]
mov dword [ebp - 0x28], ecx
sub edx, eax
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 0x238]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x234]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1d0]
mov dword [esp + 0x38], eax
mov ebx, dword [ebp - 0x34]
mov eax, dword [esi + 0xf0]
test ebx, ebx
jne 0x441dfa
mov ebx, dword [0x45de94]
add eax, ebx
mov dword [esp + 0x34], eax
mov ebx, dword [ebp - 0x34]
mov eax, dword [esi + 0xec]
test ebx, ebx
jne 0x441e13
mov ebx, dword [0x45de90]
add eax, ebx
mov dword [esp + 0x30], eax
xor ebx, ebx
mov eax, dword [esi + 0x230]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x22c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x228]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x224]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x220]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x21c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov eax, str.___GEOMETRY___i__i__i__i__i__i__i__i__i__i__i__i__i__i__i_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
mov eax, dword [esi + 0x1e0]
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, str.___DESK___i_n
mov dword [esp + 4], eax
call fcn.00451ea8
mov dword [esp], esi
call fcn.0041e8d0
mov dword [esp + 8], eax
mov eax, str.___LAYER___i_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
mov dword [esp + 0xc], edi
mov eax, 0xa
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], str.___FLAGS_
call sub.cygwin1.dll_fwrite
lea esi, [esi]
lea edi, [edi]
movzx eax, byte [esi + ebx + 0x50]
inc ebx
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, str._02x
mov dword [esp + 4], eax
call fcn.00451ea8
cmp ebx, 0x13
jbe 0x441ee0
mov dword [esp + 4], edi
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov dword [esp], esi
jmp 0x441c80
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
jmp 0x441dc7
mov ebx, dword [esi + 0x1dc]
test ebx, ebx
jne 0x44215a
mov edx, dword [esi + 0x1d8]
test edx, edx
jne 0x442194
mov eax, dword [esi]
test eax, eax
jne 0x44217a
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 4], eax
mov eax, dword [0x45b598]
mov dword [esp], eax
call sub.cygX11_6.dll_XGetCommand
test eax, eax
je 0x441fe4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x441d80
mov edx, dword [ebp - 0x2c]
test edx, edx
jle 0x441fe7
mov dword [esp + 8], edx
mov eax, str.___WM_COMMAND___i
xor ebx, ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
cmp ebx, dword [ebp - 0x2c]
jge 0x441fd4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + ebx*4]
inc ebx
mov dword [esp], eax
call fcn.00440d40
mov dword [esp + 8], eax
mov eax, 0x458b63
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
cmp ebx, dword [ebp - 0x2c]
jl 0x441fab
mov dword [esp + 4], edi
mov dword [esp], 0xa
call sub.cygwin1.dll_fputc
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x441d80
mov dword [esp], eax
call sub.cygX11_6.dll_XFreeStringList
mov dword [ebp - 0x30], 0
jmp 0x441d80
mov dword [esp + 0xc], edi
mov ecx, 1
mov ebx, 9
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp], str._GLOBAL__n
call sub.cygwin1.dll_fwrite
mov dword [esp], edi
mov eax, dword [0x45dec0]
mov edx, str.___DESKTOP___i_n
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00451ea8
mov dword [esp], edi
mov eax, dword [0x45de8c]
mov dword [esp + 0x14], eax
mov eax, dword [0x45de88]
mov dword [esp + 0x10], eax
mov eax, dword [0x45de94]
mov dword [esp + 0xc], eax
mov eax, dword [0x45de90]
mov dword [esp + 8], eax
mov eax, str.___VIEWPORT___i__i__i__i_n
mov dword [esp + 4], eax
call fcn.00451ea8
movzx edx, byte [0x45dede]
xor eax, eax
mov dword [esp], edi
test dl, 2
setne al
mov dword [esp + 0x1c], eax
xor eax, eax
test dl, 1
setne al
mov dword [esp + 0x18], eax
mov eax, dword [0x45dea0]
mov dword [esp + 0x14], eax
mov eax, dword [0x45de9c]
mov dword [esp + 0x10], eax
mov eax, dword [0x45de74]
mov dword [esp + 0xc], eax
mov eax, dword [0x45de70]
mov dword [esp + 8], eax
mov eax, str.___SCROLL___i__i__i__i__i__i_n
mov dword [esp + 4], eax
call fcn.00451ea8
mov dword [esp], edi
mov eax, dword [0x45deb8]
mov dword [esp + 0x14], eax
mov eax, dword [0x45deb4]
mov dword [esp + 0x10], eax
mov eax, dword [0x45deb0]
mov dword [esp + 0xc], eax
mov eax, dword [0x45deac]
mov dword [esp + 8], eax
mov eax, str.___SNAP___i__i__i__i_n
mov dword [esp + 4], eax
call fcn.00451ea8
mov dword [esp], edi
mov eax, dword [0x45dec8]
mov dword [esp + 0x10], eax
mov eax, dword [0x45dec4]
mov dword [esp + 0xc], eax
mov eax, dword [0x45de98]
mov dword [esp + 8], eax
mov eax, str.___MISC___i__i__i_n
mov dword [esp + 4], eax
call fcn.00451ea8
movzx edx, byte [0x45ded8]
mov dword [esp], edi
mov al, dl
shr al, 1
and eax, 1
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 1
mov dword [esp + 8], eax
mov eax, str.___STYLE___i__i_n
mov dword [esp + 4], eax
call fcn.00451ea8
jmp 0x441c39
mov eax, dword [esi + 0x1d8]
mov ecx, str.___RES_NAME___s_n
mov dword [esp + 4], ecx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00451ea8
jmp 0x441f31
mov dword [esp + 8], eax
mov eax, str.___WM_NAME___s_n
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00451ea8
jmp 0x441f49
mov eax, dword [esi + 0x1dc]
mov dword [esp], edi
mov dword [esp + 8], eax
mov eax, str.___RES_CLASS___s_n
mov dword [esp + 4], eax
call fcn.00451ea8
jmp 0x441f3f