Function at 0x419ec0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x54f978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x28
call fcn.00525ec0
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [esp + 0x14], ebx
cmp dword [ebx + 0x3c], esi
je 0x41a1df
cmp byte [ebx + 0x42], 0
je 0x41a1df
mov eax, dword [ebx]
mov edx, dword [eax + 4]
push 0xffff
call edx
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x41a072
mov eax, 0xf
mov dword [esp + 0x34], eax
mov byte [esp + 0x20], 0
pxor xmm0, xmm0
mov dword [esp + 0x30], esi
movq qword [esp + 0x20], xmm0
cmp eax, 0x10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], 8
jae 0x419f53
lea eax, [esp + 0x20]
mov byte [eax + 8], 0
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
cmp edx, 0x10
jb 0x41a087
mov ebp, eax
test eax, eax
je 0x419f96
mov ecx, eax
cmp edx, 0x10
jae 0x419f7d
lea ecx, [esp + 0x20]
cmp ecx, ebp
ja 0x419f96
mov ecx, eax
cmp edx, 0x10
jae 0x419f8c
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add ecx, esi
cmp ebp, ecx
jbe 0x419fa3
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffc
je 0x419fce
mov ecx, eax
cmp edx, 0x10
jae 0x419fb7
lea ecx, [esp + 0x20]
mov esi, dword [esp + 0x30]
add ecx, esi
cmp ebp, ecx
jb 0x419fce
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
cmp edx, 0x10
jb 0x41a090
mov esi, eax
test eax, eax
je 0x41a009
mov ecx, eax
cmp edx, 0x10
jae 0x419fec
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x41a009
mov ecx, eax
cmp edx, 0x10
jae 0x419ffb
lea ecx, [esp + 0x20]
mov ebx, dword [esp + 0x30]
add ecx, ebx
mov ebx, dword [esp + 0x14]
cmp esi, ecx
jbe 0x41a016
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffc
je 0x41a037
cmp edx, 0x10
jae 0x41a028
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
jb 0x41a037
call fcn.0050dd58
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x18]
push eax
add ebp, edi
push ebp
push esi
lea eax, [ebx + 0x44]
push eax
call edx
sub eax, 0
je 0x41a099
sub eax, 1
je 0x41a09d
sub eax, 2
je 0x41a1ce
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041ac40
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ebp, [esp + 0x20]
jmp 0x419f72
lea esi, [esp + 0x20]
jmp 0x419fe1
mov byte [ebx + 0x42], 0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp edx, 0x10
jb 0x41a1bc
mov esi, eax
test eax, eax
je 0x41a0d8
mov ecx, eax
cmp edx, 0x10
jae 0x41a0bf
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x41a0d8
mov ecx, eax
cmp edx, 0x10
jae 0x41a0ce
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add ecx, edi
cmp esi, ecx
jbe 0x41a0e5
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffc
je 0x41a110
mov ecx, eax
cmp edx, 0x10
jae 0x41a0f9
lea ecx, [esp + 0x20]
mov edi, dword [esp + 0x30]
add ecx, edi
cmp esi, ecx
jb 0x41a110
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub edi, esi
je 0x41a19d
cmp edx, 0x10
jb 0x41a1c5
mov esi, eax
test eax, eax
je 0x41a14f
mov ecx, eax
cmp edx, 0x10
jae 0x41a136
lea ecx, [esp + 0x20]
cmp ecx, esi
ja 0x41a14f
mov ecx, eax
cmp edx, 0x10
jae 0x41a145
lea ecx, [esp + 0x20]
mov ebp, dword [esp + 0x30]
add ecx, ebp
cmp esi, ecx
jbe 0x41a15c
call fcn.0050dd58
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
cmp ecx, 0xfffffffc
je 0x41a17d
cmp edx, 0x10
jae 0x41a16e
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x30]
add eax, edx
cmp esi, eax
jb 0x41a17d
call fcn.0050dd58
mov eax, dword [ebx + 0x4c]
push eax
push edi
push 1
push esi
call fcn.0050deca
add esp, 0x10
cmp edi, eax
jne 0x41a061
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp byte [ebx + 0x42], 0
je 0x41a1ce
test edi, edi
jne 0x419f63
push edi
push 8
lea ecx, [esp + 0x24]
call fcn.00419e10
jmp 0x419f5b
lea esi, [esp + 0x20]
jmp 0x41a0b4
lea esi, [esp + 0x20]
jmp 0x41a12b
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0041ac40
mov ecx, dword [esp + 0x3c]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret