Function at 0x491f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ab6e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, ecx
xor edx, edx
test edi, edi
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], edx
mov eax, ecx
jl 0x4925bc
cmp edi, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
lea ebx, [edi*4]
add eax, ebx
mov eax, dword [eax]
cmp edx, dword [eax + 0x4c]
jge 0x4925c1
cmp edi, dword [ecx + 8]
jge 0x4925bc
mov eax, dword [ecx + 4]
add eax, ebx
mov eax, dword [eax]
add eax, 0x44
test edx, edx
jl 0x4925bc
cmp edx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
add eax, edx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4925a5
mov edi, dword [esp + 0x40]
cmp edi, dword [ecx + 8]
jge 0x4925bc
mov eax, dword [ecx + 4]
mov ebp, dword [esp + 0x14]
add eax, ebx
mov eax, dword [eax]
add eax, 0x58
cmp ebp, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, edx
mov eax, dword [eax]
mov ecx, 0x5ebd78
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x492026
test dx, dx
je 0x492022
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x492026
add eax, 4
add ecx, 4
test dx, dx
jne 0x492000
xor eax, eax
jmp 0x49202b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x492099
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x58
cmp ebp, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add ebp, ebp
add ebp, ebp
add eax, ebp
mov eax, dword [eax]
mov ecx, 0x5ebd80
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x492088
test dx, dx
je 0x492084
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x492088
add eax, 4
add ecx, 4
test dx, dx
jne 0x492062
xor eax, eax
jmp 0x49208d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4925a5
mov ebp, dword [esp + 0x14]
push ebp
call fcn.004925f0
mov ebx, eax
xor eax, eax
cmp ebx, eax
jge 0x4923a4
mov edx, dword [esi + 0x78]
xor ebx, ebx
cmp edx, eax
jle 0x492107
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
add eax, 0x6c
cmp ebp, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
lea ecx, [ebp*4]
add eax, ecx
test ebx, ebx
jl 0x4925bc
cmp ebx, edx
jge 0x4925bc
mov ecx, dword [esi + 0x74]
mov eax, dword [eax]
cmp eax, dword [ecx + ebx*4]
lea ecx, [ecx + ebx*4]
ja 0x492107
add ebx, 1
cmp ebx, edx
jl 0x4920b4
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
add eax, 8
cmp ebp, dword [eax + 8]
jge 0x4925bc
mov ebp, dword [esp + 0x14]
mov eax, dword [eax + 4]
add ebp, ebp
add ebp, ebp
push 1
add eax, ebp
push eax
push ebx
lea ecx, [esi + 0x20]
call fcn.0055d4e4
mov edi, dword [esp + 0x40]
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
lea ecx, [edi*4]
add eax, ecx
mov eax, dword [eax]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
add eax, 0x1c
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
push 1
add eax, ebp
push eax
push ebx
lea ecx, [esi + 0x34]
call fcn.0055d4e4
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 0x30
cmp edx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
push 1
add eax, ebp
push eax
push ebx
lea ecx, [esi + 0x48]
call fcn.0055d4e4
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 0x58
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
push 1
add eax, ebp
push eax
push ebx
lea ecx, [esi + 0x5c]
call fcn.0055d4e4
cmp edi, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
add eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
add eax, 0x6c
cmp edx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, ebp
mov eax, dword [eax]
push 1
push eax
push ebx
lea ecx, [esi + 0x70]
call fcn.0056602f
push 1
xor edi, edi
push edi
push ebx
lea ecx, [esi + 0x98]
call fcn.0056602f
mov dword [esp + 0x1c], vtable.CArray_class_AudioURL__class_AudioURL__.0
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x38], edi
mov eax, 1
lea edi, [esp + 0x1c]
call fcn.00492a00
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
add eax, 0x44
cmp edx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, ebp
cmp dword [esp + 0x24], 0
jle 0x4925bc
mov edi, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.00402330
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x14]
jge 0x4925bc
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
add eax, 0x80
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, ebp
lea ecx, [edi + 0xc]
push eax
call fcn.00402330
mov edx, dword [esp + 0x40]
xor eax, eax
imul edx, edx, 0x3e8
add edx, dword [esp + 0x14]
mov dword [edi + 8], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ebx
lea eax, [esi + 0x84]
mov dword [edi + 0x10], edx
call fcn.00492cf0
mov dword [esp + 0x38], 0xffffffff
mov ebp, dword [esp + 0x24]
lea ebx, [edi + 4]
jmp 0x492320
mov eax, dword [ebx + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49233f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49235d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx - 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49237c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0x20
sub ebp, 1
jne 0x492320
push edi
call fcn.0055517b
mov edi, dword [esp + 0x44]
add esp, 4
add dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
lea ecx, [esi + 0xc]
mov eax, ecx
jmp 0x491f70
mov dword [esp + 0x1c], vtable.CArray_class_AudioURL__class_AudioURL__.0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], 1
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
lea ebp, [ebx + ebx*4]
add ebp, ebp
add ebp, ebp
mov ecx, dword [eax + ebp + 8]
add eax, ebp
cmp ebx, dword [esi + 0x8c]
mov dword [esp + 0x18], ecx
jge 0x4925bc
mov edi, dword [esi + 0x88]
mov eax, ecx
add edi, ebp
add eax, 1
call fcn.00492a00
mov edx, dword [esp + 0x40]
cmp edx, dword [esi + 0x14]
jge 0x4925bc
mov eax, dword [esi + 0x10]
mov ecx, edx
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
add eax, 0x44
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add ecx, ecx
add ecx, ecx
add eax, ecx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x18]
add ecx, ebp
test edx, edx
jl 0x4925bc
cmp edx, dword [ecx + 8]
jge 0x4925bc
mov ecx, dword [ecx + 4]
mov edi, edx
shl edi, 5
add ecx, edi
push eax
call fcn.00402330
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x14]
jge 0x4925bc
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x10]
add ecx, ecx
add ecx, ecx
add eax, ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
add eax, 0x80
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add ecx, ecx
add ecx, ecx
add eax, ecx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x18]
add ecx, ebp
cmp edx, dword [ecx + 8]
jge 0x4925bc
mov ecx, dword [ecx + 4]
add ecx, edi
add ecx, 0xc
push eax
call fcn.00402330
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0x18]
add eax, ebp
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, edi
xor edx, edx
mov dword [eax + 0x14], edx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
add eax, ebp
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, edi
mov dword [eax + 0x18], edx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
add eax, ebp
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, edi
mov dword [eax + 8], edx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
add eax, ebp
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov eax, dword [eax + 4]
add eax, edi
mov dword [eax + 0x1c], edx
cmp ebx, dword [esi + 0x8c]
jge 0x4925bc
mov eax, dword [esi + 0x88]
add eax, ebp
cmp ecx, dword [eax + 8]
jge 0x4925bc
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 4]
imul ecx, ecx, 0x3e8
add ecx, dword [esp + 0x14]
add eax, edi
lea edi, [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [esp + 0x38], 0xffffffff
call fcn.00492c50
add dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x40]
lea ecx, [esi + 0xc]
mov eax, ecx
jmp 0x491f70
call fcn.00555520
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4