Function at 0x427fa0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45af20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push esi
push edi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
xor esi, esi
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
call fcn.00430ee0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [0x505950], edx
test eax, eax
jns 0x42801b
push esi
and eax, 0x7fffffff
push esi
push 0x4640a8
mov dword [ebp - 0x14], eax
mov dword [0x505944], eax
call eax
mov edi, eax
cmp edi, esi
jne 0x42804c
mov eax, dword [ebp - 0x14]
push esi
push esi
push 0x4640b8
mov dword [0x505944], esi
mov dword [0x50594c], eax
call eax
jmp 0x428042
push 0x4640a8
mov dword [0x505940], eax
call eax
mov edi, eax
cmp edi, esi
jne 0x42804c
mov eax, dword [ebp - 0x14]
push 0x4640b8
mov dword [0x505940], esi
mov dword [0x505948], eax
call eax
mov edi, eax
cmp edi, esi
je 0x428107
push 0x4640d4
push edi
call dword [0x505950]
push 0x4640e4
push edi
mov dword [0x505940], eax
call dword [0x505950]
push 0x4640f0
push edi
mov dword [0x505954], eax
call dword [0x505950]
push 0x46410c
push edi
mov dword [0x50595c], eax
call dword [0x505950]
push 0x464124
push edi
mov dword [0x505960], eax
call dword [0x505950]
push 0x46413c
push edi
mov dword [0x505964], eax
call dword [0x505950]
push 0x464148
push edi
mov dword [0x50596c], eax
call dword [0x505950]
push 0x464154
push edi
mov dword [0x505970], eax
call dword [0x505950]
push 0x464160
push edi
mov dword [0x505974], eax
call dword [0x505950]
push 0x46416c
push edi
mov dword [0x505978], eax
call dword [0x505950]
push 0x464180
push edi
mov dword [0x50597c], eax
call dword [0x505950]
mov dword [0x505980], eax
push 0x464190
call dword [0x505940]
test eax, eax
jne 0x42812b
mov eax, dword [ebp - 0x14]
push 0x46419c
mov dword [0x505940], esi
mov dword [0x505948], eax
call eax
call fcn.00430ed0
mov ebx, eax
mov dword [ebp - 0x28], ebx
call fcn.00430fb0
mov edi, eax
mov dword [0x505470], esi
cmp dword [edi + 0x10], esi
jne 0x42815a
cmp dword [edi], esi
jne 0x42815a
cmp dword [edi + 0xc], esi
jne 0x42815a
cmp dword [edi + 4], esi
jne 0x42815a
cmp dword [edi + 8], esi
je 0x4281cb
mov eax, dword [edi + 0xc]
add eax, ebx
push eax
call dword [0x505940]
mov ecx, dword [0x505470]
mov dword [ecx*4 + 0x505540], eax
mov esi, dword [edi]
mov eax, dword [esi + ebx]
add esi, ebx
mov ebx, dword [edi + 0x10]
add ebx, dword [ebp - 0x28]
test eax, eax
je 0x4281b8
add esi, 4
test eax, eax
jns 0x428192
and eax, 0xffff
jmp 0x428199
mov edx, dword [ebp - 0x28]
lea eax, [eax + edx + 2]
push eax
mov eax, dword [0x505470]
mov ecx, dword [eax*4 + 0x505540]
push ecx
call dword [0x505950]
mov dword [ebx], eax
mov eax, dword [esi]
add ebx, 4
test eax, eax
jne 0x428184
inc dword [0x505470]
mov ebx, dword [ebp - 0x28]
add edi, 0x14
xor esi, esi
jmp 0x428142
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.00430e70
mov edx, dword [ebp - 0x1c]
cmp edx, esi
je 0x428273
mov ecx, dword [ebp - 0x18]
add edx, ebx
lea edi, [edx + ecx]
mov dword [ebp - 0x40], edi
call fcn.00429160
sub ebx, eax
mov dword [ebp - 0x38], ebx
cmp edx, edi
jae 0x428273
mov ebx, dword [0x45c22c]
mov eax, dword [edx + 4]
mov edi, dword [edx]
lea ecx, [edx + 8]
add edx, eax
add eax, 0xfffffff8
shr eax, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], edx
je 0x42826e
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, word [eax]
test eax, 0xf000
je 0x428264
and eax, 0xfff
lea ecx, [ebp - 0x2c]
push ecx
add eax, edi
add eax, dword [ebp - 0x28]
push 4
mov esi, eax
push 0x10
push esi
mov dword [ebp - 0x2c], 0
call ebx
mov edx, dword [ebp - 0x38]
add dword [esi], edx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
push eax
push ecx
push 0x10
push esi
call ebx
mov edx, dword [ebp - 0x3c]
xor esi, esi
add dword [ebp - 0x30], 2
sub dword [ebp - 0x34], 1
jne 0x428222
cmp edx, dword [ebp - 0x40]
jb 0x428208
push 0x505988
call dword [0x50595c]
jmp 0x428286
call fcn.00431000
push esi
push 1
push esi
call eax
push esi
call fcn.004417d7
add esp, 4
push eax
call fcn.004403cb
add esp, 4
call fcn.004403dd
mov dword [0x505e90], eax
call fcn.00427840
push 0x3c
push esi
push 0x5054f0
call fcn.00442d40
mov esi, dword [0x45c1e8]
add esp, 0xc
call esi
mov ebx, dword [0x45c224]
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x428301
lea edx, [ebp - 0x5c]
push edx
call ebx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call dword [0x45c244]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [0x504664], edx
mov dword [0x504660], eax
push 0x1000
call fcn.0043fef7
add esp, 4
push 0x1000
mov edi, eax
push 0
push edi
call fcn.00442d40
add esp, 0xc
push edi
call fcn.0043ff02
add esp, 4
call esi
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x42835d
lea ecx, [ebp - 0x5c]
push ecx
call ebx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [0x45c244]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [0x504628], ecx
mov dword [0x502e24], edx
call fcn.00430f50
xor ecx, ecx
mov esi, eax
mov edx, 0x18
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043fef7
mov edi, eax
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
add esp, 4
add eax, eax
push eax
push 0
push edi
call fcn.00442d40
xor ecx, ecx
add esp, 0xc
mov eax, esi
mov edx, 4
mul edx
seto cl
mov dword [0x505474], edi
neg ecx
or ecx, eax
push ecx
call fcn.0043fef7
mov edi, eax
add esp, 4
lea eax, [esi*4]
push eax
push 0
push edi
call fcn.00442d40
add esp, 0xc
mov dword [0x50593c], edi
mov edi, dword [0x505474]
test esi, esi
jbe 0x4283ef
lea ebx, [ebx]
push edi
call dword [0x50595c]
add edi, 0x18
sub esi, 1
jne 0x4283e0
lea ecx, [ebp - 0x5c]
push ecx
call ebx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x5c]
push eax
call dword [0x45c244]
cmp dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], ecx
je 0x428423
mov dword [0x502e24], eax
mov dword [0x504628], ecx
mov dword [ebp - 0x4c], 8
mov dword [ebp - 0x48], 0x20
call fcn.00431320
test al, 2
je 0x428472
call fcn.00431340
test eax, eax
je 0x428472
mov eax, dword fs:[0x30]
movzx eax, byte ds:[eax + 2]
test eax, eax
je 0x428472
push 0
push 0x464078
push 0x46408c
push 0
call dword [fcn.0045c28c]
push 0
push 1
call fcn.00429aa0
add esp, 8
lea ecx, [ebp - 0x4c]
push ecx
call dword [0x45c044]
call fcn.00414350
test eax, eax
je 0x42848a
call fcn.00427d90
call fcn.00428ed0
call fcn.0041fa30
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0x428580
push 0
push 0
mov dword [ebp - 0x24], 0
call dword [0x45c144]
push 0xffffffffffffffff
call dword [0x45c124]
call fcn.00431320
test al, 2
je 0x428519
mov eax, dword fs:[0x18]
mov eax, dword fs:[0x30]
lea eax, ds:[eax + 2]
mov bl, byte [eax]
mov byte [ebp - 0xd], bl
mov byte [eax], 0x90
call dword [0x45c1f4]
push eax
mov eax, dword fs:[0x18]
mov eax, dword fs:[0x30]
lea eax, ds:[eax + 2]
mov bl, byte [ebp - 0xd]
mov byte [eax], bl
pop eax
cmp eax, 0x90
mov eax, 0
je 0x428509
mov eax, 1
test eax, eax
je 0x428519
push 0
push 1
call fcn.00429aa0
add esp, 8
call fcn.00431360
test eax, eax
jne 0x428537
call fcn.00438f60
test eax, eax
je 0x428537
push 0
push 1
call fcn.00429aa0
add esp, 8
push 0
call fcn.00414370
mov ecx, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret