Function at 0x4372dc
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4372e5
xchg dword [ebp - 4], ecx
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
xor eax, eax
push ebp
push 0x437571
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x400
mov eax, dword [ebp + 8]
mov ecx, 1
mov edx, dword [0x41dcec]
call fcn.004061f4
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 1], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 2], 0
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0041e8a8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x437355
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4373d7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 4], 0x10
mov dword [ebp - 0xc], 5
mov edx, ebx
mov eax, dword [0x43247c]
call fcn.00432580
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4373c7
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x4373b1
push 4
push 0x10
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0043251c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0041e1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4373ce
lea eax, [ebp - 0x10]
call fcn.0040e4b8
ret
mov eax, dword [0x4402cc]
mov eax, dword [eax]
mov edx, ebx
call fcn.0042bef0
test al, al
je 0x437460
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 4], 4
mov edx, ebx
mov eax, dword [0x43247c]
call fcn.00432580
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x437450
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x10], 0
je 0x43743a
push 4
push 4
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.0043251c
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0041e1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437457
lea eax, [ebp - 0x10]
call fcn.0040e4b8
ret
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov byte [eax + 3], 3
mov esi, ebx
mov eax, esi
test eax, eax
je 0x437476
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov byte [edx + 4], al
mov dword [ebp - 0xc], 5
mov eax, esi
test eax, eax
je 0x437490
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4374bd
lea ecx, [ebp - 4]
mov dl, 1
mov eax, ebx
call fcn.0041f7d4
mov eax, esi
test eax, eax
je 0x4374ab
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
push eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041e1d8
mov eax, esi
test eax, eax
je 0x4374c8
sub eax, 4
mov eax, dword [eax]
add dword [ebp - 0xc], eax
mov eax, dword [0x4402cc]
mov eax, dword [eax]
movzx edx, word [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push 2
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0041fb6c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
xor edx, edx
call fcn.0041e1d8
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 8]
call fcn.00406038
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov ecx, 1
mov edx, dword [0x41dcec]
call fcn.004061f4
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00406038
push eax
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0041e1d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437578
lea eax, [ebp - 0x24]
mov edx, dword [0x41dcec]
mov ecx, 3
call fcn.00405ac0
lea eax, [ebp - 0x14]
call fcn.00404f64
lea eax, [ebp - 4]
mov edx, dword [0x41dcec]
call fcn.00406200
ret