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

Disassembly:
push 0xffffffffffffffff
push 0x503228
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x6503d0]
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.00413c70
push 0x51074c
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x48], 2
call fcn.0042b500
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 0x46175e
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 0x4617ca
mov eax, dword [esp + 0x28]
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x46178f
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00485000
push ecx
push 4
push eax
call fcn.004c596d
push esi
call fcn.004a4fe3
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x4619bd
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x4619bd
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 0x46185e
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 0x4617eb
inc dword [eax + 4]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
push eax
call fcn.0045eb50
mov eax, dword [esp + 0x30]
add esp, 8
mov byte [esp + 0x3c], bl
cmp eax, ebx
je 0x461823
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push fcn.00485000
push ecx
push 4
push eax
call fcn.004c596d
push esi
call fcn.004a4fe3
add esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x4619bd
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x4619bd
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.00453860
test eax, eax
jne 0x4618d5
push 0x10
call fcn.004a4fb4
add esp, 4
cmp eax, ebx
je 0x46189c
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x109
mov dword [eax + 0xc], ebx
mov dword [eax], vtable.ExprItem_Empty.0
jmp 0x46189e
xor eax, eax
push ecx
mov edx, esp
mov dword [esp + 0x18], esp
push eax
push edx
call fcn.0040b6a0
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
add esp, 8
push eax
call fcn.004619d0
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
add esp, 8
lea esi, [esp + 0x18]
call fcn.00453860
test eax, eax
je 0x4619a3
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x461941
call fcn.004c6952
xor eax, eax
mov esi, dword [esp + 0x1c]
cmp esi, dword [eax + 0x18]
jne 0x4618f2
call fcn.004c6952
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x461945
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0040b380
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebp
cmp eax, ebx
je 0x4619bd
add dword [eax + 4], ebp
mov ecx, eax
add eax, 4
cmp dword [eax], ebx
jg 0x4619bd
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 0x4618e4
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.00461360
add esp, 0x10
test eax, eax
je 0x4619a3
lea ecx, [esp + 0x20]
call fcn.00484fa0
add eax, 4
cmp dword [eax], ebx
je 0x4619a3
lea ecx, [esp + 0x48]
call fcn.00446ce0
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push eax
lea ecx, [esp + 0x50]
call fcn.004446a0
lea ecx, [esp + 0x24]
call fcn.00484fa0
mov ecx, eax
add ecx, 4
call fcn.004446d0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], bl
call fcn.0040b380
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], ebp
call fcn.00405ca0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret