Function at 0x4dcc20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ddb7d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004f5d80
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CWinApp.0
cmp dword [ebp + 8], 0
je 0x4dcc96
mov ecx, dword [ebp + 8]
push ecx
call fcn.007a3350
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x50], eax
jmp 0x4dcca0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], 0
call fcn.005d0240
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4dccba
mov dword [ebp - 0xc4], 1
jmp 0x4dccc4
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x4dcce7
push 0xc1
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dcce7
int3
cmp dword [ebp - 0x1c], 0
jne 0x4dccf3
call fcn.004d7c10
nop
xor eax, eax
jne 0x4dcca8
mov ecx, dword [ebp - 0x18]
add ecx, 0x74
call fcn.004272e0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4dcd17
mov dword [ebp - 0xc8], 1
jmp 0x4dcd21
mov dword [ebp - 0xc8], 0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x4dcd44
push 0xc3
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dcd44
int3
cmp dword [ebp - 0x24], 0
jne 0x4dcd50
call fcn.004d7c10
nop
xor eax, eax
jne 0x4dcd05
call fcn.004f5f70
test eax, eax
je 0x4dcd71
push 0xc4
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dcd71
int3
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [edx + 4], eax
call fcn.004f5f70
cmp eax, dword [ebp - 0x14]
je 0x4dcd98
push 0xc6
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dcd98
int3
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp esi, esp
call fcn.00784930
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x2c], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x30], eax
call fcn.005d0240
cmp dword [eax + 4], 0
je 0x4dcde1
push 0xcb
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dcde1
int3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
call fcn.00490d20
cmp eax, dword [ebp - 0x14]
je 0x4dce08
push 0xcd
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_appcore.cpp
call fcn.004053b0
test eax, eax
je 0x4dce08
int3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x68], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x6c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x58], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x8c], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x5c], 0
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x9a], ax
xor edx, edx
mov eax, dword [ebp - 0x14]
mov word [eax + 0x98], dx
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x94], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x90], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x88], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x74], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x78], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x9c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xa4], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x70], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xa0], 0x200
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xac], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xb0], 0x493e0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xb4], 1
mov dword [ebp - 0xbc], 0x94
mov esi, esp
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp esi, esp
call fcn.00784930
cmp dword [ebp - 0xb8], 6
jne 0x4dcf66
cmp dword [ebp - 0xb4], 1
jae 0x4dcf7b
cmp dword [ebp - 0xb8], 6
ja 0x4dcf7b
mov dword [ebp - 0xcc], 0
jmp 0x4dcf85
mov dword [ebp - 0xcc], 1
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 0xb8], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xbc], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0xc4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc8], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xc0], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x4dd010]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00783b00
add esp, 0xcc
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4