Function at 0x41efb0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47120a
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov esi, dword [esp + 0x110]
mov edi, ecx
lea ecx, [esp + 0x40]
call fcn.0042e720
mov edi, dword [edi + 4]
lea eax, [esp + 0x40]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10c], 0
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], eax
call fcn.00424df0
lea ecx, [esp + 0xe0]
push ecx
lea ecx, [esp + 0x44]
call fcn.0041ee70
push esi
mov byte [esp + 0x10c], 1
call fcn.0042cac0
add esp, 4
cmp dword [esp + 0xf0], 0
jne 0x41f060
push 1
push 0x485818
lea ecx, [esp + 0xe8]
call fcn.004042b0
push 0x4a5de0
push 0x48581c
lea edx, [esp + 0x28]
push esi
push edx
call fcn.0042bc20
mov cl, byte [eax + 4]
mov edx, dword [eax]
mov byte [eax + 4], 0
add esp, 0x10
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], cl
cmp byte [esp + 0x24], 0
mov byte [esp + 0x108], 2
je 0x41f0aa
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x28], 0
call fcn.0043f900
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x41f1d8
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.0042bda0
mov bl, byte [eax + 4]
mov esi, dword [eax]
add esp, 8
mov byte [eax + 4], 0
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], bl
cmp byte [esp + 0x14], 0
mov byte [esp + 0x108], 3
je 0x41f0f5
mov edx, dword [esp + 0x10]
push edx
mov byte [esp + 0x18], 0
call fcn.0043f920
add esp, 4
cmp dword [esp + 0xf4], 0x10
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xe0]
mov edi, ecx
jae 0x41f116
lea eax, [esp + 0xe0]
push ecx
push eax
push esi
call fcn.00456d93
add esp, 0xc
cmp eax, edi
je 0x41f15a
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0x479488
call fcn.00453b7a
push 0x498418
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x38], vtable.settings::Exception.0
mov dword [esp + 0x44], 0x132
call fcn.00453ce8
mov byte [esp + 0x108], 2
test bl, bl
je 0x41f16f
push esi
call fcn.0043f920
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x108], 1
je 0x41f190
mov edx, dword [esp + 0x18]
push edx
mov byte [esp + 0x20], 0
call fcn.0043f900
add esp, 4
cmp dword [esp + 0xf4], 0x10
jb 0x41f1aa
mov eax, dword [esp + 0xe0]
push eax
call fcn.004533ae
add esp, 4
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
mov dword [esp + 0x108], 4
jmp 0x41f301
lea ecx, [esp + 0x18]
push ecx
push 0x485820
lea edx, [esp + 0x18]
push esi
push edx
call fcn.0042bc80
mov bl, byte [eax + 4]
mov esi, dword [eax]
add esp, 0x10
mov byte [eax + 4], 0
mov dword [esp + 0x28], esi
mov byte [esp + 0x2c], bl
cmp byte [esp + 0x14], 0
mov byte [esp + 0x108], 5
je 0x41f222
mov eax, dword [esp + 0x10]
push eax
mov byte [esp + 0x18], 0
call fcn.0043f900
add esp, 4
cmp dword [esp + 0xf4], 0x10
mov eax, dword [esp + 0xe0]
jae 0x41f23a
lea eax, [esp + 0xe0]
mov ecx, dword [esp + 0xf0]
push esi
push 1
push ecx
push eax
call fcn.00455950
add esp, 0x10
cmp eax, 1
je 0x41f288
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0x479488
call fcn.00453b7a
push 0x498418
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], vtable.settings::Exception.0
mov dword [esp + 0x44], 0x132
call fcn.00453ce8
mov byte [esp + 0x108], 2
test bl, bl
je 0x41f29d
push esi
call fcn.0043f900
add esp, 4
cmp byte [esp + 0x1c], 0
mov byte [esp + 0x108], 1
je 0x41f2be
mov ecx, dword [esp + 0x18]
push ecx
mov byte [esp + 0x20], 0
call fcn.0043f900
add esp, 4
cmp dword [esp + 0xf4], 0x10
jb 0x41f2d8
mov edx, dword [esp + 0xe0]
push edx
call fcn.004533ae
add esp, 4
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
mov dword [esp + 0x108], 6
lea ecx, [esp + 0x48]
call fcn.0040d5d0
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.0045407e
add esp, 0xfc
ret 4