Function at 0x24bbd010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x24bc4458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebp
push esi
mov ebp, ecx
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
call fcn.24ba4ed0
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
mov edi, dword [eax]
cmp edi, esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], edi
jne 0x24bbd0a1
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.24ba4f00
pop edi
pop esi
mov eax, 0xb
pop ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
mov edx, dword [edi + 0x28]
xor ecx, ecx
cmp edx, 0x1b
setne cl
push ebx
dec ecx
and ecx, 8
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov eax, ecx
dec eax
je 0x24bbd0c8
dec eax
je 0x24bbd135
dec eax
jne 0x24bbd2e1
xor eax, eax
cmp ecx, 1
setne al
xor ebx, ebx
add eax, 5
cmp ax, si
mov dword [esp + 0x5c], eax
jbe 0x24bbd239
cmp bx, 5
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x14]
push 4
jne 0x24bbd1f7
lea edx, [esp + 0x1c]
push edx
push 0xa9
push eax
call fcn.24ba5750
and eax, 0xfffffffe
test ax, ax
jne 0x24bbd22d
cmp dword [esp + 0x14], esi
je 0x24bbd22d
mov eax, dword [esp + 0x18]
inc eax
mov dword [ebp + 0x58], 1
mov dword [esp + 0x18], eax
jmp 0x24bbd22d
mov edi, dword [edi + 0xc]
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x1c]
push eax
push 0xa9
push edi
lea ecx, [esp + 0x24]
call fcn.24ba5750
and eax, 0xfffffffe
test ax, ax
jne 0x24bbd1e9
cmp dword [esp + 0x14], esi
je 0x24bbd1e9
mov edi, dword [esp + 0x58]
mov eax, 1
mov dword [ebp + 0x58], eax
mov ecx, dword [edi]
push 4
mov dword [ecx + 4], eax
call sub.MSVCR71.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [edi]
mov dword [edx + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
cmp ecx, esi
jne 0x24bbd1bd
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.24ba4f00
pop ebx
pop edi
pop esi
mov eax, 0xa
pop ebp
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x64]
push eax
push edi
mov ecx, ebp
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 5
call fcn.24bbcc00
mov dword [esp + 0x1c], eax
jmp 0x24bbd2e1
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov dword [edx + 4], esi
jmp 0x24bbd2e1
movzx esi, bx
lea edi, [esp + esi*4 + 0x34]
push edi
lea edx, [ebx + 0x30]
push edx
push eax
call fcn.24ba5750
and eax, 0xfffffffe
test ax, ax
jne 0x24bbd227
cmp dword [edi], 0
je 0x24bbd227
mov eax, dword [esp + 0x18]
inc eax
mov dword [ebp + esi*4 + 0x44], 1
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x28]
xor esi, esi
inc ebx
cmp bx, word [esp + 0x5c]
jb 0x24bbd0e2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi]
add ecx, eax
mov dword [edx + 4], ecx
mov eax, dword [edi]
mov ecx, dword [eax + 4]
shl ecx, 2
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [edi]
mov dword [edx + 8], eax
mov eax, dword [edi]
mov ecx, dword [eax + 8]
add esp, 4
cmp ecx, esi
je 0x24bbd192
xor ebx, ebx
cmp word [esp + 0x5c], bx
jbe 0x24bbd2bb
jmp 0x24bbd280
movzx eax, bx
mov ecx, dword [ebp + eax*4 + 0x44]
test ecx, ecx
je 0x24bbd2b3
mov ecx, dword [esp + eax*4 + 0x2c]
push ecx
lea edx, [esp + 0x5c]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x64], esi
push edi
mov ecx, ebp
inc esi
call fcn.24bbcc00
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x24bbd2bb
inc ebx
cmp bx, word [esp + 0x5c]
jb 0x24bbd280
mov eax, dword [esp + 0x24]
xor ebx, ebx
test eax, eax
jle 0x24bbd2e1
push esi
push ebx
push edi
mov ecx, ebp
call fcn.24bbcd20
inc esi
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x24bbd2e1
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x24bbd2c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0xffffffff
call fcn.24ba4f00
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x1c]
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x44
ret 8