Function at 0x434fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ba4e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4e9688]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
push 0x4f110c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x10], 0x4f110c
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], 0
mov esi, dword [edi + 0x2c]
cmp esi, dword [edi + 0x30]
jbe 0x435037
call fcn.00492f40
mov edi, dword [edi + 0x20]
mov dword [esp + 0x14], edi
mov ebx, esi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x30]
cmp dword [eax + 0x2c], esi
jbe 0x435053
call fcn.00492f40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
test edi, edi
je 0x43505e
cmp edi, eax
je 0x435063
call fcn.00492f40
cmp ebx, esi
je 0x4351b2
test edi, edi
jne 0x4350b1
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x435080
call fcn.00492f40
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x14]
test dword [eax + 0x28], ecx
je 0x43518d
test edi, edi
jne 0x4350b5
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4350a3
call fcn.00492f40
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x4350b9
xor eax, eax
jmp 0x4350c1
mov eax, dword [edi]
jmp 0x435076
mov eax, dword [edi]
jmp 0x435099
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x4350db
mov eax, dword [ebx]
mov dword [esi], eax
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4350f5
cmp ecx, esi
jbe 0x4350e4
call fcn.00492f40
mov eax, dword [edi]
push esi
push eax
push ebx
lea ecx, [esp + 0x28]
push ecx
mov eax, edi
call fcn.00438750
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x435121
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x43510e
call fcn.00492f40
mov edx, dword [ebp + 0x10]
mov edi, dword [ebx]
mov eax, dword [edx + 0xc]
add edi, 4
test eax, eax
jne 0x435125
xor ecx, ecx
jmp 0x43512d
mov eax, dword [eax]
jmp 0x435104
mov ecx, dword [edx + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edx + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x43514a
mov eax, dword [edi]
mov ecx, dword [ebp + 0x10]
mov dword [esi], eax
add esi, 4
mov dword [ecx + 0x10], esi
jmp 0x435167
cmp eax, esi
jbe 0x435153
call fcn.00492f40
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
push esi
push eax
push edi
lea edx, [esp + 0x30]
push edx
mov eax, ecx
call fcn.00438750
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4351aa
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x435180
call fcn.00492f40
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x4351ae
call fcn.00492f40
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x4351a2
call fcn.00492f40
add ebx, 4
jmp 0x435040
mov eax, dword [eax]
jmp 0x435176
mov eax, dword [edi]
jmp 0x435198
push 0x4f110c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10