Function at 0x4021b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415c80
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.dxNlvs7WP3ryhy05mJXUnLj4CqzlUgK6wNTS4NF98gkNTUNhI0OwvG2RtKTMvWN4hfdLMer9VWWhx8g4AB95Ljr2DdIeU3K4JDmrSk8KhGdCpw0UbSriGDswOHtkl5ctul9qF1mz5dF2gl5y0OoWR5W4xhkgCucRtpBdzFJYYpyctI2XSYPL0pKab8aJaCf9XwXj22O7ziRlXFPq2CSzQPD5VCw0SEjrxWFhCc6Ra2gaf7TrUDO7fUlPOdHJnJLa7GmDWG3RWU8VnP8Onw7d6AxfFwFfJOvYUjPXJr4AWnwoF3qsf2NSoY74agLSAXpPAsWyKNwo1Vh60QfSwjHKNEAxV47f3YpsaH2ekvEi2s6NC5E1juq9ctYU2NE8VMhqeA13ViSbTcWpk3e3izNIyM0ezs7vQCjxGVQb6epwDFp50urT3GqBsQQN1BplqdKlfGdgWgU1C6e4AvMhW7vs5Pbd7xEzqALcrVqsbfuAwhnz7DFDdh2r9M4jY7adEdwbFUAr4TIvnF2RFKtfQIFfWB3c4Rtf1V7a72rprSCewnzcsaw4K9K6pa9f6YjIsYAMNLr5JIGyC8AQJw5RBpoFX9O7Q4WVoMSVs0fd60q5LwQpthiloWse2MMzJxKeqmYgsPb9dkw8Vka8BtPoYnQFnrUTnuwnNsP6FXuDGfzMTHAVjkADusd9HJRE5nUzHQDhBMBLjEsudogcUi3xpFcJGYCCcI0U47IkjiS6bMJStdEitCSdM2kWjOLO39dtAFyui4vACeCOi4EtRnTuaa2KKfCp1lmhKLKGCfCIfQVlhWx2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ebp - 0x15], 0
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
mov byte [ebp - 0x15], al
mov dword [ebp - 0x24], str.lEu6H8thLSe447qdYrIgoHtU0GD46fRjl3u1GNFlK43MeDOa18z6ev0niwKNKhgmAkwTUizAHGMMDgXblFKnFzPfCNgu7lCBTYN42YKhQ9sGtf2fWmwWSW2a8v44EbidTBepa4gVIylb0e4aDDTaxy83fkirTPB75Wog5GzmcDTXwe6t33AUWe34LwgAtOMXKSAx6QDCsIMJtG9wDiXCXEfGN2sr505f1rQE8tO42OTekp8nIfb93qyCMpD1uBDaQNRvFk0gMzhaEBXSqR1Xc3jOvSHhyjBH3g4yK6r4SgeiQ5jMmLXTMupi03mzv77d7bn3YWkKE6LsEE4yPmfNAGbFlu5UikkU86KL6nLESLGV3QwEVUXDnkitHhhQAeF4WkGQ2KiFdsI66T769XmiTUFhfV6UEYt4aN7XsktvzOx2KrxhGiCHhU1seJdiDfiI1D3QrhDI4dhrQBLPmSYU0KMd5EMIA717parjpJSGVHCBaX1PDSG1YNfAlkuvr8HHRTjffP5Ay3MnixMABH1bvmmrJ8yw1iLdyAFDaBQtrItbLOPM1SdHfJUt58Hg24PKi8zvM3AcgTT11IcqeeBSi8rcGY5u7oMDhieStnsTIctInofqMAFeGIVWR0keo5pYdW3Y2lQuRkVmxRY23t9lGNg775kP5dhW8ToIMQ9qXh6osV1s0zOp1BvGheoySinkoNVhUM9zLKQgFfQ3E0JurRJOxmxxHydveNA9hfFTrqSeS6tH0ld1nv2KwnAFxVNqMqy9mwwrwSCnUxqVPENGTGsPd68Ix3EC7Hhrg6AjWIjCJjKLSqmBFJ9r0ktg0eQc66ttKFHG3rTIsPYTMAY82dc4DNLIlxVPyx95g9LQyw8glgdx1y30XSKhkfQk9GYOcpxoyHcghFrzNLq5IVMQnGoBNtHEKoMhaxLbtOMplKKhPyqRaWwbobdhR0TEf18OazdVfHRESdQ3QTrJJejOW93nzOtlnAjgIad4k1M2XCnqyHMwpWX4nwxp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OdMHU8EaHQzIME33mtoNGrp23cL088VJId6THG2BVzC9lTmHm7wzD2kuqrv4jRdn1tThA1P197l5PANvUl8W4bhmexV3C4mkOdgdUO0SgUpDchsLUEVwjCn8dpKqM2pCI5LpBokbrM79myMK5lPBiHDItckQucLf2x7i1Bwk9Nl6j9FFPxQdpkXxlsEbs3gaOR8V5Tcb5qIf1NmHoda2zW9po3owq96fVdPbfjP3eqputpvXK84teFREu8N7a8Rm1vkwqpOJQSiXHRawFU1Fl7H0LeNsqJxiqxTc6opsqeQ1JdJqL2qRsuosgsQEPNt8TxLxjpDnVMhdKOgoU2ihuiMkX9e14Wj8e2WVQdJkgXA4NvtsEfEbiqEoAaUKYU1wrfHHJagFARS4Cn3N6agl0fqGFaILAv0brpKkJPtvYHFBA8Xcokjrs3GWjqnr7Qid6SdelEKH3hlxlPQAGnl9jQaC6NqC6pBUl6AMPQENRXcaLQXa92i3YAGQ9HoyiYgP5xKlgsP34Jof3TbfW5wICXfv49C0MFdDgO0aoo7oM801B03pioJFbw071Go9RV5hRz0vOmruEgY68wKroV5mlFeWDuPCCLyDCL4pNV3P4lN5y2GqJu6BTzogeD6CxRKsrX9DBKBTbyXOJSdPalEWsvzxhhqgMRc17peujaXLVjbUq6FGQ3IxXTnUkVKbaWFN4zqLQ4z05FNG2bstegl4JICGVEbkesIRiLgyr05cr9caOLJelw2tsAgeGTLoqQzJldIbEalXVCEeSEjuNeM04MxTityS0Kbso3gfoonUvopu9MKlLH07SdO5wBv11TaBafLDRbtGf5Fijehm39yAypJ9dUxOndShVICsCC3WhLBMXbQCWDMp1z4xinw2PHm4BgA9xtNl
movsx eax, byte [ebp - 0x15]
test eax, eax
je 0x402215
mov byte [ebp - 0x16], 1
jmp 0x402219
mov byte [ebp - 0x16], 0
mov al, byte [ebp - 0x16]
jmp 0x402241
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.0040a56e
mov esp, ebp
pop ebp
ret