Function at 0x41c010
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [0x59d350]
mov dword [ebp - 0x10], edi
mov ecx, dword [edi + 0x53a0]
lea eax, [ecx - 1]
mov dword [ebp - 4], eax
test eax, eax
js 0x41c0a4
lea ebx, [eax + eax*4]
shl ebx, 2
nop dword [eax + eax]
mov ecx, dword [edi + 0x53a8]
cmp dword [ecx + ebx + 4], 7
jne 0x41c093
mov esi, ecx
mov eax, 0x66666667
sub ecx, esi
add ecx, ebx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x53a0]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 4]
add esp, 0xc
dec dword [edi + 0x53a0]
mov ecx, dword [edi + 0x53a0]
dec eax
sub ebx, 0x14
mov dword [ebp - 4], eax
test eax, eax
jns 0x41c040
xor esi, esi
test ecx, ecx
jle 0x41c0d4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x53a8]
add eax, ebx
cmp dword [eax + 4], 0
jne 0x41c0c8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x53a0]
jl 0x41c0b0
mov esi, dword [0x59d350]
mov eax, dword [edi + 0x3c8c]
mov dword [edi + 0x3c90], eax
cmp byte [esi + 0x65], 0
je 0x41c0f6
test byte [esi + 0xc], 2
jne 0x41c0f6
mov byte [esi + 0x65], 0
mov ecx, dword [esi + 8]
test ecx, 0x400
je 0x41c119
mov eax, dword [esi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x41c119
and ecx, 0xfffffbff
mov dword [esi + 8], ecx
mov eax, dword [edi + 8]
mov dword [edi + 0x3c8c], eax
cmp byte [esi + 0x5368], 0
jne 0x41c177
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41c170
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.00417380
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41c170
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.0042c1e0
mov ecx, dword [0x59d350]
test ecx, ecx
je 0x41c166
dec dword [ecx + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [esi + 0x5368], 1
movss xmm0, dword [esi + 0x536c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41c1ff
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x536c], xmm0
jb 0x41c1ff
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x41c1ee
mov eax, dword [0x59d350]
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
mov dword [eax + 0x536c], 0
call fcn.0042c410
mov edx, 0x46e1b4
mov dword [ebp - 0xc], eax
mov ecx, ebx
call fcn.004172b0
mov ebx, eax
test ebx, ebx
je 0x41c1f5
push ebx
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x41c1f5
mov byte [esi + 0x98], 1
mov dword [esi + 0x536c], 0
movss xmm1, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3ea0]
cvtps2pd xmm0, xmm1
mov byte [edi + 0x3eb0], 1
mov word [edi + 0x52fa], ax
mov dword [edi + 0x3ef8], eax
addsd xmm0, qword [edi + 0x3e98]
movsd qword [edi + 0x3e98], xmm0
mov ecx, dword [edi + 0x5310]
test ecx, ecx
jns 0x41c25e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x530c]
call fcn.004382b0
movss xmm1, dword [edi + 0x18]
mov dword [edi + 0x530c], 0
movaps xmm0, xmm1
mov eax, dword [edi + 0x55fc]
mov ecx, 0x78
subss xmm0, dword [edi + eax*4 + 0x541c]
addss xmm0, dword [edi + 0x5604]
movss dword [edi + 0x5604], xmm0
movss dword [edi + eax*4 + 0x541c], xmm1
mov eax, dword [edi + 0x55fc]
inc eax
movss xmm1, dword [edi + 0x5604]
cdq
idiv ecx
mov eax, dword [edi + 0x5600]
movss xmm0, dword [0x46e5c0]
inc eax
cmp eax, ecx
mov dword [edi + 0x55fc], edx
movss dword [ebp - 4], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x46e3dc]
mov dword [edi + 0x5600], ecx
jbe 0x41c2ef
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x46e478]
divss xmm0, xmm1
movss dword [edi + 0x9c], xmm0
call fcn.0042d4c0
mov eax, dword [edi + 0x40]
mov ebx, dword [0x59d350]
mov byte [eax + 0x10], 1
mov esi, dword [ebx + 0x4c]
test esi, esi
jne 0x41c318
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 0x3c]
mov esi, dword [eax]
movss xmm2, dword [0x46e478]
mov eax, dword [ebx + 0x3f04]
movaps xmm0, xmm2
mov dword [ebx + 0x3c94], esi
movss xmm1, dword [esi + 0x10]
mulss xmm1, dword [ebx + 0x44]
mulss xmm1, dword [esi + 0x44]
maxss xmm0, xmm1
movss dword [ebx + 0x3c9c], xmm0
test eax, eax
je 0x41c375
movaps xmm1, xmm0
mulss xmm1, dword [eax + 0x27c]
mulss xmm1, dword [eax + 0x280]
mov eax, dword [eax + 0x31c]
test eax, eax
je 0x41c378
mulss xmm1, dword [eax + 0x27c]
jmp 0x41c378
xorps xmm1, xmm1
movss xmm7, dword [0x46e5c0]
movss xmm4, dword [0x46e5e4]
movaps xmm6, xmm7
movss dword [ebx + 0x3c98], xmm1
movaps xmm5, xmm4
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [ebx + 0x3ca0], eax
lea eax, [edx + 0x58]
mov dword [ebx + 0x3ca4], ecx
mov dword [ebx + 0x3e90], eax
mov dword [ebx + 0x3ca8], esi
movss dword [ebx + 0x3cac], xmm1
mov edx, dword [edi + 0x40d8]
test edx, edx
jle 0x41c420
mov ecx, dword [edi + 0x40e0]
mov eax, dword [ecx]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
movss xmm1, dword [eax + 0x14]
addss xmm0, xmm3
addss xmm1, xmm2
jbe 0x41c3f8
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x41c400
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x41c408
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x41c410
movaps xmm5, xmm1
add ecx, 4
sub edx, 1
jne 0x41c3d2
movss xmm2, dword [0x46e478]
mov eax, dword [edi + 0x3914]
movss xmm1, dword [edi + 0x3918]
movss dword [ebp - 0x20], xmm7
movss dword [ebp - 0x1c], xmm6
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x14], xmm5
movups xmm0, xmmword [ebp - 0x20]
mov dword [edi + 0x3cb0], eax
movups xmmword [edi + 0x3cb8], xmm0
movss xmm0, dword [edi + 0x3cb4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x41c549
movss dword [edi + 0x3cb4], xmm1
xor esi, esi
mov ebx, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x41c4f7
movss xmm1, dword [edi + 0x3cb4]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x46e4d8]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x41c4ed
mov eax, 4
jmp 0x41c4f9
cmp eax, 0x200
cmovg eax, ebx
jmp 0x41c4f9
xor eax, eax
movss xmm2, dword [0x46e478]
mov byte [edi + esi + 0x3e50], al
inc esi
cmp esi, 0x40
jl 0x41c477
movsd xmm0, qword [0x46e490]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x46e478]
cvtsd2ss xmm0, xmm0
mov ebx, dword [0x59d350]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3cb4]
divss xmm0, xmm1
movss dword [edi + 0x3e4c], xmm0
xor edx, edx
mov dword [edi + 0x3cc8], 0
cmp byte [edi + 0x3910], dl
je 0x41c56c
mov dword [edi + 0x3cc8], 1
mov edx, 1
cmp byte [edi + 0x3911], 0
mov ecx, edx
je 0x41c58e
mov eax, dword [edi + 0x3c94]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x41c58e
or ecx, 2
mov dword [edi + 0x3cc8], ecx
cmp byte [edi + 0x3912], 0
je 0x41c5a0
or ecx, 4
mov dword [edi + 0x3cc8], ecx
test byte [edi + 0xc], 8
je 0x41c5af
or ecx, 8
mov dword [edi + 0x3cc8], ecx
xor esi, esi
cmp dword [edi + 0x40d8], esi
jle 0x41c5e9
nop dword [eax]
mov eax, dword [edi + 0x40e0]
push 0x30
push 0
mov eax, dword [eax + esi*4]
mov dword [eax + 0x30], 0
sub eax, 0xffffff80
push eax
call sub.VCRUNTIME140.dll_memset
inc esi
add esp, 0xc
cmp esi, dword [edi + 0x40d8]
jl 0x41c5c0
cmp byte [edi + 0x4290], 0
je 0x41c61d
mov eax, dword [edi + 0x42a8]
cmp eax, dword [edi + 0x3f40]
jne 0x41c61d
cmp dword [ebx + 0x3f40], eax
jne 0x41c60e
mov dword [ebx + 0x3f44], eax
cmp dword [ebx + 0x3f84], eax
jne 0x41c61d
mov byte [ebx + 0x3f88], 1
cmp dword [edi + 0x3f30], 0
mov eax, dword [edi + 0x3f2c]
jne 0x41c638
mov dword [edi + 0x3f38], 0
jmp 0x41c646
mov edx, eax
test eax, eax
je 0x41c652
cmp dword [edi + 0x3f40], eax
jne 0x41c652
mov dword [edi + 0x3f3c], 0
mov edx, eax
movss xmm1, dword [edi + 0x18]
mov ecx, dword [edi + 0x3f40]
test edx, edx
je 0x41c68c
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3f38]
movss dword [edi + 0x3f38], xmm0
cmp ecx, edx
je 0x41c68c
movss xmm0, dword [edi + 0x3f3c]
addss xmm0, xmm1
movss dword [edi + 0x3f3c], xmm0
movaps xmm2, xmm1
mov al, byte [edi + 0x3f35]
mov dword [edi + 0x3f30], edx
mov edx, ecx
mov byte [edi + 0x3f36], al
mov dword [edi + 0x3f2c], 0
mov word [edi + 0x3f34], 0
mov byte [edi + 0x3f37], 0
cmp dword [edi + 0x3f44], ecx
je 0x41c6e1
cmp dword [edi + 0x3f84], ecx
jne 0x41c6e1
test ecx, ecx
je 0x41c6e1
call fcn.0041a5e0
mov edx, dword [edi + 0x3f40]
movss xmm2, dword [edi + 0x18]
test edx, edx
je 0x41c6f9
movss xmm0, dword [edi + 0x3f48]
addss xmm0, xmm2
movss dword [edi + 0x3f48], xmm0
movss xmm0, dword [edi + 0x3f94]
mov eax, dword [edi + 0x3f78]
addss xmm0, xmm2
mov dword [edi + 0x3f8c], eax
mov al, byte [edi + 0x3f50]
mov byte [edi + 0x3f89], al
mov eax, dword [edi + 0x528c]
movss dword [edi + 0x3f94], xmm0
mov dword [edi + 0x3f84], edx
mov dword [edi + 0x3f44], 0
mov byte [edi + 0x3f51], 0
mov byte [edi + 0x3f88], 0
mov byte [edi + 0x3f4c], 0
test eax, eax
je 0x41c762
cmp edx, eax
je 0x41c762
mov dword [edi + 0x528c], 0
test edx, edx
jne 0x41c782
mov dword [edi + 0x3f54], edx
xorps xmm0, xmm0
mov dword [edi + 0x3f58], edx
movups xmmword [edi + 0x3f5c], xmm0
mov dword [edi + 0x3f6c], edx
mov eax, dword [edi + 0x42f4]
mov dword [edi + 0x42f8], eax
mov dword [edi + 0x42f4], 0
mov dword [edi + 0x42f0], 0x7f7fffff
mov word [edi + 0x4291], 0
mov dword [edi + 0x4300], 0
mov ecx, dword [edi + 0x384c]
test ecx, ecx
jns 0x41c7db
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3848]
call fcn.00438130
mov dword [edi + 0x3848], 0
mov cl, byte [edi + 0x62]
call fcn.00425860
mov esi, dword [0x59d350]
cmp byte [esi + 0x37b1], 0
je 0x41c8b5
mov eax, 0x200
lea ecx, [esi + 0x8bc]
nop dword [eax + eax]
mov edx, dword [ecx]
cmp edx, 0xffffffff
je 0x41c81e
mov dword [esi + edx*4 + 0xbc], eax
inc eax
add ecx, 4
cmp eax, 0x285
jl 0x41c810
xor ecx, ecx
nop dword [eax + eax]
mov bl, byte [ecx + esi + 0xad0]
test bl, bl
jne 0x41c845
mov al, byte [esi + 0x37b1]
cmp al, 1
jne 0x41c878
mov edx, dword [esi + ecx*4 + 0xbc]
cmp edx, 0xffffffff
cmove edx, ecx
mov eax, edx
add eax, eax
mov byte [esi + eax*8 + 0xdcc], bl
cmp edx, ecx
je 0x41c86f
mov al, byte [ecx + esi + 0xad0]
mov byte [esi + edx + 0xad0], al
mov byte [esi + 0x37b1], 1
mov al, 1
inc ecx
cmp ecx, 0x200
jl 0x41c830
cmp al, 1
jne 0x41c8b5
mov al, byte [esi + 0xd74]
mov byte [esi + 0x35dc], al
mov al, byte [esi + 0xd75]
mov byte [esi + 0x35ec], al
mov al, byte [esi + 0xd76]
mov byte [esi + 0x35fc], al
mov al, byte [esi + 0xd77]
mov byte [esi + 0x360c], al
xor eax, eax
cmp byte [esi + 0xd74], al
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0xd75], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0xd76], 0
cmove edx, ecx
mov eax, edx
or eax, 8
cmp byte [esi + 0xd77], 0
cmove eax, edx
test byte [esi + 0xc], 1
mov dword [esi + 0xdc8], eax
jne 0x41c923
lea eax, [esi + 0x3468]
mov ecx, 0x18
nop dword [eax]
nop dword [eax + eax]
mov byte [eax - 0xc], 0
lea eax, [eax + 0x10]
mov dword [eax - 0x10], 0
sub ecx, 1
jne 0x41c910
movss xmm2, dword [0x46e5d0]
lea eax, [esi + 0xdd0]
mov ecx, 0x285
nop word [eax + eax]
cmp byte [eax - 4], 0
movss xmm1, dword [eax]
movss dword [eax + 4], xmm1
je 0x41c962
xorps xmm0, xmm0
comiss xmm0, xmm1
ja 0x41c965
movss xmm0, dword [esi + 0x18]
addss xmm0, xmm1
jmp 0x41c965
movaps xmm0, xmm2
movss dword [eax], xmm0
add eax, 0x10
sub ecx, 1
jne 0x41c940
call fcn.00428cd0
call fcn.0041b3c0
test byte [edi + 8], 0x40
jne 0x41c9aa
cmp dword [edi + 0x5340], 0
jg 0x41c997
cmp dword [edi + 0x534c], 0
jle 0x41ca7b
mov dl, 1
call fcn.00435240
xor ecx, ecx
call fcn.00434f30
jmp 0x41ca7b
cmp byte [edi + 0x58], 0
je 0x41c9ea
xor esi, esi
cmp dword [edi + 0x5340], esi
jle 0x41c9ea
nop word [eax + eax]
mov eax, dword [edi + 0x5348]
mov ecx, dword [eax + esi*8 + 4]
test ecx, ecx
je 0x41c9e1
cmp dword [ecx + 0x18], 0
jne 0x41c9e1
cmp dword [ecx + 0x1c], 0
je 0x41c9e1
mov ecx, dword [ecx]
call fcn.00434f30
inc esi
cmp esi, dword [edi + 0x5340]
jl 0x41c9c0
cmp byte [edi + 0x5364], 0
je 0x41ca2c
xor ecx, ecx
call fcn.0042c410
xor dl, dl
call fcn.00435240
xor ecx, ecx
call fcn.00434f30
push dword [edi + 0x5358]
mov edx, dword [edi + 0x5360]
mov ecx, edi
call fcn.0042f610
add esp, 4
mov ecx, edi
call fcn.0042f7a0
mov byte [edi + 0x5364], 0
xor esi, esi
cmp dword [edi + 0x534c], esi
jle 0x41ca7b
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x5354]
cmp dword [eax + ebx], 2
jne 0x41ca6f
mov edx, dword [eax + ebx + 0x1c]
test edx, edx
je 0x41ca60
push 1
call fcn.0042fb80
add esp, 4
jmp 0x41ca6f
mov edx, dword [eax + ebx + 0x20]
test edx, edx
je 0x41ca6f
mov ecx, edi
call fcn.0042fcc0
inc esi
add ebx, 0x24
cmp esi, dword [edi + 0x534c]
jl 0x41ca40
call fcn.0041bda0
call fcn.0041af00
mov eax, dword [0x59d350]
mov edx, dword [eax + 0x40bc]
sub edx, 1
js 0x41cabb
mov eax, dword [eax + 0x40c4]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x41cab3
test dword [ecx + 8], 0x8000000
jne 0x41cad5
sub eax, 0x24
sub edx, 1
jns 0x41caa4
cmp dword [edi + 0x4270], 0
je 0x41caf4
movss xmm0, dword [edi + 0x4280]
comiss xmm0, dword [0x46e3dc]
jbe 0x41caf4
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x46e4ec]
addss xmm1, dword [edi + 0x4288]
minss xmm1, dword [0x46e478]
jmp 0x41cb15
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x46e4fc]
movss xmm1, dword [edi + 0x4288]
subss xmm1, xmm0
maxss xmm1, dword [0x46e3dc]
movups xmm0, xmmword [edi + 0x5318]
mov dword [edi + 0x428c], 0
movss dword [edi + 0x4288], xmm1
mov dword [edi + 0x5610], 0xffffffff
mov dword [edi + 0x560c], 0xffffffff
mov dword [edi + 0x5608], 0xffffffff
movups xmmword [edi + 0x5328], xmm0
mov byte [edi + 0x5318], 0
call fcn.0041b7f0
cmp byte [edi + 0x3eb3], 0
jne 0x41cb8c
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x41cb8c
movsd xmm1, qword [edi + 0x3e98]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 4], xmm1
jmp 0x41cb94
movss xmm1, dword [0x46e5c0]
xor ebx, ebx
cmp dword [edi + 0x3ebc], ebx
je 0x41cd2d
mov eax, dword [edi + 0x3ec4]
xor ecx, ecx
mov esi, dword [eax + ebx*4]
mov al, byte [esi + 0xc3]
mov byte [esi + 0xc4], al
mov word [esi + 0xd0], cx
mov byte [esi + 0xc3], cl
mov byte [esi + 0xc5], cl
test al, al
jne 0x41cd1b
cmp byte [esi + 0x36c], cl
jne 0x41cd1b
comiss xmm1, dword [esi + 0x25c]
jbe 0x41cd1b
mov ecx, dword [esi + 0x288]
mov byte [esi + 0x36c], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x364], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x368], eax
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x41cc4d
mov eax, dword [0x59d350]
mov dword [esi + 0x100], 0
mov dword [esi + 0xfc], 0
test eax, eax
je 0x41cc39
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x104], 0
mov ecx, dword [esi + 0x288]
call fcn.0043fc50
mov ecx, dword [esi + 0x1a4]
test ecx, ecx
je 0x41cc99
mov eax, dword [0x59d350]
mov dword [esi + 0x1a0], 0
mov dword [esi + 0x19c], 0
test eax, eax
je 0x41cc85
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1a4], 0
mov ecx, dword [esi + 0x1cc]
test ecx, ecx
je 0x41ccda
mov eax, dword [0x59d350]
mov dword [esi + 0x1c8], 0
mov dword [esi + 0x1c4], 0
test eax, eax
je 0x41ccc6
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1cc], 0
mov ecx, dword [esi + 0x1d8]
test ecx, ecx
je 0x41cd1b
mov eax, dword [0x59d350]
mov dword [esi + 0x1d4], 0
mov dword [esi + 0x1d0], 0
test eax, eax
je 0x41cd07
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1d8], 0
movss xmm1, dword [ebp - 4]
inc ebx
cmp ebx, dword [edi + 0x3ebc]
jne 0x41cba2
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [edi + 0x4364], ecx
jle 0x41ce81
xor edx, edx
xorps xmm1, xmm1
mov dword [ebp - 0xc], edx
nop word [eax + eax]
mov eax, dword [edi + 0x436c]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, xmm1
jb 0x41ce68
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x41ce68
mov esi, dword [edi + 0x434c]
mov ebx, dword [0x59d350]
add esi, edx
mov dword [ebp - 0x14], ebx
mov dword [esi + 0x1a4], 0
mov eax, dword [esi + 0x1a0]
test eax, eax
je 0x41cdc9
mov dword [esi + 0x19c], 0
mov dword [esi + 0x198], 0
test ebx, ebx
je 0x41cdb5
dec dword [ebx + 0xb0]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x1a0], 0
mov byte [esi + 0x1cc], 1
mov ecx, dword [esi + 0x170]
test ecx, ecx
je 0x41ce11
mov eax, dword [0x59d350]
mov dword [esi + 0x16c], 0
mov dword [esi + 0x168], 0
test eax, eax
je 0x41cdfd
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [esi + 0x170], 0
xor edx, edx
mov byte [esi + 0x1d6], 1
cmp dword [esi + 0x54], edx
jle 0x41ce3b
xor ecx, ecx
or ebx, 0xffffffff
mov eax, dword [esi + 0x10]
lea ecx, [ecx + 0x68]
inc edx
mov word [ecx + eax - 0x18], bx
cmp edx, dword [esi + 0x54]
jl 0x41ce24
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
sub esi, dword [ebx + 0x434c]
mov eax, 0x22b63cbf
imul esi
xorps xmm1, xmm1
mov eax, dword [ebx + 0x436c]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], 0xbf800000
mov ecx, dword [ebp - 8]
inc ecx
add edx, 0x1d8
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
cmp ecx, dword [edi + 0x4364]
jl 0x41cd50
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x4338], eax
jle 0x41cee2
xor esi, esi
xorps xmm1, xmm1
nop dword [eax]
nop word [eax + eax]
mov ebx, dword [edi + 0x4340]
movss xmm0, dword [esi + ebx + 4]
comiss xmm0, xmm1
jb 0x41ced3
movss xmm2, dword [ebp - 4]
comiss xmm2, xmm0
jbe 0x41ced3
lea ecx, [ebx + 0x10]
add ecx, esi
call fcn.00442680
mov eax, dword [ebp - 0xc]
xorps xmm1, xmm1
mov dword [esi + ebx + 4], 0xbf800000
inc eax
add esi, 0x68
mov dword [ebp - 0xc], eax
cmp eax, dword [edi + 0x4338]
jl 0x41cea0
cmp byte [edi + 0x3eb3], 0
je 0x41cf7d
mov esi, dword [0x59d350]
mov eax, dword [esi + 0x40ac]
test eax, eax
je 0x41cf35
mov dword [esi + 0x40a8], 0
mov dword [esi + 0x40a4], 0
test esi, esi
je 0x41cf1d
dec dword [esi + 0xb0]
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push eax
call ebx
add esp, 4
mov dword [esi + 0x40ac], 0
jmp 0x41cf3b
mov ebx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 0x40b8]
test ecx, ecx
je 0x41cf78
mov eax, dword [0x59d350]
mov dword [esi + 0x40b4], 0
mov dword [esi + 0x40b0], 0
test eax, eax
je 0x41cf68
dec dword [eax + 0xb0]
push ecx
call ebx
add esp, 4
mov dword [esi + 0x40b8], 0
call fcn.0044cf50
mov eax, dword [edi + 0x4120]
mov byte [edi + 0x3eb3], 0
test eax, eax
je 0x41cfe1
cmp byte [eax + 0xc4], 0
jne 0x41cfe1
mov eax, dword [0x59d350]
mov edx, dword [eax + 0x3ec8]
sub edx, 1
js 0x41cfda
mov eax, dword [eax + 0x3ed0]
lea esi, [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x41cfd2
cmp byte [ecx + 0xc4], 0
je 0x41cfd2
mov eax, dword [ecx + 8]
and eax, 0x40200
cmp eax, 0x40200
jne 0x41d21b
sub esi, 4
sub edx, 1
jns 0x41cfb0
xor ecx, ecx
call fcn.00425060
mov ecx, dword [edi + 0x3ee4]
test ecx, ecx
jns 0x41d062
mov eax, ecx
xor esi, esi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x41d062
mov eax, dword [0x59d350]
test eax, eax
je 0x41d00e
inc dword [eax + 0xb0]
imul eax, esi, 0x54
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, dword [edi + 0x3ee8]
add esp, 4
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x41d056
imul ecx, dword [edi + 0x3ee0], 0x54
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x59d350]
add esp, 0xc
test eax, eax
je 0x41d049
dec dword [eax + 0xb0]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x3ee8], eax
mov dword [edi + 0x3ee4], esi
mov dword [edi + 0x3ee0], 0
mov ecx, dword [edi + 0x40cc]
test ecx, ecx
jns 0x41d092
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x40c8]
call fcn.00437d70
lea esi, [edi + 0x40a4]
mov dword [edi + 0x40c8], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41d120
mov eax, ecx
xor ebx, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg ebx, eax
cmp ebx, ecx
jle 0x41d120
mov eax, dword [0x59d350]
test eax, eax
je 0x41d0cc
inc dword [eax + 0xb0]
lea eax, [ebx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, eax
add esp, 4
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41d11a
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x59d350]
add esp, 0xc
test eax, eax
je 0x41d10b
dec dword [eax + 0xb0]
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [ebp - 0xc]
add esp, 4
mov dword [esi + 8], edx
mov dword [esi + 4], ebx
lea eax, [ebp - 0x14]
mov dword [esi], 0
push eax
mov ecx, esi
mov dword [ebp - 0x14], 0
call fcn.00437740
push 0
lea ecx, [edi + 0x40b0]
call fcn.00437b40
mov ecx, edi
call fcn.0042ec60
call fcn.004372e0
mov edx, dword [0x59d350]
lea eax, [edx + 0x3f28]
lea esi, [edx + 0x53fc]
mov dword [eax], 0
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
inc eax
cmp dword [edx + 0x3ea0], eax
jne 0x41d245
mov ebx, dword [edx + 0x3f30]
test ebx, ebx
jne 0x41d18b
mov ebx, dword [edx + 0x3f40]
cmp dword [esi + 8], ebx
je 0x41d1cc
lea eax, [esi + 0xc]
mov dword [esi + 8], ebx
mov dword [esi + 4], 0xffffffff
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x41d1c6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [esi + 0xc]
call fcn.004381b0
mov edx, dword [0x59d350]
lea eax, [esi + 0xc]
mov dword [eax], 0
test ebx, ebx
je 0x41d245
mov eax, dword [esi + 4]
test eax, eax
js 0x41d20d
mov ecx, eax
cmp eax, dword [esi + 0xc]
jge 0x41d22b
mov edx, dword [esi + 0x14]
lea ecx, [eax + eax*8]
cmp byte [edx + ecx*8 + 5], 0
mov edx, dword [0x59d350]
jne 0x41d209
mov edi, dword [esi + 0x14]
lea edx, [eax + eax*8]
mov ecx, eax
cmp byte [edi + edx*8 + 4], 2
mov edi, dword [ebp - 0x10]
mov edx, dword [0x59d350]
jle 0x41d22b
inc eax
mov dword [esi + 4], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x41d227
mov eax, dword [ebp - 0xc]
mov dword [eax], ebx
jmp 0x41d245
call fcn.00428810
mov ecx, eax
jmp 0x41cfdc
test ecx, ecx
js 0x41d245
cmp ecx, dword [esi + 0xc]
jge 0x41d245
mov eax, dword [esi + 0x14]
lea ecx, [ecx + ecx*8]
mov ebx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*8]
mov dword [ebx], eax
mov eax, dword [esi + 0x14]
inc byte [eax + ecx*8 + 4]
movaps xmm0, xmmword [str.cBER_]
mov byte [edi + 0x3eb1], 1
or dword [edx + 0x3fec], 2
xor ecx, ecx
mov dword [edx + 0x4010], 0x43c80000
mov dword [edx + 0x4014], 0x43c80000
mov dword [edx + 0x3ff4], 4
movups xmmword [ebp - 0x20], xmm0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x41d280
push 0
xor edx, edx
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
call fcn.00421ef0
xor esi, esi
add esp, 4
cmp dword [edi + 0x53a0], esi
jle 0x41d2d4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x53a8]
add eax, ebx
cmp dword [eax + 4], 1
jne 0x41d2c8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x53a0]
jl 0x41d2b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret