Function at 0x414d20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43b5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4491fc]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x84]
mov ebx, ecx
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
sub esi, dword [eax]
sub edi, dword [eax + 4]
push ebx
call dword [0x43e044]
push edi
push esi
push ebx
mov dword [esp + 0x24], eax
call dword [0x43e048]
mov ebx, dword [esp + 0x18]
push eax
push ebx
mov dword [esp + 0x24], eax
call dword [0x43e040]
lea eax, [esp + 0x8c]
push eax
push ebx
mov dword [esp + 0x94], 0
call fcn.004372ee
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], eax
push 2
xor ebx, ebx
push eax
mov dword [esp + 0x84], ebx
call fcn.00437312
cmp eax, ebx
je 0x414dc7
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x7c], 1
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebx
cmp ebp, 3
ja 0x414f04
jmp dword [ebp*4 + 0x41448c]
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x84], eax
test ecx, ecx
je 0x414f31
mov eax, dword [ecx + 4]
lea edx, [esp + 0x84]
push edx
push eax
call fcn.004372d0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], eax
push 2
push eax
mov byte [esp + 0x84], 6
call fcn.00437312
test eax, eax
je 0x414f4d
mov dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x88]
mov edi, dword [ebx + 0x10]
cmp dword [ebx + 0xc], edi
jbe 0x414f61
call fcn.0042694c
mov esi, dword [ebx]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
test esi, esi
jne 0x414f86
call fcn.0042694c
xor eax, eax
lea ecx, [edi - 0x18]
cmp ecx, dword [eax + 0x10]
ja 0x414f91
test esi, esi
je 0x414f8a
mov esi, dword [esi]
jmp 0x414f8c
mov eax, dword [esi]
jmp 0x414f76
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x414f96
call fcn.0042694c
lea ebp, [edi - 0x18]
mov edi, dword [ebx + 0xc]
cmp edi, dword [ebx + 0x10]
jbe 0x414fa6
call fcn.0042694c
mov esi, dword [ebx]
mov dword [esp + 0x54], edi
test esi, esi
jne 0x414fc7
call fcn.0042694c
xor eax, eax
add edi, 0x18
cmp edi, dword [eax + 0x10]
ja 0x414fd2
test esi, esi
je 0x414fcb
mov eax, dword [esi]
jmp 0x414fcd
mov eax, dword [esi]
jmp 0x414fb7
xor eax, eax
cmp edi, dword [eax + 0xc]
jae 0x414fd7
call fcn.0042694c
mov ecx, dword [esp + 0x38]
mov eax, 0x19
push eax
lea eax, [esp + 0x2c]
push eax
push ebp
push ecx
push edi
push esi
lea ebx, [esp + 0x68]
call fcn.004153e0
mov eax, dword [esp + 0x38]
add esp, 0x18
test eax, eax
je 0x415003
mov eax, dword [eax + 4]
jmp 0x415005
xor eax, eax
mov edi, dword [esp + 0x8c]
push 3
lea edx, [esp + 0x5c]
push edx
push eax
push edi
call fcn.00437318
test eax, eax
je 0x415022
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [0x43e03c]
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004372ca
mov byte [esp + 0x7c], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x41506d
lea edx, [esi + 8]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x41506d
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x41506d
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
push edi
call fcn.004372ca
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret