Function at 0x459690
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68ed98
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
lea ebx, [edi + 0xc]
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x4596e5
mov eax, dword [ebx]
test eax, eax
je 0x4596e5
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov byte [esp + 0x38], 1
mov esi, dword [edi]
mov eax, dword [edi + 4]
cmp esi, eax
je 0x45974a
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x10]
jmp 0x459730
cmp edi, dword [esi]
jne 0x459742
push esi
lea ecx, [esp + 0x20]
call fcn.0045a5d0
mov eax, dword [esp + 0x10]
add esi, 0x18
cmp esi, dword [eax + 4]
jne 0x459730
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x459763
mov eax, dword [ebx]
test eax, eax
je 0x45975d
push eax
call esi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov edi, eax
cmp eax, dword [esp + 0x20]
je 0x45983e
mov ebx, dword [esp + 0x10]
lea esi, [ebx + 0xc]
mov dword [esp + 0x10], esi
test esi, esi
je 0x45978f
mov eax, dword [esi]
test eax, eax
je 0x45978f
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x38], 2
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp eax, ecx
je 0x459805
lea ecx, [ecx]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
test edx, edx
je 0x4597ae
cmp edx, dword [edi]
je 0x4597b7
add eax, 0x18
cmp eax, ecx
jne 0x4597a0
jmp 0x459805
push eax
call fcn.00459aa0
test al, al
je 0x4597e5
test esi, esi
je 0x4597d8
mov eax, dword [esi]
test eax, eax
je 0x4597d2
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x10], esi
push dword [esp + 0x18]
mov ecx, ebx
call fcn.00459ee0
jmp 0x459805
test esi, esi
je 0x4597fc
mov eax, dword [esi]
test eax, eax
je 0x4597f6
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor esi, esi
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x18]
call fcn.004488c0
mov byte [esp + 0x38], 1
test esi, esi
je 0x459823
mov eax, dword [esi]
test eax, eax
je 0x45981b
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x10], 0
add edi, 0x18
cmp edi, dword [esp + 0x20]
jne 0x459777
mov ebx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 0
test eax, eax
je 0x459868
push eax
call fcn.005472b4
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], 0xffffffff
test ebx, ebx
je 0x459885
mov eax, dword [ebx]
test eax, eax
je 0x45987d
push eax
call esi
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
mov esp, ebp
pop ebp
ret 4