Function at 0x770472
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5d4fbd
push eax
mov dword fs:[0], esp
sub esp, 0x318
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esi + 0x38], 0x75f7e4
lea eax, [esi + 0x38]
mov dword [eax + 4], eax
push edi
mov edi, dword [esp + 0x338]
xor ebx, ebx
mov dword [eax + 8], ebx
mov dword [esi + 0x4c], edi
mov eax, dword [edi + 0x1c]
mov dword [esi + 4], eax
mov dword [esi], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x1c], eax
movzx ecx, word [edi + 0x50]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x48]
mov dword [esi + 0x30], edx
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov dword [esi + 0x2c], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x54]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc8]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0xc], ecx
test byte [esi + 0x28], 0x10
mov edx, dword [edi + 0x24]
mov dword [esi + 0x10], edx
je 0x770515
mov ecx, dword [edi + 0x10]
mov ebp, dword [ecx + 0x124]
mov ecx, dword [esi + 0x2c]
mov edx, 8
sub edx, ebp
add ecx, edx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x18]
add ecx, 0xffffff09
cmp ecx, 7
ja 0x77059d
movzx ecx, byte [ecx + 0x40c100]
jmp dword [ecx*4 + 0x40c0f4]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x70]
mov dword [esi + 0x24], eax
cmp dword [esi + 0x18], 0xfe
jne 0x7705bd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], ebx
mov ecx, dword [esi + 0x28]
test ch, 9
je 0x7705cd
mov edx, dword [edi + 0x64]
mov dword [esi + 0x34], edx
jmp 0x7705d0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x7705ef
mov dl, byte [edi + 0x52]
and dl, byte [eax]
neg dl
sbb edx, edx
neg edx
mov eax, edx
cmp eax, ebx
jne 0x7706f8
test cl, 0x10
jne 0x7706f8
cmp dword [edi + 8], ebx
je 0x7706f8
mov ebp, dword [esp + 0x33c]
cmp ebp, ebx
je 0x7706f8
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, 0x2fe
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x330], ebx
mov ebx, dword [edx + 0x5c]
mov edx, dword [ebp + 8]
shl ebx, 1
add edx, ebx
test eax, eax
mov dword [ebp + 8], edx
je 0x770653
add eax, ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x77066b
mov cl, byte [ebp + 0x52]
and cl, byte [eax]
neg cl
sbb ecx, ecx
neg ecx
mov dword [esp + 0x10], ecx
jmp 0x770673
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
lea eax, [esp + 0x14]
mov ecx, eax
push eax
push ecx
mov ecx, ebp
call dword [edx + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
neg ebx
add edx, ebx
test eax, eax
mov dword [ebp + 8], edx
je 0x770699
add eax, ebx
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x7706ef
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc edx
push edx
push eax
call fcn.0083d922
mov ecx, dword [esp + 0x20]
mov ebx, eax
push 0x34
mov byte [ecx + ebx], 0
call fcn.0083d7f2
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x330], 1
je 0x7706ea
mov edx, dword [esi + 0x44]
mov ecx, dword [esp + 0x18]
push 4
push edx
push ecx
push ebx
mov ecx, eax
call fcn.0076c3e2
jmp 0x7706ec
xor eax, eax
mov dword [esi + 0x14], eax
lea ecx, [esp + 0x14]
call fcn.0076c202
cmp dword [esi + 0x18], 0xff
mov eax, esi
jne 0x770709
mov edx, dword [edi + 0x78]
mov dword [esi + 0x48], edx
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x324
ret 8