Function at 0x407e70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x447508
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4555b4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4555b4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x20], eax
mov dword [eax], ebx
mov eax, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407ed2
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x30]
call fcn.00403890
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x40]
cmp ecx, 8
mov edx, dword [esp + 0x2c]
jb 0x40803d
cmp edx, ebx
mov esi, edx
mov dword [esp + 0x14], esi
je 0x407f30
cmp ecx, 8
mov eax, edx
jae 0x407f16
lea eax, [esp + 0x2c]
cmp eax, esi
ja 0x407f30
cmp ecx, 8
mov eax, edx
jae 0x407f25
lea eax, [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
lea eax, [eax + ebp*2]
cmp esi, eax
jbe 0x407f41
call fcn.0042ab0d
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp ecx, 8
mov eax, edx
jae 0x407f4c
lea eax, [esp + 0x2c]
lea edi, [eax + ebp*2]
cmp edi, ebx
je 0x407f74
cmp ecx, 8
mov eax, edx
jae 0x407f5e
lea eax, [esp + 0x2c]
cmp eax, edi
ja 0x407f74
cmp ecx, 8
mov eax, edx
jae 0x407f6d
lea eax, [esp + 0x2c]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x407f85
call fcn.0042ab0d
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp ecx, 8
lea ebx, [esp + 0x28]
jb 0x40804c
test edx, edx
mov esi, edx
je 0x407fb9
cmp ecx, 8
mov eax, edx
jae 0x407fa3
lea eax, [esp + 0x2c]
cmp eax, esi
ja 0x407fb9
cmp ecx, 8
mov eax, edx
jae 0x407fb2
lea eax, [esp + 0x2c]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x407fbe
call fcn.0042ab0d
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
mov ecx, eax
push ecx
push edi
push ebx
push esi
push eax
lea eax, [esp + 0x2c]
call fcn.004094f0
mov esi, dword [esp + 0x34]
add esp, 0x18
lea eax, [esp + 0x14]
push eax
add esi, 0x3c
push esi
lea eax, [esp + 0x30]
call fcn.00408620
mov edi, dword [esp + 0x14]
test edi, edi
mov ebx, dword [esi + 4]
je 0x407fff
cmp edi, esi
je 0x408004
call fcn.0042ab0d
mov ebp, dword [esp + 0x18]
cmp ebp, ebx
je 0x408055
test edi, edi
jne 0x408015
call fcn.0042ab0d
cmp ebp, dword [edi + 4]
jne 0x40801f
call fcn.0042ab0d
cmp dword [esp + 0x40], 8
mov ebp, dword [ebp + 0x28]
jb 0x408036
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00429c36
add esp, 4
mov eax, ebp
jmp 0x4080ec
lea eax, [esp + 0x2c]
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x407f0b
lea esi, [esp + 0x2c]
jmp 0x407f98
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [edx], 1
cmp word [ecx], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x14]
je 0x408079
cmp word [ecx + 2], 0x3a
jne 0x408079
xor eax, eax
sub eax, 0
je 0x4080bd
sub eax, 1
je 0x4080ad
sub eax, 1
je 0x4080a1
push 0x30
call fcn.0042ae06
add esp, 4
test eax, eax
je 0x40809d
call fcn.00410720
jmp 0x4080c8
xor eax, eax
jmp 0x4080c8
mov eax, dword [esp + 0x60]
push eax
call fcn.00407de0
jmp 0x4080c8
mov eax, dword [esp + 0x60]
push eax
mov eax, ecx
mov ecx, edx
call fcn.00407d70
jmp 0x4080c8
mov eax, dword [esp + 0x60]
push eax
push edx
call fcn.00407c80
push esi
lea ecx, [esp + 0x2c]
mov edi, eax
call fcn.00408520
mov dword [eax], edi
cmp dword [esp + 0x40], 8
jb 0x4080ea
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00429c36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00429d78
add esp, 0x44
ret 0xc