Function at 0x79a764
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x79a76c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004099a4
xor eax, eax
push ebp
push 0x79ab85
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x798758]
call fcn.00407ae8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79a7ac
sub edx, 0xfffffff8
call fcn.0040da30
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
test edx, edx
je 0x79a7d0
sub edx, 0xfffffff8
call fcn.0040da30
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov edx, dword [ebp - 4]
call fcn.00409ca0
xor ecx, ecx
push ebp
push 0x79ab45
push dword fs:[ecx]
mov dword fs:[ecx], esp
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x2c]
mov dl, 1
call fcn.00422bb8
test al, al
jne 0x79a82d
call fcn.0040902c
jmp 0x79ab4c
mov eax, dword [ebp + 8]
cmp byte [eax - 9], 0
jne 0x79aaa8
cmp dword [0x7ebc40], 0
jne 0x79aaa8
xor eax, eax
push ebp
push 0x79a89b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 8]
xor ecx, ecx
call fcn.0064d378
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov byte [edx + 0x30], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79a8af
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x30], 0
jne 0x79a8d3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79a8ce
sub edx, 0xffffffe0
call fcn.004a7994
mov eax, dword [0x7ecbd0]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [0x7ebe30]
cmp edx, dword [ecx + 4]
jne 0x79a8f2
cmp eax, dword [ecx]
jb 0x79aaa8
jmp 0x79a8f8
jl 0x79aaa8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x3c], 0
je 0x79a929
push 0x79abb8
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp - 0x34]
call fcn.0078fa28
push 0x79abb8
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79abdc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
add eax, 0x28
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x40]
mov eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0x796cd4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004a7918
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x38]
call fcn.0079307c
mov dword [0x841ec0], eax
mov dword [0x841ec4], edx
xor ecx, ecx
push ebp
push 0x79aa66
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
push eax
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x3c]
call fcn.00799f28
pop ecx
test al, al
je 0x79aa3c
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x40]
call fcn.0079307c
mov dword [0x841ec8], eax
mov dword [0x841ecc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79aa35
sub edx, 0xffffffe4
call fcn.004a7994
jmp 0x79aa5c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x40]
mov eax, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0x796c68
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004a7918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79aa90
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79aaa3
sub edx, 0xffffffe8
call fcn.004a7994
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79abf8
lea eax, [ebp - 0x44]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x44]
mov dl, 1
call fcn.00422bb8
test al, al
je 0x79ab06
push dword [0x841e80]
push dword [0x7ebc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79abf8
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x48]
call fcn.00423040
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x3c], 0
je 0x79ab37
push 0x79ac1c
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aba0
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp - 0x4c]
call fcn.0078fa28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79ab4c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79ab8c
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.00409920
lea eax, [ebp - 0xc]
call fcn.0040da18
lea eax, [ebp - 8]
mov edx, dword [0x6492c4]
call fcn.0040c134
lea eax, [ebp - 4]
call fcn.004098c0
ret