Function at 0x495ac0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x78f734
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, dword [esp + 0x8c]
push 1
mov esi, ecx
push edi
call fcn.00491dc0
push 2
push edi
mov ecx, esi
mov ebx, eax
call fcn.00491dc0
cmp ebx, 1
jne 0x495e1d
cmp eax, ebx
jne 0x495c3b
lea ecx, [esp + 0xc]
call fcn.0073d620
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x80], ebx
call fcn.0073d620
mov edi, dword [esp + 0x88]
lea eax, [esp + 0x54]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x88], 1
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], edx
call fcn.0073d650
lea eax, [esp + 0x54]
push 1
push eax
mov ecx, edi
call fcn.00435f00
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x54]
mov dword [esp + 0x50], edx
call fcn.0073d650
mov eax, dword [esp + 0x34]
or edi, 0xffffffff
cmp eax, edi
je 0x495d4c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jne 0x495c51
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
cmp ecx, eax
jne 0x495c51
call fcn.00777bcd
mov eax, dword [eax + 4]
push ebx
push ebx
push 0x82c100
mov edi, dword [eax + 0x1c]
mov ecx, esi
call fcn.00762c82
mov ecx, edi
call fcn.0051f5f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], bl
call fcn.0073d650
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], 0xffffffff
call fcn.0073d650
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
cmp dword [esi + 0xf0], ebx
jne 0x495c9f
call fcn.00777bcd
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x1c]
call fcn.0051f5f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], bl
call fcn.0073d650
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], edi
call fcn.0073d650
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
push 0xc74
call fcn.007604a7
add esp, 4
mov dword [esp + 0x88], eax
cmp eax, ebx
mov byte [esp + 0x80], 2
je 0x495cca
mov ecx, eax
call fcn.0053aa60
mov esi, eax
jmp 0x495ccc
xor esi, esi
mov word [esi + 4], 0x400
mov edx, dword [esp + 0x14]
mov dword [esi + 0xbf4], edx
mov eax, dword [esp + 0x18]
mov dword [esi + 0xbf8], eax
mov ecx, dword [esp + 0x38]
mov dword [esi + 0xbfc], ecx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0xc00], edx
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x20], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x30]
mov dword [esi + 0x24], eax
mov byte [esp + 0x80], bl
call fcn.0073d650
lea ecx, [esp + 0xc]
mov dword [esp + 0x80], edi
call fcn.0073d650
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
push ebp
push 0xc74
call fcn.007604a7
add esp, 4
mov dword [esp + 0x8c], eax
cmp eax, ebx
mov byte [esp + 0x84], 3
je 0x495d78
mov ecx, eax
call fcn.0053aa60
mov ebp, eax
jmp 0x495d7a
xor ebp, ebp
mov word [ebp + 4], 0x3f5
mov ecx, dword [esp + 0x18]
mov dword [ebp + 0xbf4], ecx
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0xbf8], edx
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x10], eax
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x20], ecx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov byte [esp + 0x84], bl
sub edx, edi
lea edi, [esi + 0x1094]
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
lea edx, [ebp + 0x30]
sub eax, ecx
or ecx, 0xffffffff
mov dword [ebp + 0xc], eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.0073d650
lea ecx, [esp + 0x10]
mov dword [esp + 0x84], 0xffffffff
call fcn.0073d650
mov eax, ebp
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
push ecx
push edi
push edx
mov ecx, esi
call fcn.00495a90
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 0xc