Function at 0x460850
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dcc20
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.004607a0
test al, al
je 0x460971
lea eax, [esp + 0x1c]
push eax
push edi
mov edx, 4
call fcn.0043b3a4
mov byte [esp + 0x38], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x46092e
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x46091c
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x46091c
call fcn.00418037
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x460913
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 0x46092e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.0040541c
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 0x460953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4edf14
call fcn.004b3950
add esp, 4
push eax
push 0x4edf14
lea eax, [esp + 0x20]
call fcn.0044678f
jmp 0x4609c4
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
je 0x4609c4
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4609b2
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4609b2
call fcn.00418037
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4609a9
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 0x4609c4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea eax, [esp + 0x1c]
call fcn.0040541c
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x14]
call fcn.00460740
mov ecx, dword [esi - 0xc]
movzx eax, al
neg eax
sbb eax, eax
and eax, 2
jl 0x460a00
cmp eax, ecx
jge 0x460a00
lea ecx, [esi + eax*2]
push 0x5c
push ecx
call fcn.004b4b3d
xor ebx, ebx
add esp, 8
cmp eax, ebx
je 0x460a02
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, ebx
jge 0x460a05
jmp 0x460a02
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.0043b610
mov byte [esp + 0x38], 6
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
call fcn.0044678f
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 0x460a52
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.00461690
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
jne 0x460ac1
push 1
mov ecx, 0x5c
lea edx, [esp + 0x20]
call fcn.00439db6
mov byte [esp + 0x38], 8
mov edx, dword [ebp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0045e930
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 0x460bca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x460bca
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.00439db6
mov byte [esp + 0x38], 0xb
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
call fcn.0045e930
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 0x460b21
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.0045e2c0
mov eax, dword [esp + 0x24]
xor edi, edi
test eax, eax
jle 0x460b64
mov ebx, dword [esp + 0x20]
jmp 0x460b40
test edi, edi
jl 0x460c2a
cmp edi, eax
jge 0x460c2a
mov esi, dword [ebp + 8]
call fcn.0045e2c0
mov eax, dword [esp + 0x24]
inc edi
add ebx, 4
cmp edi, eax
jl 0x460b40
mov byte [esp + 0x38], 3
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x460bc0
test eax, eax
jle 0x460baf
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 0x460ba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
sub edi, 1
jne 0x460b80
push ebx
call fcn.004b20aa
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 0x460bef
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 0x460c17
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]