Function at 0x43a1f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
mov edx, 1
mov dword [esp + 0x34], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 8]
sub ecx, dword [eax]
sub ecx, 8
sar ecx, 3
sub ecx, esi
je 0x43a453
mov ebx, dword [edi + 0x10]
dec ecx
mov dword [esp + 0x3c], ecx
test esi, esi
jle 0x43a257
mov eax, dword [ebx]
lea ecx, [eax + esi*8]
cmp ecx, dword [edi + 8]
jb 0x43a297
test esi, esi
jle 0x43a2fd
mov eax, dword [ebx]
mov ecx, 0x493e78
lea eax, [eax + esi*8]
cmp eax, dword [edi + 8]
cmovb ecx, eax
jmp 0x43a33e
cmp esi, 0xfff0b9d8
jle 0x43a267
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43a297
jne 0x43a271
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43a297
mov eax, dword [ebx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [eax + 4], 0x7ff7a516
je 0x43a23a
mov edx, dword [eax]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43a23a
add edx, 8
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0x34]
cmp ecx, 0x493e78
je 0x43a23a
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 0x7fffff00
cmp eax, 0x7ff7a500
mov eax, 3
cmovne ecx, eax
and ecx, 0xf
cmp cl, al
jne 0x43a23a
test edx, edx
je 0x43a3f6
push 0
mov edx, esi
mov ecx, edi
call fcn.0041eb80
push ecx
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x44]
call fcn.004201e0
add esp, 0x10
test eax, eax
jle 0x43a3f6
mov edx, 1
jmp 0x43a3f8
cmp esi, 0xfff0b9d8
jle 0x43a30d
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43a33e
jne 0x43a317
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43a33e
mov eax, dword [ebx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [eax + 4], 0x7ff7a516
je 0x43a339
mov edx, dword [eax]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43a339
inc ecx
lea ecx, [edx + ecx*8]
jmp 0x43a33e
mov ecx, 0x493e78
mov eax, dword [ecx + 4]
or eax, 0x70
cmp eax, 0x7ff7a574
je 0x43a3c6
mov edx, ecx
mov ecx, edi
call fcn.004244a0
test eax, eax
je 0x43a45f
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x43a36c
mov ecx, edi
call fcn.00429c90
mov edx, dword [edi + 0x10]
test esi, esi
jle 0x43a385
mov eax, dword [edx]
mov ecx, 0x493e78
lea eax, [eax + esi*8]
cmp eax, dword [edi + 8]
cmovb ecx, eax
jmp 0x43a3c6
cmp esi, 0xfff0b9d8
jle 0x43a395
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43a3c6
jne 0x43a39f
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43a3c6
mov edx, dword [edx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [edx + 4], 0x7ff7a516
je 0x43a3c1
mov edx, dword [edx]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43a3c1
inc ecx
lea ecx, [edx + ecx*8]
jmp 0x43a3c6
mov ecx, 0x493e78
mov eax, dword [ecx]
mov ebx, dword [eax + 0xc]
add eax, 0x10
je 0x43a45f
cmp dword [esp + 0x34], 0
je 0x43a3f6
push dword [esp + 0x38]
push ebx
push 1
push eax
call fcn.00463591
add esp, 0x10
cmp eax, ebx
jne 0x43a3f6
mov edx, 1
jmp 0x43a3f8
xor edx, edx
mov ecx, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x43a224
test edx, edx
jne 0x43a453
call fcn.0045660b
mov esi, dword [eax]
mov eax, dword [edi + 8]
push esi
mov dword [eax + 4], 0x7ff7a500
add dword [edi + 8], 8
call fcn.00467612
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.0041f130
mov ecx, dword [edi + 8]
mov eax, 3
movd xmm0, esi
cvtdq2pd xmm0, xmm0
movsd qword [ecx], xmm0
add dword [edi + 8], 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov edx, esi
mov ecx, edi
call fcn.00420a50
int3