Function at 0x40ca3c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Contain obfuscated stackstrings
Get file version info
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x40ca45
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
call fcn.00403738
xor eax, eax
push ebp
push 0x40cec8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov edx, 0x3c
call fcn.004027c8
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403748
mov ebx, eax
push ebx
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jbe 0x40ce8c
mov eax, dword [ebp - 0xc]
call fcn.00402590
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x40ce7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push 0x40ced8
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
push ebp
lea eax, [ebp - 0x24]
call fcn.0040c308
pop ecx
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
call fcn.004033c0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push 0x40cef4
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov ebx, dword [ebp - 4]
mov ax, word [ebx]
mov edx, dword [ebp - 0x10]
mov word [edx], ax
mov eax, dword [ebx + 8]
call fcn.00405788
mov edx, dword [ebp - 0x10]
mov word [edx + 2], ax
mov ax, word [ebx + 8]
mov edx, dword [ebp - 0x10]
mov word [edx + 4], ax
mov eax, dword [ebx + 0xc]
call fcn.00405788
mov edx, dword [ebp - 0x10]
mov word [edx + 6], ax
mov ax, word [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov word [edx + 8], ax
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x1c]
test al, 1
setne al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xa], al
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x1c]
test al, 2
setne al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xb], al
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x1c]
test al, 8
setne al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xc], al
mov eax, dword [ebx + 0x18]
and eax, dword [ebx + 0x1c]
test al, 0x20
setne al
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xc], al
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cf0c
call fcn.00406f34
mov eax, dword [ebp - 0x28]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cf34
call fcn.00406f34
mov eax, dword [ebp - 0x34]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x14
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cf60
call fcn.00406f34
mov eax, dword [ebp - 0x38]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cf88
call fcn.00406f34
mov eax, dword [ebp - 0x3c]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x1c
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cfb0
call fcn.00406f34
mov eax, dword [ebp - 0x40]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x20
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40cfdc
call fcn.00406f34
mov eax, dword [ebp - 0x44]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40d004
call fcn.00406f34
mov eax, dword [ebp - 0x48]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40d030
call fcn.00406f34
mov eax, dword [ebp - 0x4c]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x30
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40d054
call fcn.00406f34
mov eax, dword [ebp - 0x50]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x24
mov edx, dword [ebp - 4]
call fcn.004034e0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x40d084
call fcn.00406f34
mov eax, dword [ebp - 0x54]
call fcn.00403748
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
add eax, 0x34
mov edx, dword [ebp - 4]
call fcn.004034e0
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
call fcn.0040c3a8
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.0040c3fc
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x10]
add eax, 0x38
call fcn.0040337c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce85
mov eax, dword [ebp - 0x20]
call fcn.004025a8
ret
cmp dword [ebp - 0xc], 0
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cecf
lea eax, [ebp - 0x5c]
mov edx, 0xb
call fcn.0040334c
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040334c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040334c
ret