Function at 0x5417b0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
movzx eax, word [eax]
cmp ax, 0x40
jle 0x5417e6
push 0x40
push str.at_most__d_tables_in_a_join
push ebx
call fcn.005199a0
add esp, 0xc
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x1c], 0x40
je 0x5417f3
mov eax, 1
jmp 0x5417f4
cwde
mov ecx, dword [ebx]
push esi
lea esi, [eax + eax*4]
mov dword [ebp - 8], eax
shl esi, 4
add esi, 0x3f
mov dword [ebp - 0x18], ecx
and esi, 0xfffffff8
push edi
lea edi, [esi + 0x26c]
push edi
push ecx
call fcn.00518390
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x541831
push edi
mov edi, eax
push 0
push edi
call fcn.005b9c20
add esp, 0xc
jmp 0x541834
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x1e], 0
je 0x541850
push edi
push eax
call fcn.00518300
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
push dword [ebp - 0x24]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], ebx
mov dword [edi + 0xc], eax
call fcn.0053d230
mov ecx, dword [ebp + 0x1c]
mov dword [edi + 0x18], eax
lea eax, [edi + esi]
mov esi, ebx
mov dword [edi + 0x20], eax
mov word [edi + 4], cx
mov ebx, 0
mov dword [ebp - 0xc], eax
push 0x104
movsd xmm0, qword [esi + 0x1c0]
movsd qword [edi + 0x28], xmm0
lea edi, [eax + 0x168]
mov eax, dword [ebp - 0x18]
push 0
push edi
mov dword [ebp - 0x58], edi
test byte [eax + 0xc], 0x80
cmove ebx, dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
call fcn.005b9c20
mov ecx, dword [ebp - 0xc]
add esp, 0x10
lea eax, [ecx + 0x28]
mov dword [ecx], esi
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 4], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 8
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov word [ecx + 0x16], ax
cmp dword [esi + 0x160], 0
jne 0x541926
mov eax, dword [esi]
test byte [eax + 0xc], 0x40
jne 0x541926
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x4edd30
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], esi
call fcn.005415b0
mov ecx, dword [ebp - 0xc]
add esp, 8
push 0x45
push dword [ebp + 0x10]
push ecx
call fcn.005489d0
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x541969
cmp dword [ebp - 8], 0
je 0x54194e
push eax
call fcn.0051c2c0
add esp, 4
test eax, eax
je 0x541969
mov eax, dword [ebp - 4]
push 8
push dword [eax + 0x18]
push dword [ebp + 0x10]
push esi
call fcn.0051bd10
add esp, 0x10
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 0xc]
xor eax, eax
xor esi, esi
cmp ax, word [edx]
jge 0x5419d3
mov ebx, dword [ebp - 0xc]
lea edi, [edx + 0x14]
nop dword [eax + eax]
mov ecx, dword [ebx + 0x168]
mov eax, dword [edi + 0x14]
mov dword [ebx + ecx*4 + 0x16c], eax
inc dword [ebx + 0x168]
mov eax, dword [edi]
test eax, eax
je 0x5419c2
test byte [eax + 0x22], 0x10
je 0x5419c2
xor ecx, ecx
xor edx, edx
mov eax, esi
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
or dword [ebx + 8], ecx
or dword [ebx + 0xc], edx
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
inc esi
add edi, 0x40
cmp esi, eax
jl 0x541980
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0x18]
sub esi, 1
js 0x5419f9
mov ebx, eax
push esi
push ebx
push edx
call fcn.004ee5a0
mov edx, dword [ebp + 0xc]
add esp, 0xc
sub esi, 1
jns 0x5419e0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp byte [ecx + 0x1e], 0
jne 0x542297
mov esi, dword [ebp + 8]
mov dword [ebp - 0x64], ebx
test ebx, ebx
je 0x541a33
push ebx
push eax
push edx
push esi
mov dword [ebp - 0x64], ebx
call fcn.004ffef0
mov ecx, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x541a36
mov dword [ebp - 0x64], 0
mov byte [ecx + 8], 1
jmp 0x541a36
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0x30], 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
lea ebx, [ecx + 0x38]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 8], edx
jle 0x541eac
mov esi, dword [ebp - 8]
lea ecx, [esi - 1]
mov dword [ebp - 0x6c], ecx
nop dword [eax]
movsd xmm0, qword [0x5f8ab0]
xor eax, eax
or ebx, 0xffffffff
movsd qword [ebp - 0x60], xmm0
cmp edx, ecx
mov dword [ebp - 0x2c], ebx
xorps xmm2, xmm2
mov dword [ebp - 0x4c], 0
setl al
movq qword [ebp - 0x94], xmm2
xorps xmm0, xmm0
mov dword [ebp - 0x50], eax
movlpd qword [ebp - 0x8c], xmm0
mov eax, dword [ebp - 0x88]
movups xmmword [ebp - 0xb4], xmm2
mov dword [ebp - 0x38], eax
movsd xmm1, qword [ebp - 0xac]
mov eax, dword [ebp - 0x8c]
movups xmmword [ebp - 0x84], xmm2
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0xa4], xmm2
movsd qword [ebp - 0x74], xmm1
nop
test ebx, ebx
jns 0x541d77
mov ebx, dword [ebp + 0xc]
mov eax, edx
shl eax, 6
add ebx, 8
add ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x3c], ebx
cmp edx, esi
jge 0x541d67
mov esi, dword [ebp - 4]
lea eax, [edx + edx*4]
sub esi, 0xffffff80
shl eax, 4
add eax, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x28], eax
nop word [eax + eax]
mov al, byte [ebx + 0x1c]
mov ecx, 0
and al, 0xa
setne cl
mov dword [ebp - 0x88], ecx
cmp dword [ebp - 0x14], edx
je 0x541b40
test al, al
jne 0x541d67
mov edx, dword [edi]
xor eax, eax
test edx, edx
jle 0x541b5c
mov esi, dword [ebx + 0x20]
lea ecx, [edi + 4]
nop
cmp dword [ecx], esi
je 0x541b92
inc eax
add ecx, 4
cmp eax, edx
jl 0x541b50
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
mov ecx, esi
mov eax, edi
and ecx, edx
and eax, dword [ebp - 0x1c]
or ecx, eax
jne 0x541ba9
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
mov dword [ebp - 0x40], edx
jmp 0x541d46
xor esi, esi
xor edi, edi
bts esi, eax
cmp eax, 0x20
cmovae edi, esi
xor esi, edi
cmp eax, 0x40
cmovae edi, esi
jmp 0x541b6a
cmp dword [ebp - 0x50], 0
je 0x541bb6
mov dword [ebp - 0x44], esi
mov ebx, edi
jmp 0x541bbc
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x54], 0
jne 0x541bcd
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x541bcd
mov ecx, dword [eax]
jmp 0x541bcf
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
inc eax
cmp dword [edx + 0x3c], 0
cmovne eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, edx
mov edx, dword [ebp - 0x44]
mov eax, dword [eax + 0xc]
test byte [eax + 0x22], 0x10
lea eax, [ebp - 0xdc]
je 0x541c13
push dword [ebp - 0x28]
push eax
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x3c]
push edx
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004e7010
jmp 0x541c36
push eax
xor eax, eax
cmp dword [ebp - 0x54], eax
cmove eax, dword [ebp - 0x64]
push eax
push ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x3c]
push edx
push ebx
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004e64e0
mov edx, dword [ebp - 0xdc]
add esp, 0x28
cmp dword [ebp - 0x50], 0
je 0x541c53
test edx, 0x100f3000
jne 0x541c53
or dword [ebp - 0x68], esi
or dword [ebp - 0x38], edi
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
and ecx, dword [ebp - 0x30]
and eax, dword [ebp - 0x1c]
or ecx, eax
jne 0x541d2b
mov eax, dword [ebp - 0x2c]
test eax, eax
js 0x541c96
and esi, dword [ebp - 0x68]
and edi, dword [ebp - 0x38]
or esi, edi
jne 0x541c96
test dword [ebp - 0xb4], 0x100f3000
je 0x541c96
test edx, 0x100f3000
je 0x541d2b
cmp dword [ebp - 0x4c], 0
je 0x541cae
cmp dword [ebx + 0x3c], 0
je 0x541cae
test edx, 0x100f3000
je 0x541d2b
test eax, eax
js 0x541cd6
movsd xmm0, qword [ebp - 0xc4]
movsd xmm1, qword [ebp - 0x60]
comisd xmm1, xmm0
ja 0x541cd6
movsd xmm1, qword [ebp - 0x74]
jb 0x541d30
comisd xmm1, xmmword [ebp - 0xd4]
jbe 0x541d30
movups xmm0, xmmword [ebp - 0xcc]
mov ecx, dword [ebp - 0x14]
movups xmm2, xmmword [ebp - 0xdc]
mov dword [ebp - 0x2c], ecx
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [ebp - 0xbc]
movups xmmword [ebp - 0xb4], xmm2
movsd xmm1, qword [ebp - 0xac]
movq qword [ebp - 0x94], xmm0
movsd xmm0, qword [ebp - 0x9c]
movups xmmword [ebp - 0x84], xmm2
movsd qword [ebp - 0x60], xmm0
movsd qword [ebp - 0x74], xmm1
jmp 0x541d3a
movsd xmm1, qword [ebp - 0x74]
movups xmm2, xmmword [ebp - 0x84]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x40]
jne 0x541d64
add dword [ebp - 0x28], 0x50
inc ecx
mov esi, dword [ebp - 8]
add ebx, 0x40
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x3c], ebx
cmp ecx, esi
jl 0x541b20
jmp 0x541d67
mov esi, dword [ebp - 8]
sub dword [ebp - 0x50], 1
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x58]
jns 0x541ae0
mov edi, dword [ebp - 0xb4]
test edi, 0x1000000
je 0x541d92
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x541d92
mov dword [eax], 0
test edi, 0x40000000
je 0x541da1
mov ecx, dword [ebp - 4]
mov byte [ecx + 8], 2
mov edx, dword [ebp - 0x10]
and dword [ebp - 0x34], edi
movq xmm0, qword [ebp - 0xa4]
movups xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
test edi, 0x200f0000
je 0x541dcd
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
mov dword [edx + 0x20], eax
inc dword [ecx + 0x44]
jmp 0x541dd4
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [eax + 0x168]
test edx, edx
jle 0x541e03
mov esi, dword [ebp + 0xc]
mov eax, ebx
shl eax, 6
mov esi, dword [eax + esi + 0x28]
mov eax, dword [ebp - 0xc]
add eax, 0x16c
cmp dword [eax], esi
je 0x541e77
inc ecx
add eax, 4
cmp ecx, edx
jl 0x541df7
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov esi, dword [ebp + 8]
not edx
and dword [ebp - 0x1c], edx
not eax
mov edx, dword [ebp - 0x10]
and dword [ebp - 0x30], eax
comisd xmm1, xmmword [0x5eb998]
mov byte [edx + 0x34], bl
jb 0x541e3e
mulsd xmm1, qword [esi + 0x1c0]
movsd qword [esi + 0x1c0], xmm1
mov eax, dword [ebp + 0xc]
shl ebx, 6
mov eax, dword [ebx + eax + 0x44]
test eax, eax
je 0x541e54
test edi, 0xf0000
je 0x541e8e
mov ecx, dword [ebp - 0x54]
add edx, 0x50
inc ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x54], ecx
cmp ecx, dword [ebp - 8]
jge 0x541ea3
mov edx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x6c]
jmp 0x541a70
xor eax, eax
xor edx, edx
bts eax, ecx
cmp ecx, 0x20
cmovae edx, eax
xor eax, edx
cmp ecx, 0x40
cmovae edx, eax
jmp 0x541e11
push dword [eax]
push str.cannot_use_index:__s
push esi
call fcn.005199a0
add esp, 0xc
jmp 0x54229a
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
cmp dword [esi + 0x40], 0
jne 0x54229a
mov edx, dword [ebp - 0x18]
cmp byte [edx + 0x1e], 0
jne 0x54229a
and eax, 0x4000000
mov dword [ebp - 0x34], eax
je 0x541edd
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x541eda
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
test byte [ebp + 0x1c], 4
je 0x541ef1
test eax, eax
je 0x541ef1
mov byte [ecx + 6], 1
and dword [ebx], 0xff7fffff
mov eax, dword [esi + 0x1ac]
test eax, eax
cmovne esi, eax
cmp dword [esi + 0x160], 0
jne 0x541f43
mov edi, dword [esi + 0xc]
test edi, edi
jne 0x541f2d
push dword [esi]
call fcn.00535520
mov edi, eax
add esp, 4
mov dword [esi + 0xc], edi
test edi, edi
je 0x541f43
push 0x94
push edi
call fcn.00534c80
add esp, 8
push 0
push 0
push 1
push edi
call fcn.00534d60
add esp, 0x10
inc eax
mov dword [esi + 0x160], eax
mov edx, dword [ebp - 4]
movsd xmm0, qword [0x5eb998]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
movsd qword [edx + 0x30], xmm0
test ecx, ecx
jle 0x542203
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x20]
movzx eax, byte [ecx + 0x34]
mov edi, 0xfff0bdc0
mov ebx, dword [ebp + 0xc]
movsd xmm0, qword [ecx + 8]
add ebx, 8
shl eax, 6
add ebx, eax
mov dword [ebp - 0x10], ebx
mov esi, dword [ebx + 0xc]
mov eax, dword [ebx + 0x20]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 4]
mulsd xmm0, qword [ecx + 0x30]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esi + 0x44]
test edx, edx
je 0x541fcf
mov eax, dword [ebp - 0x18]
xor edi, edi
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x541fcc
mov eax, dword [eax + 8]
add eax, 0xc
nop dword [eax]
cmp dword [eax], edx
je 0x541fcc
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x541fc0
mov ecx, dword [ebp - 4]
test byte [esi + 0x22], 2
jne 0x542016
cmp dword [esi + 0x1c], 0
jne 0x542016
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
test eax, 0x8000000
je 0x542042
mov eax, dword [esi + 0x34]
test eax, eax
je 0x541ffc
mov ecx, dword [ebp - 0x18]
cmp dword [eax], ecx
je 0x541ffc
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x541ff1
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [ebx + 0x20]
push 0x87
push dword [ebp - 0x24]
call fcn.00534e30
add esp, 0x1c
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x5420c7
push ecx
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
push dword [ebp - 0xc]
push esi
call fcn.004ebff0
add esp, 0x18
jmp 0x5421a2
test eax, 0x800000
jne 0x5420ae
test byte [ebp + 0x1c], 0x10
jne 0x5420ae
xor eax, eax
cmp byte [ecx + 6], al
setne al
add eax, 0x27
push eax
push esi
push edi
push dword [ebx + 0x20]
push dword [ebp + 8]
call fcn.00527340
mov eax, dword [ebp - 4]
add esp, 0x14
cmp byte [eax + 6], 0
jne 0x542016
cmp dword [esi + 8], 0x40
jge 0x542016
mov edx, dword [ebx + 0x30]
xor esi, esi
mov ecx, dword [ebx + 0x34]
mov eax, edx
or eax, ecx
je 0x542095
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x542088
mov ecx, dword [ebp - 0x24]
push 0xfffffffffffffff2
push esi
mov eax, dword [ecx + 0x1c]
dec eax
push eax
push ecx
call fcn.005351f0
add esp, 0x10
jmp 0x542016
push dword [esi]
push 0
push dword [esi + 0x14]
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00531070
add esp, 0x14
jmp 0x542019
test eax, 0xf0000
je 0x5421a2
mov esi, dword [ecx + 0x10]
push esi
push dword [ebp + 8]
call fcn.00524370
mov dword [ebp - 0x44], eax
add esp, 8
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x20]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x542112
push eax
call fcn.004feff0
add esp, 4
test eax, eax
je 0x54210f
mov esi, 1
jmp 0x54213d
mov eax, dword [ebp - 0x24]
inc dword [eax + 0x1c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 4]
mov ecx, dword [eax]
test ebx, ebx
je 0x542191
cmp byte [ecx + 0x1e], 0
jne 0x542191
test esi, esi
jns 0x542157
mov esi, dword [eax + 0x1c]
dec esi
lea esi, [esi + esi*4]
push dword [ebx + esi*4 + 0x10]
movsx eax, byte [ebx + esi*4 + 1]
push eax
push ecx
call fcn.004f2650
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebx + esi*4 + 0x10], 0
test eax, eax
jne 0x542186
mov dword [ebx + esi*4 + 0x10], eax
mov byte [ebx + esi*4 + 1], al
jmp 0x54219f
mov dword [ebx + esi*4 + 0x10], eax
mov byte [ebx + esi*4 + 1], 0xfa
jmp 0x54219f
push dword [ebp - 0x44]
push 0xfffffffffffffff0
push ecx
call fcn.004f2650
add esp, 0xc
mov ebx, dword [ebp - 0x10]
push edi
push dword [ebp + 8]
call fcn.00516ab0
mov eax, dword [ebp - 0xc]
add esp, 8
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x5421d2
mov esi, dword [ebx + 0x20]
add ecx, 4
cmp dword [ecx], esi
je 0x54227d
inc eax
add ecx, 4
cmp eax, edx
jl 0x5421c2
xorps xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
not ecx
not edx
and dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x20]
and dword [ebp - 0x28], edx
add ecx, 0x50
sub dword [ebp - 0x38], 1
mov dword [ebp - 0x20], ecx
jne 0x541f72
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1c]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x1e], 0
jne 0x542297
or ebx, 0xffffffff
mov dword [ebp - 0x44], 0xffffffff
xor esi, esi
test ecx, ecx
jle 0x542274
lea edi, [edx + 0x64]
nop dword [eax]
push dword [ebp + 0x1c]
movzx eax, byte [edi + 8]
push eax
push esi
lea eax, [edi - 0x2c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ee290
push dword [ebp + 0x10]
push dword [ebp - 0x44]
push ebx
push dword [ebp + 0x1c]
push esi
push dword [ebp - 4]
call fcn.004ea330
mov ecx, dword [edi]
lea edi, [edi + 0x50]
mov dword [ebp - 0x44], edx
inc esi
mov edx, dword [ebp - 4]
add esp, 0x30
mov ebx, eax
mov dword [edx + 0x14], ecx
cmp esi, dword [ebp - 8]
jl 0x542230
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x5421e0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 0x18]
movsd xmm0, qword [eax + 0x28]
movsd qword [esi + 0x1c0], xmm0
call fcn.00548930
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret