Function at 0x7747ace0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x7751fe70
push 0x7749a000
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x7753d344]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x1a], 0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x774bfc18
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x774bfc18
mov eax, 1
cmp eax, esi
jae 0x7747ad65
movzx ecx, word [ecx + eax*2]
test cx, cx
je 0x774bfc18
cmp ecx, 0x3d
je 0x774bfc18
inc eax
mov ecx, dword [ebp + 0xc]
jmp 0x7747ad45
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x7747ad83
xor eax, eax
mov edx, dword [ebp + 0x18]
cmp eax, edx
jae 0x7747ad83
cmp word [ecx + eax*2], 0
je 0x774bfc18
inc eax
jmp 0x7747ad71
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x774bfc22
mov byte [ebp - 0x1a], 1
mov byte [ebp - 0x19], 1
mov eax, dword fs:[0x30]
push dword [eax + 0x1c]
call fcn.7746be50
mov edx, dword [ebx + 0x48]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0
mov edi, edx
mov dword [ebp - 0x24], edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
test edx, edx
je 0x7747b01c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
lea esp, [esp]
cmp word [edi], bx
je 0x7747b019
mov esi, edi
mov dword [ebp - 0x54], esi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
add edi, 2
mov dword [ebp - 0x24], edi
movzx eax, word [edi]
test ax, ax
je 0x7747ae49
cmp eax, 0x3d
jne 0x7747ae03
mov ecx, edi
sub ecx, esi
sar ecx, 1
mov dword [ebp - 0x48], ecx
add edi, 2
mov dword [ebp - 0x24], edi
mov eax, edi
mov dword [ebp - 0x30], eax
lea ebx, [ebx]
cmp word [edi], bx
je 0x7747ae3d
add edi, 2
mov dword [ebp - 0x24], edi
jmp 0x7747ae30
mov edx, edi
sub edx, eax
sar edx, 1
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edx
add edi, 2
mov dword [ebp - 0x24], edi
mov edx, dword [ebp + 0xc]
mov eax, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x50], esi
cmp dword [ebp + 0x10], ecx
jbe 0x7747aea1
lea ecx, [edx + ecx*2]
mov dword [ebp - 0x4c], ecx
cmp eax, ecx
jae 0x7747b04d
movzx edx, word [eax]
mov dword [ebp - 0x58], edx
movzx esi, word [esi]
mov dword [ebp - 0x5c], esi
cmp edx, esi
je 0x7747aea6
cmp edx, 0x61
jae 0x7747aed2
mov dword [ebp - 0x58], edx
cmp esi, 0x61
jae 0x7747aec4
mov dword [ebp - 0x5c], esi
cmp edx, esi
je 0x7747aea6
sub edx, esi
test edx, edx
je 0x7747aee0
js 0x7747aeb7
mov edx, dword [ebp - 0x20]
jmp 0x7747adf0
mov ecx, dword [ebp + 0x10]
jmp 0x7747ae5f
add eax, 2
mov dword [ebp - 0x38], eax
mov esi, dword [ebp - 0x50]
add esi, 2
mov dword [ebp - 0x50], esi
jmp 0x7747ae65
cmp dword [ebp - 0x44], ebx
jne 0x7747ae99
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
jmp 0x7747ae99
cmp esi, 0x7a
ja 0x774bfc97
add esi, 0xffffffe0
jmp 0x7747ae8a
cmp edx, 0x7a
ja 0x774bfc51
add edx, 0xffffffe0
jmp 0x7747ae82
mov ebx, edi
mov dword [ebp - 0x2c], ebx
cmp word [ebx], 0
je 0x7747af00
jmp 0x7747aef0
movzx eax, word [ebx]
add ebx, 2
mov dword [ebp - 0x2c], ebx
test ax, ax
jne 0x7747aef0
jmp 0x7747aee5
add ebx, 2
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7747b22d
mov esi, dword [ebp + 0x18]
cmp esi, dword [ebp - 0x3c]
jbe 0x7747b1d4
mov edi, dword [ebp - 0x20]
push edi
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.7747b310
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
sub ecx, edi
sar ecx, 1
sub ecx, dword [ebp - 0x40]
add ecx, esi
add ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jb 0x774bfcf0
call fcn.7747b44f
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x774bfcdd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
lea esi, [eax + eax]
push esi
push ecx
push edi
call fcn.774987e0
add esp, 0xc
add edi, esi
mov edx, dword [ebp + 0x18]
lea esi, [edx + edx]
push esi
push dword [ebp + 0x14]
push edi
call fcn.774987e0
add esp, 0xc
add edi, esi
xor eax, eax
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x24]
sub ebx, eax
and ebx, 0xfffffffe
push ebx
push eax
push edi
call fcn.774987e0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x4c]
test ecx, ecx
jne 0x774bfce9
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x290], eax
inc dword [ecx + 0x294]
cmp byte [ebp - 0x19], 0
je 0x7747afe5
push 0x234
push 0
push 0x77538220
call fcn.77498e60
add esp, 0xc
cmp byte [ebp - 0x1a], 0
je 0x7747affd
mov eax, dword fs:[0x30]
push dword [eax + 0x1c]
call fcn.7746bdd0
mov byte [ebp - 0x1a], 0
push dword [ebp - 0x20]
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.77461440
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x7747b086
test ebx, ebx
je 0x7747b058
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 4], 0xfffffffe
call fcn.7747b2d8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x48]
jmp 0x7747ae93
cmp dword [ebp + 0x14], 0
je 0x7747b027
test edi, edi
je 0x774bfd72
mov dword [ebp - 0x2c], edi
lea esp, [esp]
cmp word [edi], 0
je 0x7747b08d
movzx eax, word [edi]
add edi, 2
mov dword [ebp - 0x2c], edi
test ax, ax
jne 0x7747b076
jmp 0x7747b070
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x7747b023
add edi, 2
mov dword [ebp - 0x2c], edi
push edx
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.7747b310
mov edx, eax
mov ebx, dword [ebp - 0x2c]
mov ecx, ebx
sub ecx, dword [ebp - 0x20]
sar ecx, 1
add ecx, esi
add ecx, dword [ebp + 0x18]
lea eax, [ecx*2 + 4]
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
cmp eax, edx
jb 0x7747b23b
mov ecx, eax
call fcn.7747b44f
mov ecx, eax
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x774bfcdd
test edi, edi
je 0x774bfd86
mov esi, edi
mov edx, dword [ebp - 0x20]
sub esi, edx
sar esi, 1
lea eax, [esi + esi]
push eax
push edx
push ecx
call fcn.774987e0
add esp, 0xc
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + esi*2]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x10]
lea esi, [ecx + ecx]
push esi
push dword [ebp + 0xc]
push eax
call fcn.774987e0
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, esi
mov ecx, 0x3d
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp + 0x18]
lea esi, [edx + edx]
push esi
push dword [ebp + 0x14]
push eax
call fcn.774987e0
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, esi
xor ecx, ecx
mov word [eax], cx
add eax, 2
test edi, edi
je 0x774bfd8d
sub ebx, edi
and ebx, 0xfffffffe
push ebx
push edi
push eax
call fcn.774987e0
add esp, 0xc
cmp byte [ebp - 0x19], 0
je 0x7747b181
push 0x234
push 0
push 0x77538220
call fcn.77498e60
add esp, 0xc
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x48]
test ecx, ecx
jne 0x774bfd97
mov ebx, dword [ebp - 0x28]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x290], eax
inc dword [ebx + 0x294]
cmp byte [ebp - 0x1a], 0
je 0x7747b1bc
mov eax, dword fs:[0x30]
push dword [eax + 0x1c]
call fcn.7746bdd0
mov byte [ebp - 0x1a], 0
push dword [ebp - 0x20]
push 0
mov eax, dword fs:[0x30]
push dword [eax + 0x18]
call fcn.77461440
jmp 0x7747b02a
add esi, esi
push esi
push eax
push dword [ebp - 0x30]
call fcn.774987e0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
add ecx, esi
xor eax, eax
mov word [ecx], ax
add ecx, 2
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x3c]
je 0x7747b20a
mov eax, ebx
sub eax, edi
and eax, 0xfffffffe
push eax
push edi
push ecx
call fcn.77498b20
add esp, 0xc
cmp byte [ebp - 0x19], 0
je 0x7747b016
push 0x234
push 0
push 0x77538220
call fcn.77498e60
add esp, 0xc
jmp 0x7747b016
mov eax, ebx
sub eax, edi
and eax, 0xfffffffe
push eax
push edi
push dword [ebp - 0x54]
jmp 0x7747b202
lea eax, [ecx + 2]
add eax, esi
lea eax, [edi + eax*2]
sub ebx, edi
and ebx, 0xfffffffe
push ebx
push edi
push eax
call fcn.77498b20
add esp, 0xc
add esi, esi
push esi
push dword [ebp + 0xc]
push edi
call fcn.774987e0
add esp, 0xc
cmp byte [ebp - 0x19], 0
je 0x7747b27c
push 0x234
push 0
push 0x77538220
call fcn.77498e60
add esp, 0xc
add edi, esi
mov dword [ebp - 0x24], edi
mov eax, 0x3d
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 0x18]
lea esi, [eax + eax]
push esi
push dword [ebp + 0x14]
push edi
call fcn.774987e0
add esp, 0xc
add edi, esi
mov dword [ebp - 0x24], edi
xor eax, eax
mov word [edi], ax
add edi, 2
mov dword [ebp - 0x24], edi
cmp dword [ebp + 8], eax
jne 0x7747b027
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x290], eax
inc dword [ebx + 0x294]
jmp 0x7747b02a
mov eax, 0xc000000d
jmp 0x7747b039
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
cmp dword [ebx + 0x48], edx
jne 0x7747adca
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x774bfc48
push eax
call fcn.774598e0
mov edx, dword [ebp - 0x20]
test eax, eax
je 0x7747adca
mov byte [ebp - 0x19], 1
jmp 0x7747adca
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [0x77536d3c]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 4
and eax, 0xf
add ecx, eax
mov eax, dword [0x77536d3c]
movzx ecx, word [eax + ecx*2]
mov eax, edx
and eax, 0xf
add ecx, eax
mov eax, dword [0x77536d3c]
mov ax, word [eax + ecx*2]
add ax, dx
movzx edx, ax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
jmp 0x7747ae82
mov eax, esi
shr eax, 8
movzx eax, al
mov ecx, dword [0x77536d3c]
movzx ecx, word [ecx + eax*2]
mov eax, esi
shr eax, 4
and eax, 0xf
add ecx, eax
mov eax, dword [0x77536d3c]
movzx ecx, word [eax + ecx*2]
mov eax, esi
and eax, 0xf
add ecx, eax
mov eax, dword [0x77536d3c]
mov ax, word [eax + ecx*2]
add ax, si
movzx esi, ax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
jmp 0x7747ae8a
mov dword [ebp - 0x34], 0xc000009a
jmp 0x7747b027
mov dword [ecx], eax
jmp 0x7747afcb
lea edi, [esi + esi]
mov esi, dword [ebp - 0x30]
add esi, 2
add esi, edi
mov eax, ebx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x4c], ecx
sub eax, ecx
and eax, 0xfffffffe
push eax
push ecx
push esi
call fcn.77498b20
add esp, 0xc
sub esi, 2
xor eax, eax
mov word [esi], ax
push edi
push dword [ebp + 0x14]
sub esi, edi
push esi
call fcn.774987e0
add esp, 0xc
mov edx, dword [ebp - 0x20]
cmp dword [ebp + 8], 0
jne 0x774bfd48
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x48], edx
mov eax, dword [ebp - 0x48]
mov dword [ecx + 0x290], eax
inc dword [ecx + 0x294]
cmp byte [ebp - 0x19], 0
je 0x774bfd6a
push 0x234
push 0
push 0x77538220
call fcn.77498e60
add esp, 0xc
mov edi, dword [ebp - 0x4c]
jmp 0x7747b016
mov edi, dword [ebp - 0x4c]
jmp 0x7747b019
mov ecx, dword [ebp + 0x18]
lea eax, [esi + ecx]
lea eax, [eax*2 + 6]
xor edx, edx
jmp 0x7747b0c2
xor esi, esi
jmp 0x7747b103
xor ecx, ecx
mov word [eax], cx
jmp 0x7747b181
mov dword [ecx], eax
mov ebx, dword [ebp - 0x28]
jmp 0x7747b1a4