Function at 0x5c7c50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66651f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [esp + 0x44]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp edx, edi
mov dword [esp + 0x2c], edi
jne 0x5c7c95
mov eax, dword [esp + 0x4c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 4]
cmp ecx, edi
jl 0x5c7f00
cmp ecx, dword [edx + 0x34]
jge 0x5c7f00
mov edx, dword [edx + 0x30]
push ebp
mov ebx, dword [edx + ecx*4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], edi
mov edi, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edx
call fcn.00498d40
lea ecx, [esp + 0x58]
call fcn.00498d40
mov ebp, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
cmp ebp, eax
jg 0x5c7e78
test ebp, ebp
jl 0x5c7e6a
mov eax, dword [esp + 0x54]
cmp ebp, dword [eax + 0x4c]
jge 0x5c7e6a
mov eax, dword [eax + 0x48]
mov ebx, dword [eax + ebp*4]
test ebx, ebx
je 0x5c7e6a
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
cmp edi, eax
jg 0x5c7d4d
jl 0x5c7e6a
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5c7d4d
jl 0x5c7e6a
mov eax, dword [ecx + 8]
cmp ebp, eax
jle 0x5c7e6a
mov eax, dword [ecx + 0xc]
cmp edi, eax
jg 0x5c7e6a
jl 0x5c7d76
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5c7e6a
cmp edx, eax
jl 0x5c7d76
cmp ebp, dword [ecx + 0x14]
jg 0x5c7e6a
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
cmp ecx, eax
je 0x5c7e23
lea ecx, [esp + 0x58]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.004e8c80
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00498c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 2
call fcn.00498970
lea ecx, [esp + 0x58]
call fcn.00498d40
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x5c]
fstp dword [esp + 0x18]
lea ecx, [esp + 0x20]
push edi
push ecx
mov ecx, esi
call fcn.004e7850
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x50], 4
push eax
call fcn.004e8d90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00498c80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 4
call fcn.00498970
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 2
call fcn.00498970
mov ecx, dword [edi]
mov dword [esi + 0xac], ecx
mov ax, word [esi + 0xa4]
lea edx, [esp + 0x24]
push edx
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004e7820
push eax
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.004e8bc0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], 6
call fcn.00498c80
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 2
call fcn.00498970
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
inc ebp
cmp ebp, dword [ecx + 0x14]
jle 0x5c7cfe
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x5c7eb6
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5c7eb6
lea edx, [esp + 0x54]
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call fcn.004e8c80
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 7
call fcn.00498c80
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 2
call fcn.00498970
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00498a90
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x44], 1
call fcn.00498970
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.00498970
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10