Function at 0x5cc870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b83f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [esp + 0x50]
xor edx, edx
mov esi, ecx
cmp edi, edx
mov dword [esp + 0x2c], edx
jne 0x5cc8b5
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 0x5ccb20
mov ebx, dword [edi + 0x34]
cmp ecx, ebx
jge 0x5ccb20
cmp ecx, edx
jl 0x5cc8e3
cmp ecx, ebx
jge 0x5cc8e3
mov ebx, dword [edi + 0x30]
mov ecx, dword [ebx + ecx*4]
mov dword [esp + 0x10], ecx
jmp 0x5cc8e7
mov dword [esp + 0x10], edx
push ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], edx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
mov dword [esp + 0x3c], edx
call fcn.004a34f0
lea ecx, [esp + 0x58]
call fcn.004a34f0
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
cmp ebp, ecx
jg 0x5cca98
test ebp, ebp
jl 0x5cca8a
mov eax, dword [edi + 0x4c]
cmp ebp, eax
jge 0x5cca8a
test ebp, ebp
jl 0x5cca8a
cmp ebp, eax
jge 0x5cca8a
mov eax, dword [edi + 0x48]
mov ebx, dword [eax + ebp*4]
test ebx, ebx
je 0x5cca8a
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx]
cmp edx, eax
jg 0x5cc996
jl 0x5cca8a
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5cc996
jl 0x5cca8a
mov eax, dword [ecx + 8]
cmp ebp, eax
jle 0x5cca8a
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
cmp ecx, eax
je 0x5cca43
lea ecx, [esp + 0x58]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.004ea6b0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 3
call fcn.00499d70
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call fcn.00499a60
lea ecx, [esp + 0x58]
call fcn.004a34f0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
fstp dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push edi
push ecx
mov ecx, esi
call fcn.004e9230
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x50], 4
push eax
call fcn.004ea7c0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 5
call fcn.00499d70
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 4
call fcn.00499a60
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 2
call fcn.00499a60
mov ecx, dword [edi]
mov dword [esi + 0xac], ecx
mov ax, word [esi + 0xa4]
lea edx, [esp + 0x28]
push edx
push ebx
push edi
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.004e9200
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.004ea5f0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4c], 6
call fcn.00499d70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 2
call fcn.00499a60
mov edi, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
inc ebp
cmp ebp, dword [ecx + 0x14]
jle 0x5cc935
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x5ccad6
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5ccad6
lea edx, [esp + 0x54]
lea eax, [esp + 0x50]
push edx
push eax
mov ecx, esi
call fcn.004ea6b0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 7
call fcn.00499d70
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 2
call fcn.00499a60
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00499b80
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], 1
mov byte [esp + 0x44], 1
call fcn.00499a60
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call fcn.00499a60
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