Function at 0x5255d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6384a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
mov eax, dword [0x7151ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
xor eax, eax
mov dword [ebp - 0x18], eax
push dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.004e4070
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [edi], 0x68a3e4
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movsd xmm1, qword [esi + 0x30]
comisd xmm0, xmm1
mov dword [ebp - 4], 0
movsd qword [edi + 0x18], xmm1
jb 0x525651
movsd xmm0, qword [0x68b000]
movsd qword [edi + 0x18], xmm0
push 8
call fcn.004e24f0
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], eax
test eax, eax
je 0x5256fa
mov eax, dword [esi + 4]
mov dword [ebp - 0x3c], 0x64d4b8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x52567a
inc dword [eax + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
mov al, byte [esi + 0xc]
mov byte [ebp - 0x30], al
mov al, byte [esi + 0xd]
mov byte [ebp - 0x2f], al
mov al, byte [esi + 0xe]
mov byte [ebp - 0x2e], al
mov al, byte [esi + 0xf]
mov byte [ebp - 0x2d], al
mov al, byte [esi + 0x10]
mov dword [ebp - 0x3c], 0x64ffd8
mov byte [ebp - 0x2c], al
movsd xmm0, qword [edi + 0x18]
mov eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x3c]
cvtpd2ps xmm0, xmm0
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
movss dword [ebp - 0x1c], xmm0
call fcn.0052bde0
mov ecx, dword [ebp + 8]
add esp, 8
movss xmm0, dword [ebp - 0x1c]
push ecx
push 0
push ecx
mov dword [ecx], 0
movss dword [esp], xmm0
push dword [eax]
call fcn.004e29d0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, ecx
jmp 0x5256ff
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0
test cl, 1
je 0x525734
and ecx, 0xfffffffe
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], 0x64d4b8
call fcn.00559b80
mov eax, dword [edi + 0xc]
mov byte [ebp - 4], 0
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x24]
sub ecx, 0x82
je 0x525752
sub ecx, 1
je 0x52574b
sub ecx, 1
xor ecx, ecx
jmp 0x525757
mov ecx, 1
jmp 0x525757
mov ecx, 2
push 0
push ecx
push ecx
push dword [eax]
call fcn.004e3c20
test eax, eax
je 0x52576c
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x20]
sub eax, 0x78
je 0x525789
sub eax, 1
je 0x52577e
sub eax, 1
je 0x525782
xor eax, eax
jmp 0x52578e
mov eax, 2
jmp 0x52578e
mov eax, 1
mov ecx, dword [edi + 0xc]
push eax
mov dword [ebp + 8], ecx
push dword [ecx]
call fcn.004e3c50
mov ecx, eax
test ecx, ecx
je 0x5257a8
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [edi + 0xc]
push 0
mov dword [ebp + 8], eax
push dword [eax]
call fcn.004e3bf0
mov ecx, eax
test ecx, ecx
je 0x5257c3
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x1c]
lea ecx, [eax - 0x64]
cmp ecx, 0xa
ja case.0x5257d2.106
jmp dword [ecx*4 + 0x525bb4]
mov esi, dword [edi + 0xc]
mov eax, 2
push eax
push dword [esi]
call fcn.004e3bf0
jmp 0x525b96
mov esi, dword [edi + 0xc]
mov eax, 1
push eax
push dword [esi]
call fcn.004e3bf0
jmp 0x525b96
mov esi, dword [edi + 0xc]
mov eax, 3
push eax
push dword [esi]
call fcn.004e3bf0
jmp 0x525b96
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + 0x2c]
mov eax, dword [eax + 0x28]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x5259df
test eax, eax
jle 0x5259df
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005ead5d
mov ecx, dword [ebp + 0xc]
add esp, 4
xor edx, edx
mov dword [ebp + 8], eax
cmp ecx, 0x10
jb 0x525917
lea edi, [ecx - 1]
dec ecx
lea edi, [eax + edi*4]
add ecx, esi
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x14]
cmp eax, ecx
ja 0x52587a
cmp dword [ebp - 0x1c], esi
jae 0x525914
mov ecx, dword [ebp + 0xc]
mov eax, ecx
and eax, 0x8000000f
jns 0x52588b
dec eax
or eax, 0xfffffff0
inc eax
mov dword [ebp - 0x10], ecx
sub dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, 0x20
nop word [eax + eax]
movd xmm0, dword [esi + edx]
lea eax, [eax + 0x40]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
cvtdq2ps xmm0, xmm0
movups xmmword [eax - 0x60], xmm0
movd xmm0, dword [esi + edx + 4]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
cvtdq2ps xmm0, xmm0
movups xmmword [eax - 0x50], xmm0
movd xmm0, dword [esi + edx + 8]
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
cvtdq2ps xmm0, xmm0
movups xmmword [eax - 0x40], xmm0
movd xmm0, dword [esi + edx + 0xc]
add edx, 0x10
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
cvtdq2ps xmm0, xmm0
movups xmmword [eax - 0x30], xmm0
cmp edx, dword [ebp - 0x10]
jl 0x5258a0
jmp 0x525917
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jge 0x5259b8
mov eax, ecx
sub eax, edx
cmp eax, 4
jl 0x525993
lea eax, [ecx - 3]
mov ecx, dword [ebp + 8]
add ecx, 8
mov dword [ebp - 0x1c], eax
mov edi, eax
lea ecx, [ecx + edx*4]
nop dword [eax]
movsx eax, byte [esi + edx]
lea ecx, [ecx + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x18], xmm0
movsx eax, byte [esi + edx + 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x14], xmm0
movsx eax, byte [esi + edx + 2]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0x10], xmm0
movsx eax, byte [esi + edx + 3]
add edx, 4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
cmp edx, edi
jl 0x525940
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp edx, ecx
jge 0x5259b8
mov edi, dword [ebp + 8]
nop word [eax + eax]
movsx eax, byte [edx + esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + edx*4], xmm0
inc edx
cmp edx, ecx
jl 0x5259a0
mov edi, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
mov esi, dword [ebp + 8]
push ecx
push esi
push dword [eax]
mov dword [ebp + 0xc], eax
call fcn.004e3bc0
mov ecx, eax
test ecx, ecx
je 0x5259d6
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], ecx
push esi
call fcn.005eaffa
add esp, 4
mov esi, dword [edi + 0xc]
mov eax, 5
push eax
push dword [esi]
call fcn.004e3bf0
jmp 0x525b96
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x28], 0x64d4b8
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x525a0b
inc dword [ecx + 4]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], 0x64e71c
mov byte [ebp - 4], 5
test ecx, ecx
je 0x525a79
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test al, al
je 0x525a79
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x525a30
xor esi, esi
jmp 0x525a33
mov esi, dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.00463f70
mov ecx, eax
call fcn.00471eb0
push eax
push esi
call fcn.005299c0
add esp, 8
mov dword [edi + 0x10], eax
push 0xc
call fcn.004e24f0
mov dword [ebp + 0xc], eax
test eax, eax
je 0x525a6b
push 0
push dword [edi + 0x10]
mov ecx, eax
call fcn.00524b70
jmp 0x525a6d
xor eax, eax
mov ecx, dword [edi + 0xc]
push eax
mov dword [edi + 0x14], eax
call fcn.0052b5f0
lea ecx, [ebp - 0x28]
call fcn.0040d120
jmp case.0x5257d2.100
cmp eax, 0x6f
jl case.0x5257d2.100
cmp eax, 0x74
jg case.0x5257d2.100
add eax, 0xffffff91
cmp eax, 5
ja case.0x525aa0.115
jmp dword [eax*4 + 0x525be0]
mov dword [ebp + 0xc], 3
jmp 0x525adb
mov dword [ebp + 0xc], 5
jmp 0x525adb
mov dword [ebp + 0xc], 2
jmp 0x525adb
mov dword [ebp + 0xc], 4
jmp 0x525adb
mov dword [ebp + 0xc], 1
jmp 0x525adb
mov dword [ebp + 0xc], 0
push 0xc
call fcn.004e24f0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x525b61
mov ecx, dword [esi + 4]
mov dword [ebp + 8], 0xffffff
mov dword [ebp - 0x3c], 0x64d4b8
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x525b04
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
mov al, byte [esi + 0xc]
mov byte [ebp - 0x30], al
mov al, byte [esi + 0xd]
mov byte [ebp - 0x2f], al
mov al, byte [esi + 0xe]
mov byte [ebp - 0x2e], al
mov al, byte [esi + 0xf]
mov byte [ebp - 0x2d], al
mov al, byte [esi + 0x10]
mov dword [ebp - 0x3c], 0x64ffd8
mov byte [ebp - 0x2c], al
mov eax, dword [ebp - 0x10]
or eax, 2
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0052bde0
mov ecx, dword [ebp - 0x1c]
add esp, 8
push eax
push dword [ebp + 0xc]
call fcn.00524ae0
jmp 0x525b63
xor eax, eax
test byte [ebp - 0x10], 2
mov dword [edi + 0x14], eax
mov dword [ebp - 4], 0
je 0x525b89
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x3c], 0x64d4b8
call fcn.00559b80
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 0xc]
push dword [eax + 4]
push dword [esi]
call fcn.004e3b90
test eax, eax
je case.0x5257d2.100
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8