Function at 0x403cd8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov byte [ebp - 0x30], dl
test dl, dl
jle 0x403ced
call fcn.004760cc
mov edi, ecx
mov byte [ebp - 0x51], dl
mov dword [ebp - 4], eax
lea ebx, [ebp - 0x50]
lea esi, [ebp - 4]
mov eax, 0x478cd0
call fcn.0046b8cc
mov word [ebx + 0x10], 8
xor ecx, ecx
xor edx, edx
mov eax, dword [esi]
call fcn.0041b7f4
add dword [ebx + 0x1c], 2
mov edx, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [edx + 0x30], ecx
mov edx, edi
mov eax, dword [esi]
add eax, 0x34
call fcn.00475920
inc dword [ebx + 0x1c]
xor edx, edx
mov eax, dword [esi]
add eax, 0x38
mov dword [eax], edx
xor edx, edx
inc dword [ebx + 0x1c]
mov eax, dword [esi]
add eax, 0x3c
mov dword [eax], edx
xor edx, edx
inc dword [ebx + 0x1c]
mov eax, dword [esi]
add eax, 0x40
mov dword [eax], edx
xor edx, edx
inc dword [ebx + 0x1c]
mov eax, dword [esi]
add eax, 0x44
mov dword [eax], edx
xor eax, eax
inc dword [ebx + 0x1c]
lea edx, [ebp - 8]
mov ecx, dword [esi]
mov byte [ecx + 0xf], 1
mov word [ebx + 0x10], 0x20
mov dword [ebp - 8], eax
inc dword [ebx + 0x1c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x34]
call fcn.00420f60
lea edx, [ebp - 8]
mov eax, dword [esi]
add eax, 0x38
call fcn.004759d0
dec dword [ebx + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004759a0
mov word [ebx + 0x10], 0x2c
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0xc]
inc dword [ebx + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call fcn.00425018
lea edx, [ebp - 0xc]
push edx
mov edx, str.curl
lea eax, [ebp - 0x10]
call fcn.004758e8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x10]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x14]
pop eax
call fcn.004759f8
lea edx, [ebp - 0x14]
mov eax, dword [esi]
add eax, 0x3c
call fcn.004759d0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004759a0
mov word [ebx + 0x10], 0x38
xor ecx, ecx
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x18]
inc dword [ebx + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call fcn.00425018
lea edx, [ebp - 0x18]
push edx
mov edx, str.curlbata.bat
lea eax, [ebp - 0x1c]
call fcn.004758e8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x20]
pop eax
call fcn.004759f8
lea edx, [ebp - 0x20]
mov eax, dword [esi]
add eax, 0x40
call fcn.004759d0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004759a0
mov word [ebx + 0x10], 0x44
xor ecx, ecx
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x24]
inc dword [ebx + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x38]
call fcn.00425018
lea edx, [ebp - 0x24]
push edx
mov edx, str.curlbata.ret.txt
lea eax, [ebp - 0x28]
call fcn.004758e8
inc dword [ebx + 0x1c]
xor eax, eax
mov dword [ebp - 0x2c], eax
lea edx, [ebp - 0x28]
inc dword [ebx + 0x1c]
lea ecx, [ebp - 0x2c]
pop eax
call fcn.004759f8
lea edx, [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x44
call fcn.004759d0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004759a0
dec dword [ebx + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004759a0
mov ecx, dword [ebx]
mov dword fs:[0], ecx
mov eax, dword [esi]
cmp byte [ebp - 0x51], 0
je 0x403f35
call fcn.004760d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4