Function at 0x54dc30
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x128
mov eax, dword [0x694240]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
push 0x60
mov dword [esp + 0x34], eax
lea eax, [esp + 0xa4]
push 0
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
call fcn.00572db0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0xa0], esi
movzx eax, word [eax]
cmp ax, 0x40
jle 0x54dcbc
push 0x40
push str.at_most__d_tables_in_a_join
push esi
call fcn.004f1760
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
and ecx, 0x40
mov dword [esp + 0x5c], ecx
je 0x54dccf
mov eax, 1
jmp 0x54dcd0
cwde
mov ecx, dword [esi]
imul esi, eax, 0x58
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
add esi, 0x3f
and esi, 0xfffffff8
lea edx, [esi + 0x264]
call fcn.004ef720
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x54dd0e
lea ecx, [esi + 0x264]
push ecx
push 0
push edx
call fcn.00572db0
mov edx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
je 0x54dd35
mov ecx, eax
call fcn.004ef4c0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
call fcn.0050b690
mov ecx, dword [esp + 0xc]
push 0x104
mov dword [ecx + 0x18], eax
lea eax, [ecx + esi]
mov dword [esp + 0xa8], eax
mov dword [ecx + 0x20], eax
mov eax, dword [ebp + 0x14]
mov word [ecx + 0xa], ax
mov eax, dword [esp + 0x14]
movsd xmm0, qword [eax + 0x1b8]
lea eax, [ecx + 0x38]
movsd qword [ecx + 0x28], xmm0
mov ecx, 0
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xd8], eax
add esi, 0x160
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x58], esi
test byte [eax + 0x34], 0x20
mov eax, dword [esp + 0x24]
cmovne eax, ecx
mov dword [esp + 0x24], eax
call fcn.00572db0
mov ecx, dword [esp + 0xb0]
add esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [ecx + 0x20]
mov dword [ecx], edx
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 4], esi
mov dword [ecx + 8], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 8
mov word [ecx + 0xe], ax
cmp dword [edx + 0x15c], 0
jne 0x54de32
mov eax, dword [edx]
test byte [eax + 0x34], 8
jne 0x54de32
mov dword [esp + 0x108], edx
lea ecx, [esp + 0x100]
mov edx, edi
mov dword [esp + 0x100], 0x51fff0
mov dword [esp + 0x104], 0
call fcn.00519d50
mov ecx, dword [esp + 0xa4]
mov edx, edi
push 0x45
call fcn.00548100
add esp, 4
test edi, edi
je 0x54de72
cmp dword [esp + 0x1c], 0
je 0x54de5b
mov ecx, edi
call fcn.0051d510
test eax, eax
je 0x54de72
mov eax, dword [esp + 0xc]
mov edx, edi
mov ecx, dword [esp + 0x10]
push 8
push dword [eax + 0x18]
call fcn.00520570
add esp, 8
mov eax, dword [esp + 0x14]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax]
jge 0x54dea4
mov edi, dword [esp + 0x4c]
lea edx, [eax + 0x34]
mov ecx, dword [edi]
lea edx, [edx + 0x48]
mov eax, dword [edx - 0x48]
inc esi
mov dword [edi + ecx*4 + 4], eax
mov eax, dword [esp + 0x14]
inc dword [edi]
movsx eax, word [eax]
cmp esi, eax
jl 0x54de86
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0xa4]
mov esi, dword [edi + 0x10]
dec esi
js 0x54decc
push esi
mov edx, edi
mov ecx, eax
call fcn.00548eb0
mov eax, dword [esp + 0x18]
add esp, 4
dec esi
jns 0x54deb1
mov edi, dword [esp + 0xa4]
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x54e4a9
mov esi, dword [esp + 0x18]
test esi, esi
je 0x54df06
mov ecx, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
mov edx, edi
call fcn.005498a0
add esp, 8
test eax, eax
je 0x54df0a
mov eax, dword [esp + 0xc]
xor esi, esi
mov byte [eax + 0xe], 1
jmp 0x54df0a
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc4], esi
xor esi, esi
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0xc0], eax
mov dword [esp + 0xd0], edx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x38], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x20], ecx
test edx, edx
jle 0x54e4df
movsd xmm0, qword [0x66b6d0]
lea ecx, [edx - 1]
xorps xmm2, xmm2
movsd qword [esp + 0x50], xmm0
or eax, 0xffffffff
movdqa xmmword [esp + 0x100], xmm2
mov dword [esp + 8], eax
movdqa xmmword [esp + 0x70], xmm2
movdqa xmmword [esp + 0x80], xmm2
movq qword [esp + 0x90], xmm2
mov dword [esp + 0x44], 0
cmp esi, ecx
jne 0x54dfbb
xor ecx, ecx
mov edx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
jmp 0x54e090
lea eax, [esi + esi*8]
mov dword [esp + 0x18], esi
lea edi, [edi + eax*8]
or ecx, 0xffffffff
add edi, 8
mov dword [esp + 0x48], ecx
mov dword [esp + 0xa8], edi
cmp esi, edx
jge 0x54e07e
mov edi, edi
mov ecx, dword [esp + 0x4c]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x54dffe
mov esi, dword [edi + 0x2c]
add ecx, 4
cmp dword [ecx], esi
je 0x54e034
inc eax
add ecx, 4
cmp eax, edx
jl 0x54dff2
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
and ecx, dword [esp + 0xb8]
and edx, dword [esp + 0xbc]
mov esi, dword [esp + 0x38]
or ecx, edx
mov ecx, dword [esp + 0x18]
jne 0x54e04b
cmp ecx, esi
jne 0x54e061
inc esi
mov dword [esp + 0x38], esi
jmp 0x54e061
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 0x54e00f
cmp ecx, esi
jle 0x54e055
test byte [edi + 0x20], 0xa
jne 0x54e07a
inc dword [esp + 0x48]
jne 0x54e07a
test byte [edi + 0x20], 8
jne 0x54e07a
inc ecx
add edi, 0x48
mov dword [esp + 0x18], ecx
mov dword [esp + 0xa8], edi
cmp ecx, dword [esp + 0x1c]
jl 0x54dfe0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 8]
mov edx, ecx
mov dword [esp + 0x3c], edx
test ecx, ecx
js 0x54e342
movsd xmm1, qword [esp + 0x78]
movsd qword [esp + 0x68], xmm1
lea esp, [esp]
test eax, eax
jns 0x54e348
mov edi, dword [esp + 0x14]
lea eax, [esi + esi*8]
mov ecx, esi
mov dword [esp + 0x24], ecx
lea edi, [edi + eax*8]
add edi, 8
mov dword [esp + 0xa8], edi
cmp esi, dword [esp + 0x1c]
jge 0x54e305
mov edx, dword [esp + 0xc]
imul eax, esi, 0x58
sub edx, 0xffffff80
add eax, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
cmp ecx, esi
jle 0x54e0ee
test byte [edi + 0x20], 0xa
jne 0x54e305
mov ecx, dword [esp + 0x4c]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x54e10c
mov esi, dword [edi + 0x2c]
add ecx, 4
cmp dword [ecx], esi
je 0x54e14e
inc eax
add ecx, 4
cmp eax, edx
jl 0x54e100
xorps xmm0, xmm0
movlpd qword [esp + 0x60], xmm0
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0xb8]
and eax, dword [esp + 0xbc]
or ecx, eax
je 0x54e316
cmp dword [esp + 0x3c], 0
je 0x54e165
mov dword [esp + 0xb0], edx
mov dword [esp + 0xb4], esi
jmp 0x54e181
xor edx, edx
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
jmp 0x54e11d
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xb4], eax
cmp dword [edi + 0x44], 0
jne 0x54e18b
inc dword [esp + 0x44]
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0xa0]
test byte [eax + 0x2a], 0x10
je 0x54e1b0
mov esi, dword [esp + 0x18]
lea eax, [esi + 8]
mov dword [esp + 0xc8], eax
call fcn.0054a930
jmp 0x54e1b9
call fcn.0054b120
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x54e2c6
movsd xmm0, qword [esp + 0xf0]
movsd qword [esi], xmm0
movsd xmm0, qword [esp + 0xf0]
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
and ecx, dword [esp + 0xb8]
and eax, dword [esp + 0xbc]
or ecx, eax
mov edi, dword [esp + 0xa8]
jne 0x54e2ec
cmp dword [esp + 0x44], 0
je 0x54e224
cmp dword [edi + 0x44], 0
je 0x54e224
test dword [esp + 0xd8], 0x100f3000
je 0x54e2ec
cmp dword [esp + 8], 0
jl 0x54e265
movsd xmm2, qword [esp + 0x50]
comisd xmm2, xmm0
ja 0x54e265
comisd xmm0, xmm2
ja 0x54e2ec
mov ax, word [esp + 0xde]
cmp ax, word [esp + 0x76]
ja 0x54e265
movsd xmm1, qword [esp + 0x68]
comisd xmm1, xmmword [esp + 0xe0]
jbe 0x54e2f2
movdqu xmm0, xmmword [esp + 0xe8]
mov eax, dword [esp + 0x24]
movdqu xmm2, xmmword [esp + 0xd8]
mov dword [esp + 8], eax
movdqu xmmword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0xf8]
movdqa xmmword [esp + 0x70], xmm2
movsd xmm1, qword [esp + 0x78]
movq qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x88]
movdqa xmmword [esp + 0x100], xmm2
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x68], xmm1
jmp 0x54e2fb
cmp dword [esp + 0x48], 0
je 0x54e1d2
movsd xmm0, qword [esp + 0xf0]
divsd xmm0, qword [esi]
movsd qword [esp + 0xf0], xmm0
jmp 0x54e1db
movsd xmm1, qword [esp + 0x68]
movdqa xmm2, xmmword [esp + 0x100]
test byte [edi + 0x20], 8
je 0x54e31a
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 8]
dec edx
mov dword [esp + 0x3c], edx
jns 0x54e0a0
jmp 0x54e348
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
add edi, 0x48
add dword [esp + 0x18], 0x58
inc ecx
mov esi, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xa8], edi
cmp ecx, dword [esp + 0x1c]
jl 0x54e0e0
jmp 0x54e305
movsd xmm1, qword [esp + 0x78]
movd edi, xmm2
test edi, 0x40000000
je 0x54e35c
mov ecx, dword [esp + 0xc]
mov byte [ecx + 0xe], 2
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*8]
mov esi, dword [esp + 0x14]
movq xmm0, qword [esp + 0x80]
and dword [esp + 0x40], edi
mov dword [esp + 0x24], ecx
movdqu xmmword [edx], xmm2
movq qword [edx + 0x10], xmm0
mov eax, dword [esi + ecx*8 + 0x34]
mov dword [edx + 0x1c], eax
test edi, 0x200f0000
je 0x54e3bb
cmp word [esp + 0x5c], 0
je 0x54e3a8
test edi, 0x20000000
jne 0x54e3a8
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x20], eax
jmp 0x54e3c2
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x48]
mov dword [edx + 0x20], eax
inc dword [esi + 0x48]
mov esi, dword [esp + 0x14]
jmp 0x54e3c2
mov dword [edx + 0x20], 0xffffffff
mov edx, dword [esp + 0x4c]
xor eax, eax
mov edx, dword [edx]
test edx, edx
jle 0x54e3f0
mov esi, dword [esi + ecx*8 + 0x34]
mov ecx, dword [esp + 0x4c]
add ecx, 4
lea esp, [esp]
cmp dword [ecx], esi
je 0x54e47f
inc eax
add ecx, 4
cmp eax, edx
jl 0x54e3e0
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 8]
not ecx
and dword [esp + 0xb8], ecx
not edx
mov ecx, dword [esp + 0x20]
and dword [esp + 0xbc], edx
comisd xmm1, xmmword [0x66b5f0]
mov edx, dword [esp + 0x10]
mov byte [ecx + 0x34], al
jb 0x54e43c
mulsd xmm1, qword [edx + 0x1b8]
movsd qword [edx + 0x1b8], xmm1
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + eax*8 + 0x4c]
test eax, eax
je 0x54e454
test edi, 0xf0000
je 0x54e499
mov eax, dword [esp + 0xcc]
add ecx, 0x58
mov edx, dword [esp + 0x1c]
inc eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x20], ecx
cmp eax, edx
jge 0x54e4df
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
jmp 0x54df62
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 0x54e401
push dword [eax]
push str.cannot_use_index:__s
push edx
call fcn.004f1760
add esp, 0xc
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, edi
movsd xmm0, qword [edi + 0x28]
mov ecx, dword [esp + 0x28]
movsd qword [eax + 0x1b8], xmm0
call fcn.0054db80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.005712ac
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x44], 0
jne 0x54e4a9
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x54e4a9
mov edi, dword [esp + 0xc]
test edx, edx
je 0x54e501
mov ax, word [ecx - 0x52]
jmp 0x54e503
xor eax, eax
mov word [edi + 8], ax
mov eax, dword [esp + 0x40]
and eax, 0x2000000
mov dword [esp + 0x40], eax
je 0x54e529
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x54e529
mov ax, word [ecx]
mov word [edi + 8], ax
mov eax, dword [esp + 0x40]
test byte [ebp + 0x14], 4
je 0x54e53e
test eax, eax
je 0x54e53e
mov byte [edi + 0xc], 1
and dword [edi + 0x38], 0xffbfffff
or edx, 0xffffffff
mov ecx, esi
call fcn.005295f0
movsd xmm0, qword [0x66b5f0]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
movsd qword [edi + 0x30], xmm0
test ecx, ecx
jle 0x54e802
mov dword [esp + 0x2c], ecx
lea edx, [edi + 0x38]
jmp 0x54e580
movzx eax, byte [edx + 0x34]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [edx + 8]
mulsd xmm0, qword [edi + 0x30]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
mov esi, dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov dword [esp + 8], eax
movsd qword [edi + 0x30], xmm0
mov edi, 0xfff0bdc0
mov edx, dword [esi + 0x40]
test edx, edx
je 0x54e5d3
mov eax, dword [esp + 0x28]
xor edi, edi
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x54e5d3
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], edx
je 0x54e5d3
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x54e5c7
mov cl, byte [esi + 0x2a]
test cl, 2
jne 0x54e6c9
cmp dword [esi + 0xc], 0
jne 0x54e6c9
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test eax, 0x8000000
je 0x54e630
mov eax, dword [esi + 0x38]
test eax, eax
je 0x54e60c
mov ecx, dword [esp + 0x28]
cmp dword [eax], ecx
je 0x54e60c
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x54e601
mov esi, dword [esp + 8]
mov edx, 0x87
mov ecx, dword [esp + 0x30]
push 0xfffffffffffffff6
push eax
push 0
push 0
push dword [esi + 0x2c]
call fcn.0050b500
add esp, 0x14
jmp 0x54e6cd
test cl, 0x10
jne 0x54e6c9
test eax, 0x400000
jne 0x54e6b4
test byte [ebp + 0x14], 0x10
jne 0x54e6b4
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp byte [ecx + 0xc], al
mov ecx, dword [esp + 0x10]
setne al
add eax, 0x27
push eax
mov eax, dword [esp + 0xc]
push esi
push edi
mov edx, dword [eax + 0x2c]
call fcn.00530d40
mov eax, dword [esp + 0x18]
add esp, 0xc
cmp byte [eax + 0xc], 0
jne 0x54e6c9
cmp word [esi + 0x26], 0x40
jge 0x54e6c9
mov eax, dword [esp + 8]
xor esi, esi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x54e69d
mov edi, edi
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x54e690
mov eax, dword [esp + 0x30]
mov ecx, eax
push 0xfffffffffffffff2
push esi
mov edx, dword [eax + 0x1c]
dec edx
call fcn.0050ba40
add esp, 8
jmp 0x54e6c9
push dword [esi]
mov ecx, dword [esp + 0x14]
mov edx, edi
push 0
push dword [esi + 0x20]
call fcn.00524950
add esp, 0xc
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test eax, 0x20000000
je 0x54e6fc
mov edx, dword [esp + 0xa4]
push ecx
push dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
push esi
call fcn.00549e90
add esp, 0x10
jmp 0x54e791
test eax, 0xf0000
je 0x54e791
mov esi, dword [ecx + 0x10]
mov edx, esi
mov ecx, dword [esp + 0x10]
call fcn.00529c20
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x1c]
cmp dword [eax + 0x20], esi
jg 0x54e74d
mov ecx, eax
call fcn.0050b2f0
test eax, eax
je 0x54e749
mov esi, 1
jmp 0x54e77d
mov eax, dword [esp + 0x30]
inc dword [eax + 0x1c]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x30]
mov edx, esi
push 0xfffffffffffffff0
push dword [esp + 0x1c]
call fcn.0050ba40
add esp, 8
mov ecx, dword [esp + 0x10]
mov edx, edi
call fcn.005295f0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 4]
xor eax, eax
mov edx, dword [ecx]
test edx, edx
jle 0x54e7c8
mov esi, dword [esp + 8]
add ecx, 4
mov esi, dword [esi + 0x2c]
cmp dword [ecx], esi
je 0x54e899
inc eax
add ecx, 4
cmp eax, edx
jl 0x54e7b8
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
not edx
and dword [esp + 0x24], edx
not ecx
mov edx, dword [esp + 0x34]
and dword [esp + 0x20], ecx
add edx, 0x58
dec dword [esp + 0x2c]
mov dword [esp + 0x34], edx
jne 0x54e580
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x38], 0
jne 0x54e4ad
xor esi, esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
test ecx, ecx
jle 0x54e883
add edi, 0x64
push dword [ebp + 0x14]
movzx eax, byte [edi + 8]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
lea eax, [edi - 0x2c]
push esi
push eax
call fcn.0054c3f0
push dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x40]
push dword [ebp + 0x14]
call fcn.0054c640
mov ecx, dword [edi]
lea edi, [edi + 0x58]
mov dword [esp + 0x48], eax
inc esi
mov eax, dword [esp + 0x28]
add esp, 0x1c
mov dword [esp + 0x20], edx
mov dword [eax + 0x14], ecx
cmp esi, dword [esp + 0x1c]
jl 0x54e833
mov edi, eax
mov ecx, dword [esp + 0x12c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.005712ac
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 0x54e7d9