Function at 0x79a67c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x79a684
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 0x79aa9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x798540]
call fcn.00407ae8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79a6c4
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 0x79a6e8
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 0x79aa5d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
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 0x79a745
call fcn.0040902c
jmp 0x79aa64
mov eax, dword [ebp + 8]
cmp byte [eax - 9], 0
jne 0x79a9c0
cmp dword [0x7ecc40], 0
jne 0x79a9c0
xor eax, eax
push ebp
push 0x79a7b3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 8]
xor ecx, ecx
call fcn.0064d430
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 0x79a7c7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x30], 0
jne 0x79a7eb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79a7e6
sub edx, 0xffffffe0
call fcn.004a7a4c
mov eax, dword [0x7edbd4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ecx, dword [0x7ece30]
cmp edx, dword [ecx + 4]
jne 0x79a80a
cmp eax, dword [ecx]
jb 0x79a9c0
jmp 0x79a810
jl 0x79a9c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x3c], 0
je 0x79a841
push 0x79aad0
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp - 0x34]
call fcn.0078fad8
push 0x79aad0
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79ab00
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], 0x796ac8
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.004a79d0
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x38]
call fcn.007930e4
mov dword [0x842ec0], eax
mov dword [0x842ec4], edx
xor ecx, ecx
push ebp
push 0x79a97e
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp + 8]
push eax
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x3c]
call fcn.00799e38
pop ecx
test al, al
je 0x79a954
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x40]
call fcn.007930e4
mov dword [0x842ec8], eax
mov dword [0x842ecc], 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 0x79a94d
sub edx, 0xffffffe4
call fcn.004a7a4c
jmp 0x79a974
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], 0x796a60
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.004a79d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79a9a8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x79a9bb
sub edx, 0xffffffe8
call fcn.004a7a4c
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79ab1c
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 0x79aa1e
push dword [0x842e80]
push dword [0x7ecc64]
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79ab1c
lea eax, [ebp - 0x48]
mov edx, 4
call fcn.0040a81c
mov eax, dword [ebp - 0x48]
call fcn.004230f8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
cmp byte [eax + 0x3c], 0
je 0x79aa4f
push 0x79ab40
mov eax, dword [ebp - 0x10]
push dword [eax + 0xc]
push 0x79aab8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040a81c
mov eax, dword [ebp - 0x4c]
call fcn.0078fad8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79aa64
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79aaa4
lea eax, [ebp - 0x4c]
mov edx, 9
call fcn.00409920
lea eax, [ebp - 0xc]
call fcn.0040da18
lea eax, [ebp - 8]
mov edx, dword [0x64937c]
call fcn.0040c134
lea eax, [ebp - 4]
call fcn.004098c0
ret