Function at 0x61bf80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x698700
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], vtable.CMap_unsigned_int__unsigned_int__unsigned_long_int__unsigned_long_int__.0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x11
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0xa
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], eax
mov edi, dword [ebx + 0xc]
neg edi
sbb edi, edi
cmp edi, eax
je 0x61c0d3
cmp edi, 0xffffffff
mov ecx, edi
jne 0x61c006
mov esi, dword [ebx + 8]
cmp esi, eax
jbe 0x61c006
mov edx, dword [ebx + 4]
mov ecx, dword [edx]
test ecx, ecx
jne 0x61c006
inc eax
add edx, 4
cmp eax, esi
jb 0x61bff8
mov edi, dword [ecx]
test edi, edi
jne 0x61c02b
mov eax, dword [ecx + 4]
mov esi, dword [ebx + 8]
inc eax
cmp eax, esi
jae 0x61c02b
mov edx, dword [ebx + 4]
lea edx, [edx + eax*4]
mov edi, dword [edx]
test edi, edi
jne 0x61c02b
inc eax
add edx, 4
cmp eax, esi
jb 0x61c01d
mov esi, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
cmp eax, esi
je 0x61c0c9
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x28]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x61c0c5
mov ecx, dword [esp + 0x10]
push esi
call fcn.0061c240
mov ecx, dword [esp + 0x24]
mov eax, esi
shr eax, 4
xor edx, edx
div ecx
mov eax, dword [esp + 0x20]
test eax, eax
mov ebx, edx
je 0x61c087
mov eax, dword [eax + ebx*4]
test eax, eax
je 0x61c093
cmp dword [eax + 8], esi
je 0x61c081
mov eax, dword [eax]
test eax, eax
jne 0x61c074
jmp 0x61c093
test eax, eax
jne 0x61c0b6
jmp 0x61c093
push 1
push ecx
lea ecx, [esp + 0x24]
call fcn.004bf9a0
lea ecx, [esp + 0x1c]
call fcn.005f9580
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [esp + 0x20]
mov dword [ecx + ebx*4], eax
mov ebx, dword [esp + 0x48]
mov dword [eax + 0xc], ebp
mov dword [esp + 0x14], 1
mov ebp, dword [esp + 0x10]
xor eax, eax
cmp edi, eax
jne 0x61bfe7
mov edi, dword [ebx + 0xc]
neg edi
sbb edi, edi
cmp edi, eax
je 0x61c159
cmp edi, 0xffffffff
mov ecx, edi
jne 0x61c0fd
mov esi, dword [ebx + 8]
cmp esi, eax
jbe 0x61c0fd
mov edx, dword [ebx + 4]
mov ecx, dword [edx]
test ecx, ecx
jne 0x61c0fd
inc eax
add edx, 4
cmp eax, esi
jb 0x61c0ef
mov edi, dword [ecx]
test edi, edi
jne 0x61c122
mov eax, dword [ecx + 4]
mov esi, dword [ebx + 8]
inc eax
cmp eax, esi
jae 0x61c122
mov edx, dword [ebx + 4]
lea edx, [edx + eax*4]
mov edi, dword [edx]
test edi, edi
jne 0x61c122
inc eax
add edx, 4
cmp eax, esi
jb 0x61c114
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
cmp esi, eax
je 0x61c153
lea ecx, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.006105b0
test eax, eax
je 0x61c153
mov eax, dword [eax + 0xc]
mov ecx, ebp
push eax
push esi
call fcn.0061b4a0
mov dword [esp + 0x14], 1
xor eax, eax
cmp edi, eax
jne 0x61c0de
mov dword [esp + 0x1c], vtable.CMap_unsigned_int__unsigned_int__unsigned_long_int__unsigned_long_int__.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 1
call fcn.004fcbc0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4