Function at 0x5c79a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6664bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x48]
xor edx, edx
push esi
cmp ebx, edx
push edi
mov esi, ecx
mov dword [esp + 0x2c], edx
jne 0x5c79e5
mov eax, dword [esp + 0x4c]
mov dword [eax], edx
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, edx
jl 0x5c7c2e
cmp ecx, dword [ebx + 0x34]
jge 0x5c7c2e
mov edi, dword [ebx + 0x30]
push ebp
mov edi, dword [edi + ecx*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.00498d40
lea ecx, [esp + 0x58]
call fcn.00498d40
mov ebp, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
cmp ebp, eax
jg 0x5c7ba6
jmp 0x5c7a57
mov ebx, dword [esp + 0x54]
test ebp, ebp
jl 0x5c7b9a
cmp ebp, dword [ebx + 0x4c]
jge 0x5c7b9a
mov ecx, dword [ebx + 0x48]
mov ebx, dword [ecx + ebp*4]
test ebx, ebx
je 0x5c7b9a
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
cmp edx, eax
jg 0x5c7aa6
jl 0x5c7b9a
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5c7aa6
jl 0x5c7b9a
mov eax, dword [ecx + 8]
cmp ebp, eax
jle 0x5c7b9a
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
cmp ecx, eax
je 0x5c7b53
lea edx, [esp + 0x58]
lea eax, [esp + 0x14]
push edx
push eax
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 edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
fstp dword [esp + 0x18]
lea eax, [esp + 0x20]
push edi
push eax
mov ecx, esi
call fcn.004e7850
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov ecx, esi
mov byte [esp + 0x54], 4
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 eax, dword [edi]
mov dword [esi + 0xac], eax
mov ax, word [esi + 0xa4]
lea ecx, [esp + 0x24]
push ecx
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x30], eax
call fcn.004e7820
lea edx, [esp + 0x30]
push eax
push edx
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 + 0x2c]
mov eax, dword [edi + 0x14]
inc ebp
cmp ebp, eax
jle 0x5c7a53
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x5c7be4
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5c7be4
lea eax, [esp + 0x54]
lea ecx, [esp + 0x50]
push eax
push ecx
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 edx, [esp + 0xc]
push edx
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]
pop edi
pop esi
mov dword [eax], edx
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10