Function at 0x402140
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415c90
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
mov eax, dword [0x479010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], str.36wWITLTE1NVVNk0zo1c0iT4587RAaWeHpXkN9IsXy6NBvBHeVXEs2QTvsJtXhXKsaJ8BcAklhmouY0q7rzAckdUvo4YITuChRMUodykmQeQUJnjj57duomTx0PUWjiHPRcYUUILPf1BejWrCRYn8Yz8hGp3IRANAkcivD4nRNEeMnnQEEIFnt2jGbNhb2VGLf8yViqlMaJxXEFyL41o5NLD3xFNrij5nrv9vkzlegvw8Wgu5CFwytLJO8kWEg5G9zYa7Oas4rNnHaVytCFLDAQENGGiXCY6B9jo3nHesi9x5gTCCe7wGOKW0ekzy7bU3qsldfEHOMGBIgJtUpgRAp6BI9uLDzcFxAsdYbjjPcdn4jqTyWsDJcp4x803oTVQRAwTfySYra8TzAkBvugj1y4chcnL37ITCd11rkt4QzwnIodgsvl7Rwmm2HLvQfgeb5pRt14pyK7e13euUguVdBvl9kV33sF9CFkuMIygjff6X1TQ6SEqwYypi6imUXoYQeyzm6Hm50TN6NbS4jVSKmufjjUCI4k0vRYyEraTbgIoWYn5yjyko292oFweM9Kn0xEyFzut9CX55edQ8uSurSimXaqLqEiiwYNoUT8dKXyj5iLA6hqNqlxiG6C2W82RYOHBppqD7y3Kw0yEwUQnmsrmx8K0Jcn98rRqGGzJyVDe1esjguW4MPpvJe3T8wbap7TMORHXE09Mb0JPVVCpMFKbLIq6vSDS4TxkmGPdkY4GDk4pSWYDUHFfnerdg8nf8IGoprPOEpvn5ovbg9dHijf2zHh4Ocp7lhn1y2vC5bex9mugXSGfwntjEsKDA56lfaNXUSxRft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ka5Yc29hYCSB8P0wVkpmOogEdeKRs8I63dUkM9vg2M0WT6LP5OOKQdBS9gN94qtdQ1cYynIALOz4XIwfHiIqqgbaGRIYbmAPJTpS7f9zxSdl1sXmUBb3Epin1roaIOnVoIFSyuv9V7AvFQxYw4O96Mz0xpNTytYBdPDIp9PTFGrIw9A30zQ8LQXdTbYKtJo6j8A0Fxw3KOCv7rdByw40zBaVb7d8hzhzYakYCylbp1pTdcsrIYNfqudWla7RcSuCo4cIsj79oj6W5OE0U072kifyxWXx2FuIuKW27gtCLAcdUHISWTWARLl1sR0jO2bcnG4i0h0pTJkKnMMJmmW1Jm79GHKCghsvyeQKCTNT71qVFe3g5XxbNeDnGM0gGUg8VIjsEnv3ydCtJpEhtjQO4czJROMn3FwDMqfjWDeojxmp6RPCeRQtEP3Ks0rnXrdIMCf2qnD3jDl5UoNhv8exPpHDDXw3Gmh6YsDadUSIrEwb2WLfMure3QI5rOTv7KJ2rri5GYdV2JrEDFoTaf5lRpUHGeocxaDVGXXSHu2vAReOP6uVyOp2lFtmLU5TjS4tQulI2WY9hsm1Sit01THI5BqF1778vdg0UOPKLLkVLKzO3gNhKBTLigih69rqhyM2VQk4K9qBgEtgNlB837hv1uMyeTRMYHNhRy2IE5NEtxCNSeAabGveX1Jz7Q7EgI8HMYAIQs7eDspomT9arEF9Ik9502NW12epJg00uWaetX9ouGj58sdrxM6AC4p2rnaKLBGvx5Scfe0EQgJ9zz0guzSggakHXOFhYiq5EbnrJ15
mov dword [ebp - 4], 0
mov byte [ebp - 0x15], 0
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 0x15], al
movsx eax, byte [ebp - 0x15]
test eax, eax
je 0x4021a5
mov byte [ebp - 0x16], 1
jmp 0x4021a9
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x16]
jmp 0x4021d1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040a57e
mov esp, ebp
pop ebp
ret