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

Disassembly:
push 0xffffffffffffffff
push 0x59d8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov dword [esp + 8], ecx
push esi
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x38]
call fcn.00474660
mov esi, dword [edi]
mov ecx, dword [0x618718]
mov ebx, edi
lea ebp, [edi + 8]
cmp esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
jne 0x474bcb
mov esi, dword [ebp]
jmp 0x474bf0
mov eax, dword [ebp]
cmp eax, ecx
je 0x474bf0
mov ebx, eax
mov eax, dword [ebx]
cmp eax, ecx
je 0x474be2
mov ebx, eax
mov eax, dword [ebx]
cmp eax, ecx
jne 0x474bda
mov esi, dword [ebx + 8]
lea eax, [ebx + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
call fcn.00557be6
cmp ebx, edi
je 0x474c68
mov eax, dword [edi]
mov dword [eax + 4], ebx
mov ecx, dword [edi]
mov dword [ebx], ecx
mov eax, dword [ebp]
cmp ebx, eax
jne 0x474c12
mov dword [esi + 4], ebx
jmp 0x474c2c
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esi + 4], edx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov eax, dword [ebp]
mov dword [ecx], eax
mov edx, dword [ebp]
mov dword [edx + 4], ebx
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
cmp dword [eax + 4], edi
jne 0x474c3d
mov dword [eax + 4], ebx
jmp 0x474c4b
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x474c48
mov dword [eax], ebx
jmp 0x474c4b
mov dword [eax + 8], ebx
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
mov edx, dword [edi + 0x1c]
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], edx
mov ebx, edi
mov dword [edi + 0x1c], eax
mov dword [esp + 0x14], ebx
jmp 0x474cf7
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
cmp dword [eax + 4], edi
jne 0x474c7f
mov dword [eax + 4], esi
jmp 0x474c8d
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x474c8a
mov dword [eax], esi
jmp 0x474c8d
mov dword [eax + 8], esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
cmp dword [eax], edi
jne 0x474cc6
mov edx, dword [0x618718]
cmp dword [ebp], edx
jne 0x474caa
mov edx, dword [edi + 4]
mov dword [eax], edx
jmp 0x474cc6
mov ebp, dword [esi]
mov ecx, esi
cmp ebp, edx
je 0x474cc0
mov eax, ebp
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x474cb4
mov eax, dword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 4]
cmp dword [ebp + 8], edi
jne 0x474cf7
mov edx, dword [0x618718]
mov eax, dword [edi]
cmp eax, edx
jne 0x474ce2
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
jmp 0x474cf7
mov eax, dword [esi + 8]
mov ecx, esi
cmp eax, edx
je 0x474cf4
mov ecx, eax
mov eax, dword [ecx + 8]
cmp eax, edx
jne 0x474ceb
mov dword [ebp + 8], ecx
mov eax, dword [ebx + 0x1c]
mov ebp, 1
xor edi, edi
cmp eax, ebp
jne 0x474f8f
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
cmp esi, dword [edx + 4]
je 0x474f8c
cmp dword [esi + 0x1c], ebp
jne 0x474f8c
mov eax, dword [esi + 4]
cmp esi, dword [eax]
jne 0x474d9b
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], edi
jne 0x474d82
mov dword [eax + 0x1c], ebp
mov eax, dword [esi + 4]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x618718]
je 0x474d52
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474d69
mov dword [edx + 4], ecx
jmp 0x474d77
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x474d74
mov dword [edx], ecx
jmp 0x474d77
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], ebp
jne 0x474e26
mov edx, dword [eax + 8]
cmp dword [edx + 0x1c], ebp
jne 0x474e26
jmp 0x474e0b
mov eax, dword [eax]
cmp dword [eax + 0x1c], edi
jne 0x474df4
mov dword [eax + 0x1c], ebp
mov eax, dword [esi + 4]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x618718]
je 0x474dc3
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474dda
mov dword [edx + 4], ecx
jmp 0x474de9
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x474de7
mov dword [edx + 8], ecx
jmp 0x474de9
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
cmp dword [ecx + 0x1c], ebp
jne 0x474ee0
mov edx, dword [eax]
cmp dword [edx + 0x1c], ebp
jne 0x474ee0
mov dword [eax + 0x1c], edi
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov ecx, dword [eax + 4]
cmp esi, dword [ecx + 4]
jne 0x474d19
jmp 0x474f8c
mov edx, dword [eax + 8]
cmp dword [edx + 0x1c], ebp
jne 0x474e7d
mov ecx, dword [eax]
mov dword [ecx + 0x1c], ebp
mov ecx, dword [eax]
mov dword [eax + 0x1c], edi
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x618718]
je 0x474e4b
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474e62
mov dword [edx + 4], ecx
jmp 0x474e71
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x474e6f
mov dword [edx + 8], ecx
jmp 0x474e71
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1c], ebp
mov edx, dword [eax + 8]
mov dword [edx + 0x1c], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x618718]
je 0x474eaa
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474ec6
mov dword [edx + 4], ecx
mov dword [ecx], eax
jmp 0x474f89
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x474ed6
mov dword [edx], ecx
mov dword [ecx], eax
jmp 0x474f89
mov dword [edx + 8], ecx
mov dword [ecx], eax
jmp 0x474f89
mov ecx, dword [eax]
cmp dword [ecx + 0x1c], ebp
jne 0x474f34
mov edx, dword [eax + 8]
mov dword [edx + 0x1c], ebp
mov ecx, dword [eax + 8]
mov dword [eax + 0x1c], edi
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x618718]
je 0x474f05
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474f1c
mov dword [edx + 4], ecx
jmp 0x474f2a
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x474f27
mov dword [edx], ecx
jmp 0x474f2a
mov dword [edx + 8], ecx
mov dword [ecx], eax
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x1c], ebp
mov edx, dword [eax]
mov dword [edx + 0x1c], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x618718]
je 0x474f60
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov edx, dword [edx + 4]
cmp eax, dword [edx + 4]
jne 0x474f77
mov dword [edx + 4], ecx
jmp 0x474f86
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x474f84
mov dword [edx + 8], ecx
jmp 0x474f86
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov dword [esi + 0x1c], ebp
lea ecx, [esp + 0x1c]
call fcn.00557c82
mov eax, dword [esp + 0x14]
lea esi, [eax + 0xc]
mov dword [esp + 0x1c], esi
mov ebp, dword [esi + 8]
lea edi, [esi + 4]
mov dword [esp + 0x2c], 0
mov ebx, dword [ebp]
cmp ebx, ebp
je 0x47500f
push ebx
mov esi, ebx
call fcn.00475070
mov ebx, dword [eax]
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], esi
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00473fe0
mov esi, dword [eax]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [eax], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
lea edx, [esi + 8]
push edx
mov dword [eax + 4], ecx
call fcn.004769c0
add esp, 4
mov ecx, edi
push 1
push esi
call fcn.00475080
mov ecx, dword [edi + 8]
dec ecx
cmp ebx, ebp
mov dword [edi + 8], ecx
jne 0x474fb8
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
push eax
call fcn.00570be5
xor eax, eax
add esp, 4
mov ecx, esi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [esp + 0x2c], 0xffffffff
call fcn.00575bd5
mov eax, dword [esp + 0x14]
push eax
call fcn.00570be5
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 0xc]
pop edi
dec ecx
pop esi
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8