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

Disassembly:
push 0xffffffffffffffff
push 0x4f7bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.00414a80
push 0x50464c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x48], 2
call fcn.0042bd50
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
add esp, 0xc
mov byte [esp + 0x3c], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45afae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
ja 0x45b01a
mov eax, dword [esp + 0x28]
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x45afdf
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0040b800
push ecx
push 4
push eax
call fcn.004ba650
push esi
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x45b20d
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x45b20d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp eax, 1
jne 0x45b0ae
push ecx
mov ecx, dword [esp + 0x4c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], esp
cmp eax, ebx
je 0x45b03b
inc dword [eax + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call fcn.00458520
mov eax, dword [esp + 0x30]
add esp, 8
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x45b073
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.0040b800
push ecx
push 4
push eax
call fcn.004ba650
push esi
call fcn.0049b6ce
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x45b20d
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x45b20d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx]
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.0044d3d0
test eax, eax
jne 0x45b125
push 0x10
call fcn.0049b694
add esp, 4
cmp eax, ebx
je 0x45b0ec
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x109
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.ExprItem_Empty.0
jmp 0x45b0ee
xor eax, eax
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push eax
push edx
call fcn.0040bbc0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add esp, 8
push eax
call fcn.0045b220
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
add esp, 8
lea esi, [esp + 0x18]
call fcn.0044d3d0
test eax, eax
je 0x45b1f3
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x45b191
call fcn.004bb632
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x18]
jne 0x45b142
call fcn.004bb632
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x45b195
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0040b8a0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x45b20d
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x45b20d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [eax]
jmp 0x45b134
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0045abb0
add esp, 0x10
test eax, eax
je 0x45b1f3
lea ecx, [esp + 0x20]
call fcn.00441910
add eax, 4
cmp dword [eax], ebx
je 0x45b1f3
lea ecx, [esp + 0x48]
call fcn.00441960
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
lea ecx, [esp + 0x50]
call fcn.0043f360
lea ecx, [esp + 0x24]
call fcn.00441910
mov ecx, eax
add ecx, 4
call fcn.0043f390
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0040b8a0
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], ebp
call fcn.00405f20
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret