Function at 0x41d6b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x80
push ebp
push esi
push edi
mov edi, dword [esp + 0x90]
mov esi, ecx
xor ebp, ebp
push ebp
lea eax, [esp + 0x10]
push str.use_encoding__d
push eax
call fcn.004309ee
xor ecx, ecx
push edi
mov cl, byte [esi + ebp + 0x260]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0041d2d0
add esp, 0x18
test eax, eax
setne al
mov byte [esi + ebp + 0x260], al
inc ebp
cmp ebp, 8
jle 0x41d504
mov ecx, dword [esi + 0x220]
push edi
push ecx
push str.preferred_encoding
call fcn.0041d2d0
xor edx, edx
push edi
mov dl, byte [esi + 0x21a]
mov dword [esi + 0x220], eax
push edx
push str.restricted
call fcn.0041d2d0
test eax, eax
setne al
xor ecx, ecx
push edi
mov cl, byte [esi + 0x21b]
mov byte [esi + 0x21a], al
push ecx
push str.viewonly
call fcn.0041d2d0
test eax, eax
setne dl
xor eax, eax
push edi
mov al, byte [esi + 0x21c]
mov byte [esi + 0x21b], dl
push eax
push str.fullscreen
call fcn.0041d2d0
test eax, eax
setne cl
xor edx, edx
push edi
mov dl, byte [esi + 0x21d]
mov byte [esi + 0x21c], cl
push edx
push str.8bit
call fcn.0041d2d0
test eax, eax
setne al
xor ecx, ecx
push edi
mov cl, byte [esi + 0x230]
mov byte [esi + 0x21d], al
push ecx
push str.shared
call fcn.0041d2d0
add esp, 0x48
test eax, eax
setne dl
xor eax, eax
push edi
mov al, byte [esi + 0x224]
mov byte [esi + 0x230], dl
push eax
push str.swapmouse
call fcn.0041d2d0
test eax, eax
setne cl
xor edx, edx
push edi
mov dl, byte [esi + 0x231]
mov byte [esi + 0x224], cl
push edx
push str.belldeiconify
call fcn.0041d2d0
test eax, eax
setne al
xor ecx, ecx
push edi
mov cl, byte [esi + 0x225]
mov byte [esi + 0x231], al
push ecx
push str.emulate3
call fcn.0041d2d0
test eax, eax
mov eax, dword [esi + 0x228]
push edi
setne dl
mov byte [esi + 0x225], dl
push eax
push str.emulate3timeout
call fcn.0041d2d0
mov ecx, dword [esi + 0x22c]
push edi
push ecx
push str.emulate3fuzz
mov dword [esi + 0x228], eax
call fcn.0041d2d0
xor edx, edx
push edi
mov dl, byte [esi + 0x232]
mov dword [esi + 0x22c], eax
push edx
push str.disableclipboard
call fcn.0041d2d0
mov ecx, dword [esi + 0x234]
add esp, 0x48
test eax, eax
push edi
push ecx
setne al
push str.localcursor
mov byte [esi + 0x232], al
call fcn.0041d2d0
xor edx, edx
push edi
mov dl, byte [esi + 0x239]
mov dword [esi + 0x234], eax
push edx
push str.fitwindow
call fcn.0041d2d0
mov ecx, dword [esi + 0x240]
push edi
test eax, eax
setne al
push ecx
push str.scale_den
mov byte [esi + 0x239], al
call fcn.0041d2d0
mov edx, dword [esi + 0x23c]
push edi
push edx
push str.scale_num
mov dword [esi + 0x240], eax
call fcn.0041d2d0
mov dword [esi + 0x23c], eax
xor eax, eax
mov al, byte [esi + 0x254]
push edi
push eax
push str.cursorshape
call fcn.0041d2d0
test eax, eax
setne cl
xor edx, edx
push edi
mov dl, byte [esi + 0x255]
mov byte [esi + 0x254], cl
push edx
push str.noremotecursor
call fcn.0041d2d0
add esp, 0x48
test eax, eax
push edi
push 0xffffffffffffffff
setne al
push str.compresslevel
mov byte [esi + 0x255], al
call fcn.0041d2d0
add esp, 0xc
cmp eax, 0xffffffff
mov byte [esi + 0x244], 0
je 0x41d774
mov byte [esi + 0x244], 1
mov dword [esi + 0x248], eax
push edi
push 0xffffffffffffffff
push str.quality
call fcn.0041d2d0
add esp, 0xc
cmp eax, 0xffffffff
mov byte [esi + 0x24c], 0
je 0x41d79d
mov byte [esi + 0x24c], 1
mov dword [esi + 0x250], eax
pop edi
pop esi
pop ebp
add esp, 0x80
ret 4