Function at 0x411bc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10c
cmp dword [0x4b09b8], 0
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebp, ecx
jne 0x411c03
mov eax, dword [0x4af29c]
dec eax
cmp eax, 5
ja case.default.0x411be2
jmp dword [eax*4 + 0x411f40]
call fcn.00411f60
jmp case.default.0x411be2
call fcn.00412d60
cmp dword [0x24990fc], 0
je 0x411c03
call fcn.004136d0
push 0x104
push ebp
push 0x2483260
call fcn.0046d4e0
add esp, 0xc
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [ecx + 0x2483260]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x13], al
test al, al
jne 0x411c20
lea eax, [esp + 0x14]
push 0x2e
push eax
call fcn.004673b0
mov esi, eax
lea eax, [esp + 0x1c]
push 0x5c
push eax
call fcn.004673b0
mov ebx, eax
lea eax, [esp + 0x24]
push 0x2f
push eax
call fcn.004673b0
add esp, 0x18
test esi, esi
je 0x411c70
test ebx, ebx
je 0x411c68
cmp ebx, esi
ja 0x411c70
test eax, eax
je 0x411c87
cmp eax, esi
jbe 0x411c87
push 0x104
lea eax, [esp + 0x18]
push 0x49d6dc
push eax
call fcn.004745a0
add esp, 0xc
lea eax, [esp + 0x14]
push 0x49d6e4
push eax
call fcn.0046b3d9
add esp, 8
mov dword [0x248346c], eax
test eax, eax
jne 0x411cd9
call fcn.00474f29
push dword [eax]
call fcn.004751a8
add esp, 4
push eax
push ebp
push str._VCR_:_Cannot_start_recording__could_not_open_file__s:__s_n
push 2
call fcn.00473dc9
add esp, 4
push eax
call fcn.0040d6c0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
cmp dword [0x246d5bc], 0
je 0x411cfc
push 0
push 0x42b
push dword [0x4b09c4]
call dword [sym.imp.USER32.dll_GetMenu]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x3f8
push 0
push 0x2498d00
mov dword [0x246d5bc], 0
call fcn.004682f0
add esp, 0xc
mov dword [0x2498cf8], 0x1a34364d
mov dword [0x2498cfc], 3
push 0
call fcn.004750cf
mov dword [0x2498d00], eax
add esp, 4
mov eax, edi
mov dword [0x2498d04], 0
neg eax
mov dword [0x2498d10], 0
mov dword [0x2498d08], 0
sbb eax, eax
add eax, 2
cmp dword [0x2483364], 0x1000
mov word [0x2498d14], ax
jae 0x411da7
mov eax, dword [0x24990f8]
mov esi, dword [0x2483258]
push 0x2000
push eax
sub esi, eax
mov dword [0x2483364], 0x2000
call fcn.0046b4eb
add esp, 8
mov dword [0x24990f8], eax
add eax, esi
mov dword [0x2483258], eax
test edi, edi
je 0x411e82
push str._VCR_:_Saving_state..._n
call fcn.0040e1d0
add esp, 4
xor ecx, ecx
nop
mov al, byte [ecx + 0x2483260]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x13], al
test al, al
jne 0x411dc0
lea eax, [esp + 0x14]
push 0x2e
push eax
call fcn.004673b0
mov esi, eax
add esp, 8
test esi, esi
je 0x411e24
lea eax, [esp + 0x14]
push 0x5c
push eax
call fcn.004673b0
add esp, 8
cmp esi, eax
jbe 0x411e24
lea eax, [esp + 0x14]
push 0x2f
push eax
call fcn.004673b0
add esp, 8
cmp esi, eax
jbe 0x411e24
lea eax, [esp + 0x14]
mov byte [esi], 0
push 0x2e
push eax
call fcn.004673b0
mov esi, eax
add esp, 8
test esi, esi
jne 0x411de6
push 0x104
lea eax, [esp + 0x18]
push 0x49d740
push eax
call fcn.004745a0
lea ecx, [esp + 0x20]
add esp, 0xc
add dword [0x246d5b8], 0xa
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411e50
sub ecx, edx
cmp ecx, 0x400
jae 0x411e74
xor ecx, ecx
mov al, byte [esp + ecx + 0x14]
lea ecx, [ecx + 1]
mov byte [ecx + 0x246d5bf], al
test al, al
jne 0x411e63
or dword [0x4af290], 1
mov eax, 2
jmp 0x411e87
mov eax, 1
mov ecx, 0x2498cf8
mov dword [0x4af29c], eax
call fcn.00410da0
mov eax, dword [esp + 0x120]
test eax, eax
je 0x411eb4
push 0xde
push eax
push 0x2498f1a
call fcn.0046d4e0
add esp, 0xc
mov eax, dword [esp + 0x124]
mov byte [0x2498ff7], 0
test eax, eax
je 0x411ed9
push 0x100
push eax
push 0x2498ff8
call fcn.0046d4e0
add esp, 0xc
mov esi, dword [0x248346c]
push 0
push 0
push esi
mov byte [0x24990f7], 0
call fcn.00474451
add esp, 0xc
mov dword [0x2498cfc], 3
push esi
push 0x400
push 1
push 0x2498cf8
call fcn.00474e4d
push 2
push 0
push esi
call fcn.00474451
add esp, 0x1c
mov dword [0x4aba54], 0
mov dword [0x4aba58], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret