Function at 0x41230c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec4
mov eax, 0x4496f8
call fcn.004398fc
xor edx, edx
mov dword [ebp - 0xa8], edx
lea ecx, [ebp + 0xc]
push ecx
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
lea edx, [ebp - 0xdc]
push edx
call fcn.00412664
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
lea eax, [ebp - 0xec]
push eax
call fcn.00412704
add esp, 8
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0xdc]
push ecx
call fcn.00412720
add esp, 8
test al, al
je 0x41240d
mov eax, dword [ebp + 0xc]
shl eax, 0x18
or eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
lea edx, [ebp - 0xac]
push edx
push dword [ebp + 8]
lea ecx, [ebp - 0xfc]
push ecx
call fcn.00412740
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
call fcn.004127e0
add esp, 8
lea edx, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0xfc]
push ecx
call fcn.004127fc
add esp, 8
test al, al
je 0x4123f9
lea eax, [ebp - 0xfc]
push eax
call fcn.0041281c
pop ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
mov dword fs:[0], edx
jmp 0x41265e
xor eax, eax
mov edx, dword [ebp - 0xa4]
mov dword fs:[0], edx
jmp 0x41265e
mov word [ebp - 0x94], 0xc
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041027c
pop ecx
inc dword [ebp - 0x88]
mov word [ebp - 0x94], 0x18
lea eax, [ebp - 0x20]
push eax
call fcn.0041282c
pop ecx
mov word [ebp - 0x94], 0x24
lea edx, [ebp - 0x30]
push edx
call fcn.00413034
pop ecx
inc dword [ebp - 0x88]
mov word [ebp - 0x94], 0x18
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
push ecx
call fcn.00413170
add esp, 8
mov byte [ebp - 0xad], 0
jmp 0x412559
lea eax, [ebp - 0x30]
push eax
call fcn.0041322c
pop ecx
mov dword [ebp - 0xb4], eax
mov word [ebp - 0x94], 0x18
cmp dword [ebp - 0xb4], 0
je 0x41254f
push dword [ebp - 0xb4]
call fcn.004122e0
pop ecx
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
shr edx, 0x18
cmp edx, dword [ebp + 0xc]
jne 0x4124e0
mov ecx, dword [ebp - 0xb8]
and ecx, 0xffff
cmp ecx, dword [ebp + 0x10]
jne 0x4124e0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 0xad], 1
mov edx, dword [ebp - 0xb8]
and edx, 0xff00ffff
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xb4]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0041286c
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xc4]
push edx
call fcn.00412888
add esp, 8
lea ecx, [ebp - 0xc4]
push ecx
push dword [ebp + 8]
lea eax, [ebp - 0x124]
push eax
call fcn.004128c0
add esp, 0xc
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x20]
push ecx
call fcn.00412a70
add esp, 8
lea eax, [ebp - 0x30]
push eax
call fcn.00414334
pop ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00413218
pop ecx
test al, al
je 0x412476
mov word [ebp - 0x94], 0x30
add esp, 0xffffffe0
lea ecx, [ebp - 0x20]
push ecx
lea eax, [esp + 4]
push eax
call fcn.00412ad8
add esp, 8
inc dword [ebp - 0x88]
mov word [ebp - 0x94], 0x3c
push dword [ebp + 0xc]
lea edx, [ebp - 0x58]
push edx
mov word [ebp - 0x94], 0x30
dec dword [ebp - 0x88]
call fcn.00412bac
add esp, 0x28
lea ecx, [ebp - 0x58]
push ecx
add dword [ebp - 0x88], 2
lea eax, [ebp - 0x80]
push eax
call fcn.00412c1c
add esp, 8
add dword [ebp - 0x88], 2
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
push ecx
lea eax, [ebp - 0x13c]
push eax
call fcn.00412c68
add esp, 0xc
dec dword [ebp - 0x88]
dec dword [ebp - 0x88]
push 2
lea edx, [ebp - 0x78]
push edx
call fcn.004102c8
add esp, 8
dec dword [ebp - 0x88]
dec dword [ebp - 0x88]
push 2
lea ecx, [ebp - 0x50]
push ecx
call fcn.004102c8
add esp, 8
mov eax, dword [ebp - 0xa8]
push eax
dec dword [ebp - 0x88]
push 2
lea edx, [ebp - 0x30]
push edx
call fcn.0041311c
add esp, 8
dec dword [ebp - 0x88]
push 2
lea ecx, [ebp - 0x20]
push ecx
call fcn.004102c8
add esp, 8
pop eax
mov edx, dword [ebp - 0xa4]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret