Function at 0x501c50
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x633754]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [ebp + 0x20]
movss xmm1, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0xe0], xmm0
movss xmm0, dword [ebp + 0x24]
push ebx
push esi
movss dword [ebp - 0xdc], xmm0
movss xmm0, dword [ebp + 0x2c]
comiss xmm1, xmm0
push edi
mov edi, dword [ebp + 0x34]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x74], edi
movss dword [ebp - 0xd4], xmm0
jbe 0x501cbf
movss dword [ebp - 0xd4], xmm1
mov eax, dword [ecx]
lea edx, [ebp - 0xfc]
push edx
call dword [eax + 8]
lea eax, [edi + 0x14]
push 0x21
mov ecx, eax
mov dword [ebp - 0xf4], eax
call fcn.0045dae0
add eax, 0x44
lea ecx, [ebp - 0x104]
push eax
call fcn.005205f0
lea esi, [edi + 0xe0]
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x9c], esi
call fcn.0045ff50
test eax, eax
je 0x50294d
nop
push ebx
mov ecx, esi
call fcn.005029e0
cmp dword [eax + 8], 0
jle 0x502937
movss xmm0, dword [ebp - 0xa8]
mov ecx, esi
push ebx
movss dword [ebp - 0xec], xmm0
movss dword [ebp - 0xe0], xmm0
call fcn.005029e0
push ebx
mov ecx, esi
movd xmm0, dword [eax + 8]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0xa8], xmm0
movss dword [ebp - 0xd8], xmm0
call fcn.005029e0
cmp dword [eax], 1
je 0x501e22
push ebx
mov ecx, esi
call fcn.005029e0
test dword [eax + 0xc], 0xfe000000
je 0x501dc2
cvttss2si eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x78]
mov esi, dword [esi]
not eax
and eax, 1
lea ecx, [ecx + eax*4]
add ecx, 4
call fcn.0045db30
movups xmm0, xmmword [ebp - 0xe0]
mov ecx, dword [ebp - 0x78]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [esi + 0x34]
jmp 0x501e4a
push ebx
mov ecx, esi
call fcn.005029e0
mov eax, dword [eax]
sub eax, 2
je 0x501dfb
sub eax, 1
je 0x501dec
sub eax, 3
je 0x501ddf
push 0x21
jmp 0x501dfd
push ebx
mov ecx, esi
call fcn.005029e0
mov eax, dword [eax + 4]
jmp 0x501e08
push 0x20
lea ecx, [edi + 0x14]
call fcn.0045dae0
mov eax, dword [eax + 0x30]
jmp 0x501e08
push 0x20
lea ecx, [edi + 0x14]
call fcn.0045dae0
mov eax, dword [eax + 0x34]
mov ecx, dword [ebp - 0x78]
movups xmm0, xmmword [ebp - 0xe0]
push eax
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x38]
jmp 0x501e4a
mov eax, dword [ebp - 0x78]
lea ecx, [edi + 0x14]
push 0x21
mov esi, dword [eax]
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0xe0]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x34]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [esi + 0x38]
movss xmm0, dword [ebp + 0x24]
addss xmm0, dword [ebp - 0xf8]
cvttss2si eax, xmm0
cdq
idiv dword [edi + 0x48]
mov esi, eax
mov eax, dword [ebp - 0x80]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
cvttss2si ecx, dword [ebp - 0xf8]
add eax, esi
mov dword [ebp - 0x94], eax
mov eax, dword [edi + 0x48]
push ebx
imul eax, esi
lea esi, [edi + 0xe0]
sub eax, ecx
xor cl, cl
mov dword [ebp - 0x8c], ecx
mov ecx, esi
mov dword [ebp - 0xb0], eax
call fcn.005029e0
test dword [eax + 0xc], 0xfe000000
je 0x501fb7
mov eax, dword [ebp - 0x80]
push dword [ebp - 0x94]
mov esi, dword [eax + 0x2a8]
lea ebx, [eax + 0x27c]
add esi, 4
mov dword [ebp - 0xac], ebx
mov ecx, ebx
mov edi, dword [esi]
call fcn.004382d0
push eax
push esi
call dword [edi + 0x1c]
mov edi, eax
test edi, 0x1000
je 0x501f53
push dword [ebp - 0x94]
mov ecx, ebx
call fcn.004382d0
mov esi, eax
mov eax, edi
test esi, esi
jle 0x501f22
mov ebx, dword [ebp - 0x80]
nop word [eax + eax]
test eax, 0x1000
je 0x501f1c
mov eax, dword [ebx + 0x2a8]
dec esi
add eax, 4
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test esi, esi
jg 0x501f00
mov ebx, dword [ebp - 0xac]
test eax, 0x2000
jne 0x501f53
push eax
call fcn.0044c940
push edi
mov esi, eax
call fcn.0044c940
mov ecx, dword [ebp - 0x8c]
add esp, 8
cmp eax, esi
movzx ecx, cl
mov eax, 1
cmovl ecx, eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0xa4]
cmp byte [eax + 0x1c], 0
je 0x501fa8
mov ecx, dword [ebp - 0x80]
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004382d0
mov ebx, dword [ebp - 0x80]
inc eax
push eax
mov edi, dword [ebx + 0x2a8]
lea ecx, [ebx + 0x238]
add edi, 4
mov esi, dword [edi]
call fcn.0051f220
push eax
push edi
call dword [esi + 0x14]
mov ecx, dword [ebx + 0x2a8]
push eax
mov eax, dword [ebp - 0xa4]
add eax, 0xc
push eax
call fcn.0043f150
mov esi, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x74]
push edi
push 0x1f
push 0x1a
call fcn.00502b10
push edi
push 0x1e
push 0x19
mov dword [ebp - 0xe4], eax
call fcn.00502b10
mov dword [ebp - 0xe8], eax
add esp, 0x18
mov eax, dword [ebp - 0x80]
add eax, 0x27c
mov ecx, eax
mov dword [ebp - 0x90], eax
call fcn.00438210
cmp dword [ebp - 0x94], eax
jge 0x502937
mov ebx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x94]
nop word [eax + eax]
movd xmm1, dword [ebp - 0xb0]
movss xmm0, dword [ebp + 0x1c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x50292b
mov ecx, ebx
call fcn.00438210
cmp esi, eax
jl 0x50204b
push 0x107
push 0x5baf60
push str.visibleLine___model.cs.LinesDisplayed__
call fcn.00507450
add esp, 0xc
push esi
mov ecx, ebx
call fcn.004382d0
mov edi, eax
mov ecx, ebx
push edi
mov dword [ebp - 0x6c], edi
call fcn.00438560
test al, al
jne 0x50207b
push 0x109
push str.I:Repository2wajam_dcore_stub_stub_notepad_src_scintillaMarginView.cxx
push str.model.cs.GetVisible_lineDoc_
call fcn.00507450
add esp, 0xc
push edi
mov ecx, ebx
call fcn.00438240
push edi
mov ecx, ebx
mov esi, eax
call fcn.004382a0
cmp dword [ebp - 0x94], esi
mov dword [ebp - 0xf0], eax
sete byte [ebp - 0x6d]
cmp dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x80]
push edi
sete byte [ebp - 0x95]
mov ecx, dword [eax + 0x2a8]
call fcn.0043e9c0
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x9c]
mov ebx, eax
xor eax, eax
cmp dword [ebp - 0x94], esi
mov byte [ebp - 0x79], al
cmovne ebx, eax
mov dword [ebp - 0xac], ebx
call fcn.005029e0
test dword [eax + 0xc], 0xfe000000
je 0x50232a
mov esi, dword [ebp - 0x80]
push edi
mov eax, dword [esi + 0x2a8]
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esi + 0x2a8]
add ecx, 4
mov dword [ebp - 0x88], eax
lea eax, [edi + 1]
push eax
push ecx
mov edx, dword [ecx]
mov dword [ebp - 0xa0], eax
call dword [edx + 0x1c]
push dword [ebp - 0x88]
mov esi, eax
call fcn.0044c940
push esi
mov edi, eax
call fcn.0044c940
mov ecx, dword [ebp - 0x88]
add esp, 8
test ecx, 0x2000
je 0x50227d
cmp byte [ebp - 0x6d], 0
mov esi, dword [ebp - 0x90]
je 0x50219d
cmp edi, eax
jge 0x5021af
push dword [ebp - 0x6c]
mov ecx, esi
call fcn.00438760
test al, al
je 0x502182
cmp edi, 0x400
jne 0x502177
or ebx, 0x80000000
jmp 0x5021bd
mov eax, dword [ebp - 0xe4]
bts ebx, eax
jmp 0x5021bd
cmp edi, 0x400
jne 0x502192
or ebx, 0x40000000
jmp 0x5021bd
mov eax, dword [ebp - 0xe8]
bts ebx, eax
jmp 0x5021bd
cmp edi, eax
jge 0x5021af
push dword [ebp - 0x6c]
mov ecx, esi
call fcn.00438760
test al, al
jne 0x5021b7
cmp edi, 0x400
jle 0x5021bd
or ebx, 0x20000000
push dword [ebp - 0xa0]
mov ecx, esi
mov byte [ebp - 0x8c], 0
call fcn.00438240
push eax
mov ecx, esi
call fcn.004382d0
mov esi, dword [ebp - 0x80]
push eax
mov dword [ebp - 0x88], eax
mov ecx, dword [esi + 0x2a8]
add ecx, 4
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov edx, dword [esi + 0x2a8]
mov ecx, dword [ebp - 0x88]
add edx, 4
inc ecx
mov dword [ebp - 0xa0], eax
push ecx
push edx
mov esi, dword [edx]
call dword [esi + 0x1c]
push eax
call fcn.0044c940
mov ecx, dword [ebp - 0x90]
add esp, 4
mov esi, eax
push dword [ebp - 0x6c]
call fcn.00438760
test al, al
jne 0x502327
test dword [ebp - 0xa0], 0x1000
je 0x502255
mov ecx, dword [ebp - 0x8c]
cmp edi, esi
movzx eax, cl
mov ecx, 1
cmovg eax, ecx
mov byte [ebp - 0x8c], al
mov ecx, dword [ebp - 0xa4]
push dword [ebp - 0x88]
lea ecx, [ecx + 0xc]
call fcn.00502a30
mov edi, dword [ebp - 0x6c]
test al, al
je 0x50232a
mov byte [ebp - 0x79], 1
jmp 0x50232a
test ecx, 0x1000
je 0x5022fb
cmp byte [ebp - 0x8c], 0
je 0x5022ca
test esi, 0x1000
je 0x5022a8
mov ebx, dword [ebp - 0xac]
mov eax, 0x20000000
or ebx, eax
jmp 0x502327
cmp eax, 0x400
mov byte [ebp - 0x8c], 0
mov eax, 0x8000000
jg 0x5022c0
mov eax, 0x10000000
mov ebx, dword [ebp - 0xac]
or ebx, eax
jmp 0x502327
cmp edi, 0x400
jle 0x502327
cmp eax, edi
mov edi, dword [ebp - 0x6c]
jge 0x5022f3
cmp eax, 0x400
mov ebx, 0x8000000
mov eax, 0x10000000
cmovle ebx, eax
or ebx, dword [ebp - 0xac]
jmp 0x50232a
or ebx, 0x20000000
jmp 0x50232a
cmp edi, 0x400
jle 0x502327
cmp eax, edi
jge 0x502321
mov byte [ebp - 0x8c], 0
test esi, 0x1000
je 0x502442
mov byte [ebp - 0x8c], 1
or ebx, 0x20000000
mov edi, dword [ebp - 0x6c]
push dword [ebp - 0x84]
mov ecx, dword [ebp - 0x9c]
call fcn.005029e0
movss xmm0, dword [ebp - 0xec]
mov esi, dword [ebp - 0x74]
push dword [ebp - 0x84]
and ebx, dword [eax + 0xc]
mov eax, dword [ebp - 0xb0]
mov esi, dword [esi + 0x48]
mov ecx, dword [ebp - 0x9c]
add esi, eax
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 0xa8]
movss dword [ebp - 0xb8], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xbc], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0xb4], xmm0
call fcn.005029e0
cmp dword [eax], 1
jne 0x502646
cmp byte [ebp - 0x6d], 0
je 0x50258b
push 0x64
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00546400
add esp, 0xc
test edi, edi
js 0x5023d7
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x68]
push 0x5bafd4
push eax
call fcn.00460000
add esp, 0xc
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax + 0x274]
test cl, 0xc0
je 0x502484
mov eax, dword [eax + 0x2a8]
add eax, 4
push edi
push eax
mov edx, dword [eax]
test cl, 0x40
je 0x50246f
call dword [edx + 0x1c]
mov esi, eax
mov ecx, esi
sar ecx, 0x10
push ecx
push esi
call fcn.0044c940
mov ecx, esi
add esp, 4
shr ecx, 9
and esi, 0x2000
not cl
and ecx, 8
or ecx, 0x57
neg esi
push eax
sbb esi, esi
lea eax, [ebp - 0x68]
push ecx
and esi, 0xffffffe9
add esi, 0x5f
push esi
push str._c_c__03X__03X
push eax
call fcn.00460000
add esp, 0x18
jmp 0x502484
cmp byte [ebp - 0x95], 0
je 0x502321
mov edi, dword [ebp - 0x6c]
cmp eax, 0x400
jle 0x502464
or ebx, 0x8000000
jmp 0x50232a
or ebx, 0x10000000
jmp 0x50232a
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x68]
push 0x5bb054
push eax
call fcn.00460000
add esp, 0xc
movss xmm0, dword [ebp - 0xbc]
lea ecx, [ebp - 0x68]
movss dword [ebp - 0x88], xmm0
lea edx, [ecx + 1]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0xb8]
movss dword [ebp - 0xa0], xmm0
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp - 0xb4]
movss dword [ebp - 0xc4], xmm0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5024d0
mov esi, dword [ebp - 0x78]
sub ecx, edx
push ecx
lea ecx, [ebp - 0x68]
push ecx
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x60]
call eax
mov edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x68]
movss xmm1, dword [ebp - 0xa0]
lea edx, [ecx + 1]
fstp dword [ebp - 0xac]
subss xmm1, dword [ebp - 0xac]
movd xmm0, dword [edi + 0x174]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebp - 0xd0], xmm1
mov al, byte [ecx]
inc ecx
test al, al
jne 0x502527
push 0x1ff
sub ecx, edx
lea eax, [ebp - 0x68]
push ecx
push eax
mov eax, dword [edi + 0x50]
push ecx
lea ecx, [edi + 0x14]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5b0d10]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [ebp - 0x88]
movss dword [esp], xmm0
push 0x21
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0xd0]
push eax
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
call fcn.00456f10
add esp, 0x28
jmp 0x5027e7
mov edi, dword [ebp - 0x74]
test byte [edi + 0x184], 4
je 0x5027e7
movd xmm0, dword [ebp - 0xb0]
lea ecx, [edi + 0x14]
movss xmm1, dword [ebp - 0xa8]
cvtdq2ps xmm0, xmm0
push 0x21
movss dword [ebp - 0x124], xmm0
movd xmm0, esi
mov esi, dword [ebp - 0xa4]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x11c], xmm0
movd xmm0, dword [esi + 0x20]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebp - 0xa0], xmm1
movss dword [ebp - 0x120], xmm1
call fcn.0045dae0
movss xmm0, dword [ebp - 0xa0]
lea ecx, [edi + 0x14]
mov esi, dword [esi + 0x24]
push 0x21
subss xmm0, dword [eax + 0x24]
movss dword [ebp - 0x128], xmm0
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0x128]
mov eax, dword [eax + 0x30]
push eax
push 0
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x78]
movups xmmword [eax], xmm0
test esi, esi
jne 0x50263c
call fcn.00501870
add esp, 0x1c
jmp 0x5027e7
call esi
add esp, 0x1c
jmp 0x5027e7
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x9c]
push esi
call fcn.005029e0
cmp dword [eax], 4
je 0x502672
mov ecx, dword [ebp - 0x9c]
push esi
call fcn.005029e0
cmp dword [eax], 5
jne 0x5027e4
mov esi, dword [ebp - 0x80]
lea eax, [ebp - 0x118]
push edi
push eax
mov ecx, dword [esi + 0x2a8]
call fcn.004407d0
cmp dword [ebp - 0x114], 0
je 0x5027e4
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x74]
push dword [eax + 0x140]
push eax
call fcn.00456df0
add esp, 0xc
test al, al
je 0x5027e4
cmp byte [ebp - 0x6d], 0
je 0x502785
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x118]
push 0
mov esi, dword [eax]
call fcn.0045f7b0
mov edi, dword [ebp - 0x74]
add eax, dword [edi + 0x140]
lea ecx, [edi + 0x14]
push eax
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x34]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [esi + 0x38]
push dword [ebp - 0x84]
lea ecx, [edi + 0xe0]
call fcn.005029e0
mov esi, dword [ebp - 0x78]
cmp dword [eax], 5
jne 0x502750
lea eax, [ebp - 0x118]
push eax
push dword [edi + 0x140]
push edi
push esi
call fcn.00456e50
movss xmm1, dword [ebp - 0xb8]
add esp, 0x10
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x5b0d0c]
movss dword [ebp - 0xc0], xmm1
movups xmm0, xmmword [ebp - 0xc0]
push 0x1ff
push dword [ebp - 0x118]
lea eax, [ebp - 0x118]
push 0
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x140]
movups xmmword [eax], xmm0
push edi
push esi
call fcn.00456fe0
add esp, 0x2c
jmp 0x5027e7
mov ecx, dword [esi + 0x2a8]
push edi
call fcn.00440b40
test eax, eax
je 0x5027e4
mov ecx, dword [ebp - 0xf0]
sub ecx, eax
cmp dword [ebp - 0x94], ecx
jle 0x5027e4
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x118]
push 0
mov esi, dword [eax]
call fcn.0045f7b0
mov edi, dword [ebp - 0x74]
add eax, dword [edi + 0x140]
lea ecx, [edi + 0x14]
push eax
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0xc0]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + 0x34]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [esi + 0x38]
jmp 0x5027e7
mov edi, dword [ebp - 0x74]
test ebx, ebx
je 0x5028fa
xor eax, eax
mov dword [ebp - 0x88], eax
test ebx, ebx
je 0x5028fa
test bl, 1
je 0x5028e8
push dword [ebp - 0x84]
lea ecx, [edi + 0xe0]
xor esi, esi
call fcn.005029e0
test dword [eax + 0xc], 0xfe000000
je 0x5028a8
mov edi, dword [ebp - 0xa4]
push dword [ebp - 0x6c]
add edi, 0xc
mov ecx, edi
call fcn.00502a30
test al, al
je 0x5028a5
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00502a00
test al, al
je 0x502854
mov esi, 2
jmp 0x5028a5
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00502a60
test al, al
je 0x502891
cmp byte [ebp - 0x6d], 0
je 0x502876
cmp byte [ebp - 0x79], 0
mov esi, 1
lea eax, [esi + 3]
jmp 0x5028a2
push dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x90]
call fcn.00438760
test al, al
jne 0x50284d
cmp byte [ebp - 0x79], al
jne 0x50284d
xor esi, esi
jmp 0x5028a5
push dword [ebp - 0x6c]
mov ecx, edi
call fcn.00502a80
test al, al
mov eax, 3
cmovne esi, eax
mov edi, dword [ebp - 0x74]
push dword [ebp - 0x84]
lea ecx, [edi + 0xe0]
call fcn.005029e0
lea ecx, [edi + 0x24]
push dword [eax]
lea eax, [ebp - 0x104]
push esi
push eax
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x88]
call fcn.0045daa0
mov ecx, eax
call fcn.00500260
mov eax, dword [ebp - 0x88]
inc eax
sar ebx, 1
mov dword [ebp - 0x88], eax
cmp eax, 0x20
jl 0x5027f7
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xb0]
inc esi
add eax, dword [edi + 0x48]
mov ebx, dword [ebp - 0x90]
mov ecx, ebx
mov dword [ebp - 0x94], esi
mov dword [ebp - 0xb0], eax
call fcn.00438210
cmp esi, eax
jl 0x502010
mov ebx, dword [ebp - 0x84]
lea esi, [edi + 0xe0]
inc ebx
mov ecx, esi
mov dword [ebp - 0x84], ebx
call fcn.0045ff50
cmp ebx, eax
jb 0x501d10
movss xmm0, dword [ebp + 0x24]
mov ebx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xf4]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp + 0x28]
mov esi, dword [ebx]
movss dword [ebp - 0xc8], xmm0
movss xmm0, dword [ebp + 0x2c]
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0xa8]
push 0x20
movss dword [ebp - 0xd0], xmm0
call fcn.0045dae0
movups xmm0, xmmword [ebp - 0xd0]
mov ecx, ebx
mov eax, dword [eax + 0x34]
push eax
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [esi + 0x38]
lea ecx, [ebp - 0x104]
call fcn.00520620
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052a352
mov esp, ebp
pop ebp
ret 0x30