Function at 0x460510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc520
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52472c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x52702c]
mov edx, dword [eax + 0xc]
mov ecx, 0x52702c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 1
mov eax, dword [0x52702c]
mov edx, dword [eax + 0xc]
mov ecx, 0x52702c
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x38], 3
mov ecx, edi
call fcn.00460460
test al, al
je 0x460631
lea eax, [esp + 0x1c]
push eax
push edi
mov edx, 4
call fcn.00446104
mov byte [esp + 0x38], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4605ee
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4605dc
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4605dc
call fcn.00417ff2
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4605d3
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x4605ee
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.0040540f
mov esi, dword [esp + 0x14]
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460613
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4edfc4
call fcn.004b3310
add esp, 4
push eax
push 0x4edfc4
lea eax, [esp + 0x20]
call fcn.00446332
jmp 0x460684
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x460684
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x460672
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x460672
call fcn.00417ff2
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x460669
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea esi, [ebx + 0x10]
mov dword [esp + 0x14], esi
jmp 0x460684
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.0040540f
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x14]
call fcn.00460400
mov ecx, dword [esi - 0xc]
movzx eax, al
neg eax
sbb eax, eax
and eax, 2
jl 0x4606c0
cmp eax, ecx
jge 0x4606c0
lea ecx, [esi + eax*2]
push 0x5c
push ecx
call fcn.004b44fd
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x4606c2
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, ebx
jge 0x4606c5
jmp 0x4606c2
xor ebx, ebx
mov edi, dword [esi - 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
xor edx, edx
call fcn.0044613d
mov byte [esp + 0x38], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.00446332
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [edi + 1]
xor ecx, ecx
call fcn.00461350
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
jne 0x460781
push 1
mov ecx, 0x5c
lea edx, [esp + 0x20]
call fcn.0044b532
mov byte [esp + 0x38], 8
mov edx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0045e5f0
add esp, 4
mov byte [esp + 0x38], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46088a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x46088a
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov bl, 0xa
mov byte [esp + 0x38], bl
push 1
mov ecx, 0x5c
lea edx, [esp + 0x20]
call fcn.0044b532
mov byte [esp + 0x38], 0xb
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
call fcn.0045e5f0
add esp, 4
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4607e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
lea ebx, [esp + 0x18]
call fcn.0045df80
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x460824
mov ebx, dword [esp + 0x20]
jmp 0x460800
test edi, edi
jl 0x4608ea
cmp edi, eax
jge 0x4608ea
mov esi, dword [ebp + 8]
call fcn.0045df80
mov eax, dword [esp + 0x24]
inc edi
add ebx, 4
cmp edi, eax
jl 0x460800
mov byte [esp + 0x38], 3
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x460880
test eax, eax
jle 0x46086f
mov esi, ebx
mov edi, eax
lea esp, [esp]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x38], 3
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460867
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x460840
push ebx
call fcn.004b1a6a
add esp, 4
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4608af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4608d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]