Function at 0x74a894b7
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0x48
push 0x74aafbe0
call 0x74aae8e4
mov eax, edx
mov dword [ebp - 0x50], eax
mov ebx, ecx
mov dword [ebp - 0x44], ebx
mov ecx, 0xc000000d
mov dword [ebp - 0x24], ecx
and dword [ebp - 0x20], 0
cmp dword [ebx], 8
jne 0x74a894ea
mov ecx, ebx
call fcn.74a892f8
jmp 0x74a898f4
mov eax, dword [ebx + 0x4c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x74a894fb
mov edi, dword [ebx + 0x50]
test edi, edi
jne 0x74a89514
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x74a898f2
mov edi, dword [ebx + 0x58]
test edi, edi
je 0x74a898f2
call dword [0x74aa09fc]
push edi
push dword [eax]
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov esi, eax
mov dword [ebp - 0x30], esi
test esi, esi
jne 0x74a8953f
mov eax, 0xc0000017
jmp 0x74a898f4
xor esi, esi
mov eax, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], edi
push edi
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
push esi
call dword [0x74aa1900]
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x20], ecx
push 0x20
pop edx
test edi, edi
je 0x74a897ae
cmp byte [ebx + 5], 0
je 0x74a8968d
mov dword [ebp - 0x28], esi
shr edi, 1
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x74a897ae
movzx eax, word [esi]
test ax, ax
je 0x74a895a7
cmp ax, dx
ja 0x74a895a7
dec edi
mov dword [ebp - 0x1c], edi
add esi, 2
mov dword [ebp - 0x28], esi
jmp 0x74a89586
test edi, edi
je 0x74a897ae
cmp word [esi], cx
je 0x74a897ae
mov edx, esi
mov dword [ebp - 0x34], edx
mov dword [ebx + 0x44], esi
test edi, edi
je 0x74a897ae
cmp word [esi], 0x3d
je 0x74a895da
dec edi
mov dword [ebp - 0x1c], edi
add esi, 2
mov dword [ebp - 0x28], esi
jmp 0x74a895c0
test edi, edi
je 0x74a897ae
mov eax, esi
add esi, 2
mov dword [ebp - 0x28], esi
dec edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x48], eax
cmp eax, dword [ebx + 0x44]
jbe 0x74a8960f
lea edx, [eax - 2]
mov dword [ebp - 0x40], edx
push 0x20
pop ebx
cmp word [edx], bx
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x34]
ja 0x74a8960f
mov eax, dword [ebp - 0x40]
jmp 0x74a895ee
sub eax, dword [ebx + 0x44]
mov word [ebx + 0x40], ax
test ax, ax
je 0x74a897ae
add eax, 2
mov word [ebx + 0x42], ax
push 0x20
pop eax
test edi, edi
je 0x74a8963e
cmp word [esi], ax
jne 0x74a8963e
dec edi
mov dword [ebp - 0x1c], edi
add esi, 2
mov dword [ebp - 0x28], esi
jmp 0x74a89629
mov dword [ebx + 0x54], esi
test edi, edi
je 0x74a897ae
cmp word [esi], cx
je 0x74a8965a
dec edi
mov dword [ebp - 0x1c], edi
add esi, 2
mov dword [ebp - 0x28], esi
jmp 0x74a89641
test edi, edi
je 0x74a897ae
mov ax, si
sub ax, word [ebx + 0x54]
movzx eax, ax
mov dword [ebx + 0x58], eax
dec edi
mov dword [ebp - 0x1c], edi
add esi, 2
mov dword [ebp - 0x28], esi
mov eax, esi
sub eax, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], esi
add edi, edi
mov dword [ebp - 0x3c], edi
jmp 0x74a897cd
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x74a897ae
mov al, byte [esi]
test al, al
je 0x74a896af
cmp al, 0x20
ja 0x74a896af
dec edi
mov dword [ebp - 0x1c], edi
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x74a89693
test edi, edi
je 0x74a897ae
cmp byte [esi], 0
je 0x74a897ae
mov dword [ebp - 0x34], esi
mov dword [ebx + 0x34], esi
test edi, edi
je 0x74a897ae
cmp byte [esi], 0x3d
je 0x74a896dd
dec edi
mov dword [ebp - 0x1c], edi
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x74a896c6
test edi, edi
je 0x74a897ae
mov eax, esi
inc esi
mov dword [ebp - 0x2c], esi
dec edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebx + 0x34]
jbe 0x74a89700
cmp byte [eax - 1], 0x20
ja 0x74a89700
dec eax
jmp 0x74a896ef
sub eax, dword [ebx + 0x34]
mov word [ebx + 0x30], ax
test ax, ax
je 0x74a897ae
inc eax
mov word [ebx + 0x32], ax
test edi, edi
je 0x74a89728
cmp byte [esi], 0x20
jne 0x74a89728
dec edi
mov dword [ebp - 0x1c], edi
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x74a89715
mov dword [ebx + 0x4c], esi
test edi, edi
je 0x74a897ae
cmp byte [esi], 0
je 0x74a8973e
dec edi
mov dword [ebp - 0x1c], edi
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x74a8972b
test edi, edi
je 0x74a897ae
mov ax, si
sub ax, word [ebx + 0x4c]
movzx eax, ax
mov dword [ebx + 0x50], eax
dec edi
mov dword [ebp - 0x1c], edi
inc esi
mov dword [ebp - 0x2c], esi
mov eax, esi
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x3c], edi
mov ax, word [ebx + 0x32]
add ax, ax
mov word [ebx + 0x42], ax
xor eax, eax
mov word [ebx + 0x40], ax
call dword [0x74aa09fc]
mov edx, dword [eax]
mov ecx, dword [ebx + 0x50]
movzx eax, word [ebx + 0x42]
lea eax, [eax + ecx*2]
add eax, 2
push eax
push edx
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1d80]
mov edx, eax
mov dword [ebp - 0x38], edx
test edx, edx
jne 0x74a897b6
mov dword [ebp - 0x24], 0xc0000017
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x74a89884
mov dword [ebx + 0x44], edx
movzx eax, word [ebx + 0x42]
add eax, edx
mov dword [ebx + 0x54], eax
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
push ecx
push ecx
mov edx, dword [ebp - 0x50]
mov ecx, ebx
call fcn.74a898fa
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x74a8981d
push edx
xor esi, esi
push esi
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call dword [0x74aa1aac]
mov dword [ebp - 0x38], esi
push esi
lea eax, [ebx + 0x40]
push eax
call dword [0x74aa1a8c]
xor ecx, ecx
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x58], ecx
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
jmp 0x74a89822
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x24], 0
jge 0x74a89569
cmp dword [ebp - 0x24], 0xc0000016
jne 0x74a897ae
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x20]
push eax
call dword [0x74aa1900]
add esp, 0xc
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x74a89569
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x74a898ac
mov byte [ebx + 6], 1
mov eax, dword [ebp - 0x30]
cmp byte [ebx + 5], 0
je 0x74a898a0
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], edx
jmp 0x74a898a9
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x50], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xfffffffe
call fcn.74a898bf
mov eax, dword [ebp - 0x24]
jmp 0x74a898f4
mov eax, ecx
call 0x74aae929
ret