Function at 0x5ccb40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x66b89f
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 0x5ccb85
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 0x5cce19
mov edi, dword [ebx + 0x34]
cmp ecx, edi
jge 0x5cce19
cmp ecx, edx
jl 0x5ccbb3
cmp ecx, edi
jge 0x5ccbb3
mov edi, dword [ebx + 0x30]
mov ecx, dword [edi + ecx*4]
mov dword [esp + 0x10], ecx
jmp 0x5ccbb7
mov dword [esp + 0x10], edx
push ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x58], edx
mov edi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
call fcn.004a34f0
lea ecx, [esp + 0x58]
call fcn.004a34f0
mov ecx, dword [esp + 0x14]
mov edx, ecx
mov ebp, dword [ecx + 0x10]
cmp ebp, dword [edx + 0x14]
jg 0x5ccd91
test ebp, ebp
jl 0x5ccd83
mov eax, dword [ebx + 0x4c]
cmp ebp, eax
jge 0x5ccd83
test ebp, ebp
jl 0x5ccd83
cmp ebp, eax
jge 0x5ccd83
mov eax, dword [ebx + 0x48]
mov ebx, dword [eax + ebp*4]
test ebx, ebx
je 0x5ccd7f
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
cmp edi, eax
jg 0x5ccc62
jl 0x5ccd7f
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5ccc62
jl 0x5ccd7f
mov eax, dword [ecx + 8]
cmp ebp, eax
jle 0x5ccd7f
mov eax, dword [ecx + 0xc]
cmp edi, eax
jg 0x5ccd7f
jl 0x5ccc8b
mov eax, dword [ecx + 0x10]
mov edx, dword [esp + 0x38]
cmp edx, eax
jg 0x5ccd7f
cmp edx, eax
jl 0x5ccc8b
cmp ebp, dword [ecx + 0x14]
jg 0x5ccd7f
mov eax, dword [esi + 0xac]
mov ecx, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
cmp ecx, eax
je 0x5ccd38
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 + 0x34]
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
inc ebp
cmp ebp, dword [ecx + 0x14]
jle 0x5ccc05
mov eax, dword [esp + 0x58]
pop ebp
test eax, eax
je 0x5ccdcf
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x5ccdcf
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