Function at 0x465600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a19d8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], 0
mov eax, dword [0x5fcd20]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcd20
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x30], 1
mov eax, dword [ebp]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jle 0x465901
push 0x3d
push eax
call fcn.00578331
add esp, 8
test eax, eax
je 0x465901
mov ecx, dword [ebp]
sub eax, ecx
sar eax, 1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x465901
mov eax, dword [ecx - 0xc]
lea esi, [ebx + 1]
test esi, esi
mov dword [esp + 0x20], 0xffffffff
jl 0x465765
cmp esi, eax
jge 0x465765
lea eax, [ecx + esi*2]
push 0x2c
push eax
call fcn.00578331
add esp, 8
test eax, eax
je 0x465765
sub eax, dword [ebp]
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x465765
sub eax, ebx
sub eax, 1
push ebp
mov ecx, esi
lea edx, [esp + 0x28]
call fcn.00403eb0
lea edi, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.004035d0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov edx, dword [esi - 0xc]
xor eax, eax
test edx, edx
jle 0x46574c
mov edi, edi
test eax, eax
jl 0x46575b
cmp eax, edx
jg 0x46575b
movzx ecx, word [esi + eax*2]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x465765
add eax, 1
cmp eax, edx
jl 0x465730
push esi
call fcn.005796ae
add esp, 4
mov dword [esp + 0x20], eax
jmp 0x465769
push 0x80070057
call fcn.00404550
mov dword [esp + 0x1c], ebx
mov eax, ebx
lea ecx, [esp + 0x24]
mov edx, ebp
call fcn.00403560
mov byte [esp + 0x30], 3
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4657cd
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4657c0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4657c0
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4657b7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4657cd
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00404050
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4657f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
call fcn.00465590
test eax, eax
je 0x465901
lea eax, [esp + 0x14]
lea edi, [esp + 0x18]
call fcn.004035d0
push 0x1b
call fcn.00404400
mov ecx, dword [esp + 0x1c]
add ecx, 1
lea esi, [esp + 0x24]
mov edx, ebp
call fcn.00403540
mov byte [esp + 0x30], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
push ecx
call fcn.00403fc0
mov byte [esp + 0x30], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465862
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
push ecx
mov ecx, ebx
call fcn.00468e80
test eax, eax
jne 0x465901
mov esi, dword [esp + 0x18]
push esi
mov ecx, ebx
call fcn.00468e80
test eax, eax
jne 0x465898
mov edx, dword [esp + 0x20]
push edx
mov eax, esi
call fcn.00468ab0
jmp 0x46589f
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], ecx
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4658c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 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 0x4658e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov byte [esp + 0x30], 0
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 0x465926
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 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 0x46594e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret