Function at 0x43c760
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 0x43c9c3
mov ebx, dword [edi + 0x10]
dec ecx
mov dword [esp + 0x3c], ecx
test esi, esi
jle 0x43c7c7
mov eax, dword [ebx]
lea ecx, [eax + esi*8]
cmp ecx, dword [edi + 8]
jb 0x43c807
test esi, esi
jle 0x43c86d
mov eax, dword [ebx]
mov ecx, 0x48ee48
lea eax, [eax + esi*8]
cmp eax, dword [edi + 8]
cmovb ecx, eax
jmp 0x43c8ae
cmp esi, 0xfff0b9d8
jle 0x43c7d7
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43c807
jne 0x43c7e1
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43c807
mov eax, dword [ebx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [eax + 4], 0x7ff7a516
je 0x43c7aa
mov edx, dword [eax]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43c7aa
add edx, 8
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0x34]
cmp ecx, 0x48ee48
je 0x43c7aa
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 0x43c7aa
test edx, edx
je 0x43c966
push 0
mov edx, esi
mov ecx, edi
call fcn.00421280
push ecx
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x44]
call fcn.00422850
add esp, 0x10
test eax, eax
jle 0x43c966
mov edx, 1
jmp 0x43c968
cmp esi, 0xfff0b9d8
jle 0x43c87d
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43c8ae
jne 0x43c887
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43c8ae
mov eax, dword [ebx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [eax + 4], 0x7ff7a516
je 0x43c8a9
mov edx, dword [eax]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43c8a9
inc ecx
lea ecx, [edx + ecx*8]
jmp 0x43c8ae
mov ecx, 0x48ee48
mov eax, dword [ecx + 4]
or eax, 0x70
cmp eax, 0x7ff7a574
je 0x43c936
mov edx, ecx
mov ecx, edi
call fcn.004269f0
test eax, eax
je 0x43c9cf
mov eax, dword [edi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x43c8dc
mov ecx, edi
call fcn.0042c1e0
mov edx, dword [edi + 0x10]
test esi, esi
jle 0x43c8f5
mov eax, dword [edx]
mov ecx, 0x48ee48
lea eax, [eax + esi*8]
cmp eax, dword [edi + 8]
cmovb ecx, eax
jmp 0x43c936
cmp esi, 0xfff0b9d8
jle 0x43c905
mov eax, dword [edi + 8]
lea ecx, [eax + esi*8]
jmp 0x43c936
jne 0x43c90f
mov ecx, dword [edi + 0xc]
add ecx, 0x28
jmp 0x43c936
mov edx, dword [edx]
mov ecx, 0xfff0b9d8
sub ecx, esi
cmp dword [edx + 4], 0x7ff7a516
je 0x43c931
mov edx, dword [edx]
movzx eax, byte [edx + 6]
cmp ecx, eax
jg 0x43c931
inc ecx
lea ecx, [edx + ecx*8]
jmp 0x43c936
mov ecx, 0x48ee48
mov eax, dword [ecx]
mov ebx, dword [eax + 0xc]
add eax, 0x10
je 0x43c9cf
cmp dword [esp + 0x34], 0
je 0x43c966
push dword [esp + 0x38]
push ebx
push 1
push eax
call fcn.0045f881
add esp, 0x10
cmp eax, ebx
jne 0x43c966
mov edx, 1
jmp 0x43c968
xor edx, edx
mov ecx, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x34], edx
test ecx, ecx
jne 0x43c794
test edx, edx
jne 0x43c9c3
call fcn.0045292d
mov esi, dword [eax]
mov eax, dword [edi + 8]
push esi
mov dword [eax + 4], 0x7ff7a500
add dword [edi + 8], 8
call fcn.00463902
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.00421830
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.004230c0
int3