Function at 0x74a8a7bb
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
xor eax, eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov edi, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
call fcn.74a8ab06
mov ebx, eax
mov dword [ebp - 0xc], 1
test ebx, ebx
jns 0x74a8a852
cmp dword [esi], 3
jne 0x74a8a7ff
xor eax, eax
jmp 0x74a8aaff
mov eax, dword [esi + 0x64]
mov ecx, esi
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x19], 0
je 0x74a8a834
lea eax, [ebp - 0x14]
xor edx, edx
push eax
call fcn.74a88089
test al, al
jne 0x74a8a829
mov eax, 0xc000000d
jmp 0x74a8aaff
mov eax, dword [ebp - 0x14]
movzx edi, word [eax]
add edi, 8
jmp 0x74a8a84b
push 0
lea edx, [ebp - 0x20]
call fcn.74a88089
test al, al
je 0x74a8a81f
mov eax, dword [ebp - 0x20]
movzx edi, word [eax]
add edi, 4
mov al, 1
mov byte [ebp - 1], al
jmp 0x74a8a863
xor al, al
mov ecx, esi
mov byte [ebp - 1], al
call fcn.74a8ac16
mov ebx, eax
mov al, byte [ebp - 1]
test ebx, ebx
jns 0x74a8a8ba
cmp dword [esi], 3
je 0x74a8a7f8
test al, al
jne 0x74a8a876
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
mov ecx, esi
cmp byte [eax + 0x19], 0
je 0x74a8a89b
lea eax, [ebp - 0x18]
xor edx, edx
push eax
call fcn.74a880dd
test al, al
je 0x74a8a81f
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
add eax, 6
jmp 0x74a8a8b6
push 0
lea edx, [ebp - 0x24]
call fcn.74a880dd
test al, al
je 0x74a8a81f
mov eax, dword [ebp - 0x24]
movzx eax, word [eax]
add eax, 3
add edi, eax
jmp 0x74a8a915
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x19], 0
je 0x74a8a8f1
cmp dword [esi], 3
jne 0x74a8a8e9
mov ecx, esi
call fcn.74a8a793
mov edx, dword [esi + 0xa8]
push 0
push 0
mov edx, dword [edx + 4]
mov ecx, esi
push eax
call fcn.74a8b0b4
jmp 0x74a8aaff
mov eax, dword [esi + 0xac]
jmp 0x74a8a90b
cmp dword [esi], 3
jne 0x74a8a905
mov ecx, esi
call fcn.74a8a793
mov edx, dword [esi + 0x84]
jmp 0x74a8a8d5
mov eax, dword [esi + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
mov eax, dword [esi + 0xc]
mov ecx, esi
cmp byte [eax + 0x19], 0
lea eax, [ebp - 8]
push eax
je 0x74a8a950
lea eax, [ebp - 0x1c]
xor edx, edx
push eax
call fcn.74a88131
test al, al
je 0x74a8a81f
mov eax, dword [ebp - 8]
sub eax, 2
mov dword [ebp - 8], eax
test edi, edi
jne 0x74a8a97f
mov edx, dword [esi + 0xac]
push eax
push dword [ebp - 0x1c]
jmp 0x74a8a977
push 0
lea edx, [ebp - 0x28]
call fcn.74a88131
test al, al
je 0x74a8a81f
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
test edi, edi
jne 0x74a8a97f
mov edx, dword [esi + 0x88]
push eax
push dword [ebp - 0x28]
movzx eax, word [edx]
jmp 0x74a8a8d9
add edi, eax
call dword [0x74aa09fc]
mov ecx, dword [eax]
lea eax, [edi + 2]
push eax
mov eax, dword fs:[0x30]
push ecx
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov edx, eax
mov dword [ebp - 0x2c], edx
test edx, edx
jne 0x74a8a9b0
mov eax, 0xc0000017
jmp 0x74a8aaff
mov eax, dword [esi + 0xc]
mov ecx, edx
cmp byte [eax + 0x19], 0
mov al, byte [ebp - 1]
je 0x74a8aa65
test al, al
je 0x74a8aa04
push 0x5b
pop eax
mov word [edx], ax
lea ecx, [edx + 2]
mov eax, dword [ebp - 0x14]
movzx edx, word [eax]
shr edx, 1
mov ebx, dword [eax + 4]
je 0x74a8a9ed
mov ax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x74a8a9dc
push 0x5d
pop eax
mov word [ecx], ax
push 0xd
pop eax
mov word [ecx + 2], ax
push 0xa
pop eax
mov word [ecx + 4], ax
add ecx, 6
cmp byte [ebp - 0xc], 0
je 0x74a8aa31
mov eax, dword [ebp - 0x18]
movzx edx, word [eax]
shr edx, 1
mov ebx, dword [eax + 4]
je 0x74a8aa28
mov ax, word [ebx]
lea ebx, [ebx + 2]
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x74a8aa17
push 0x3d
pop eax
mov word [ecx], ax
add ecx, 2
mov edx, dword [ebp - 8]
shr edx, 1
je 0x74a8aa4c
mov ebx, dword [ebp - 0x1c]
sub ebx, ecx
mov ax, word [ebx + ecx]
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x74a8aa3d
cmp byte [ebp - 0xc], 0
je 0x74a8aad7
push 0xd
pop eax
mov word [ecx], ax
push 0xa
pop eax
mov word [ecx + 2], ax
jmp 0x74a8aad7
test al, al
je 0x74a8aa93
mov eax, dword [ebp - 0x20]
lea ecx, [edx + 1]
mov byte [edx], 0x5b
movzx edx, word [eax]
mov ebx, dword [eax + 4]
test edx, edx
je 0x74a8aa87
mov al, byte [ebx]
mov byte [ecx], al
inc ecx
inc ebx
sub edx, 1
jne 0x74a8aa7c
mov word [ecx], 0xd5d
mov byte [ecx + 2], 0xa
add ecx, 3
cmp byte [ebp - 0xc], 0
je 0x74a8aab5
mov eax, dword [ebp - 0x24]
movzx edx, word [eax]
mov ebx, dword [eax + 4]
test edx, edx
je 0x74a8aab1
mov al, byte [ebx]
mov byte [ecx], al
inc ecx
inc ebx
sub edx, 1
jne 0x74a8aaa6
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp - 8]
test edx, edx
je 0x74a8aacc
mov ebx, dword [ebp - 0x28]
sub ebx, ecx
mov al, byte [ebx + ecx]
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x74a8aac1
cmp byte [ebp - 0xc], 0
je 0x74a8aad7
mov word [ecx], 0xa0d
mov edx, dword [ebp - 0x10]
mov ecx, esi
push edi
mov edi, dword [ebp - 0x2c]
push edi
push 0
call fcn.74a8b0b4
mov ecx, dword fs:[0x30]
mov esi, eax
push edi
push 0
push dword [ecx + 0x18]
call dword [0x74aa1aac]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret