Function at 0x497a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7ffcf4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x34]
call fcn.004985d0
mov esi, dword [edi]
mov edx, dword [0x9514e4]
lea ebx, [edi + 8]
cmp esi, edx
mov dword [esp + 0x14], edi
mov ebp, ebx
jne 0x497aa6
mov esi, dword [ebx]
jmp 0x497ac4
mov eax, dword [ebx]
cmp eax, edx
je 0x497ac4
mov ecx, dword [eax]
cmp ecx, edx
je 0x497aba
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x497ab2
mov esi, dword [eax + 8]
lea ebp, [eax + 8]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.007c4c68
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x497b46
mov eax, dword [edi]
mov dword [eax + 4], ecx
mov edx, dword [edi]
mov dword [ecx], edx
mov eax, dword [ebx]
cmp ecx, eax
jne 0x497ae9
mov dword [esi + 4], ecx
jmp 0x497afe
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [eax], esi
mov edx, dword [ebx]
mov dword [ebp], edx
mov eax, dword [ebx]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
cmp dword [eax + 4], edi
jne 0x497b0f
mov dword [eax + 4], ecx
jmp 0x497b1d
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x497b1a
mov dword [eax], ecx
jmp 0x497b1d
mov dword [eax + 8], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x14], edi
mov dword [ecx + 4], eax
mov edx, dword [edi + 0x98]
mov eax, dword [ecx + 0x98]
mov dword [ecx + 0x98], edx
mov dword [edi + 0x98], eax
mov ecx, edi
jmp 0x497bd1
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x10]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
cmp dword [eax + 4], edi
jne 0x497b5d
mov dword [eax + 4], esi
jmp 0x497b6b
mov eax, dword [edi + 4]
cmp dword [eax], edi
jne 0x497b68
mov dword [eax], esi
jmp 0x497b6b
mov dword [eax + 8], esi
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
cmp dword [eax], edi
jne 0x497ba3
mov ebp, dword [0x9514e4]
cmp dword [ebx], ebp
jne 0x497b87
mov ebx, dword [edi + 4]
mov dword [eax], ebx
jmp 0x497ba3
mov ebx, dword [esi]
mov edx, esi
cmp ebx, ebp
je 0x497b9d
mov eax, ebx
mov edx, eax
mov eax, dword [edx]
cmp eax, ebp
jne 0x497b91
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [esp + 0x10]
mov ebp, dword [edx + 4]
cmp dword [ebp + 8], edi
jne 0x497bd1
mov ebx, dword [0x9514e4]
mov eax, dword [edi]
cmp eax, ebx
jne 0x497bbc
mov edx, dword [edi + 4]
jmp 0x497bce
mov eax, dword [esi + 8]
mov edx, esi
cmp eax, ebx
je 0x497bce
mov edx, eax
mov eax, dword [edx + 8]
cmp eax, ebx
jne 0x497bc5
mov dword [ebp + 8], edx
mov eax, dword [ecx + 0x98]
mov ebp, 1
xor ebx, ebx
cmp eax, ebp
jne 0x497ec6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
cmp esi, dword [ecx + 4]
je 0x497ec0
cmp dword [esi + 0x98], ebp
jne 0x497ec0
mov eax, dword [esi + 4]
cmp esi, dword [eax]
jne 0x497cd8
mov eax, dword [eax + 8]
cmp dword [eax + 0x98], ebx
jne 0x497c6f
mov dword [eax + 0x98], ebp
mov edx, dword [esi + 4]
mov dword [edx + 0x98], ebx
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 [0x9514e4]
je 0x497c3f
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 0x497c56
mov dword [edx + 4], ecx
jmp 0x497c64
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x497c61
mov dword [edx], ecx
jmp 0x497c64
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 + 0x98], ebp
jne 0x497c88
mov edx, dword [eax + 8]
cmp dword [edx + 0x98], ebp
je 0x497d57
mov edx, dword [eax + 8]
cmp dword [edx + 0x98], ebp
jne 0x497d90
mov ecx, dword [eax]
mov dword [ecx + 0x98], ebp
mov ecx, dword [eax]
mov dword [eax + 0x98], ebx
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov edx, dword [ecx + 8]
cmp edx, dword [0x9514e4]
je 0x497cba
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 0x497d75
mov dword [edx + 4], ecx
jmp 0x497d84
mov eax, dword [eax]
cmp dword [eax + 0x98], ebx
jne 0x497d3a
mov dword [eax + 0x98], ebp
mov eax, dword [esi + 4]
mov dword [eax + 0x98], ebx
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 [0x9514e4]
je 0x497d09
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 0x497d20
mov dword [edx + 4], ecx
jmp 0x497d2f
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x497d2d
mov dword [edx + 8], ecx
jmp 0x497d2f
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 + 0x98], ebp
jne 0x497dff
mov edx, dword [eax]
cmp dword [edx + 0x98], ebp
jne 0x497dff
mov dword [eax + 0x98], ebx
mov eax, dword [esp + 0x10]
mov esi, dword [esi + 4]
mov ecx, dword [eax + 4]
cmp esi, dword [ecx + 4]
jne 0x497bf6
jmp 0x497ec0
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x497d82
mov dword [edx + 8], ecx
jmp 0x497d84
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 + 0x98]
mov dword [eax + 0x98], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x98], ebp
mov edx, dword [eax + 8]
mov dword [edx + 0x98], 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 [0x9514e4]
je 0x497dc9
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 0x497de5
mov dword [edx + 4], ecx
mov dword [ecx], eax
jmp 0x497ebd
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x497df5
mov dword [edx], ecx
mov dword [ecx], eax
jmp 0x497ebd
mov dword [edx + 8], ecx
mov dword [ecx], eax
jmp 0x497ebd
mov ecx, dword [eax]
cmp dword [ecx + 0x98], ebp
jne 0x497e5c
mov edx, dword [eax + 8]
mov dword [edx + 0x98], ebp
mov ecx, dword [eax + 8]
mov dword [eax + 0x98], ebx
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx]
cmp edx, dword [0x9514e4]
je 0x497e2d
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 0x497e44
mov dword [edx + 4], ecx
jmp 0x497e52
mov edx, dword [eax + 4]
cmp eax, dword [edx]
jne 0x497e4f
mov dword [edx], ecx
jmp 0x497e52
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 + 0x98]
mov dword [eax + 0x98], edx
mov ecx, dword [esi + 4]
mov dword [ecx + 0x98], ebp
mov edx, dword [eax]
mov dword [edx + 0x98], 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 [0x9514e4]
je 0x497e94
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 0x497eab
mov dword [edx + 4], ecx
jmp 0x497eba
mov edx, dword [eax + 4]
cmp eax, dword [edx + 8]
jne 0x497eb8
mov dword [edx + 8], ecx
jmp 0x497eba
mov dword [edx], ecx
mov dword [ecx + 8], eax
mov dword [eax + 4], ecx
mov dword [esi + 0x98], ebp
lea ecx, [esp + 0x1c]
call fcn.007c4d04
mov edi, dword [esp + 0x14]
lea esi, [edi + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], ebp
cmp eax, ebx
je 0x497efd
mov edx, dword [esi + 0x7c]
cmp edx, ebx
je 0x497efd
mov ecx, dword [esi + 0x80]
cmp ecx, ebx
je 0x497efd
push edx
push eax
call ecx
add esp, 8
mov eax, dword [esi + 0x74]
push eax
call fcn.007d7349
mov ecx, dword [esi + 0x60]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0x28], bl
je 0x497f29
mov edx, dword [esi + 0x68]
cmp edx, ebx
je 0x497f29
mov eax, dword [esi + 0x6c]
cmp eax, ebx
je 0x497f29
push edx
push ecx
call eax
add esp, 8
mov eax, dword [esi + 0x60]
push eax
call fcn.007d7349
add esp, 4
lea ecx, [esi + 0x44]
mov dword [esp + 0x28], 4
call fcn.0040e080
lea ecx, [esi + 0x30]
mov byte [esp + 0x28], 3
call fcn.0040e080
lea ecx, [esi + 0x1c]
mov byte [esp + 0x28], 2
call fcn.0040e080
lea ecx, [esi + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0040e080
push edi
call fcn.007d7349
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 + 0x28]
mov ecx, dword [esp + 0x2c]
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8