Function at 0x40c940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4e2637
mov eax, dword fs:[0]
push eax
mov eax, 0x2880
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x287c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x2894]
mov dword fs:[0], eax
push 0
push str.TC_DefenderReal
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderSendSample
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571aca], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a01c], al
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderScanSchedule
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571acb], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a090], al
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderScanQuick
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571acc], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a500], al
call fcn.00491d40
add esp, 0x40
push 0
test eax, eax
push str.TC_DefenderScanNet
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571acd], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a3a4], al
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderLogCut
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571ace], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a418], al
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderScanRemDvr
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571acf], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a104], al
call fcn.00491d40
push 0
test eax, eax
push str.TC_DefenderLogAct
setne al
push str.SOFTWARETrojanCut_tc_Env
mov byte [0x571ad0], al
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esi + 0x1a48c], al
call fcn.00491d40
add esp, 0x40
test eax, eax
setne al
mov byte [0x571ad1], al
push 0x2800
mov byte [esi + 0x1a178], al
lea eax, [esp + 0x94]
push eax
push str.tc_DefenderFolderExp
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
or edi, 0xffffffff
add esp, 0x14
cmp eax, edi
jne 0x40caea
mov byte [esp + 0x90], 0
push ecx
lea edx, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x28a0], 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x28a4], edi
call fcn.0048eab0
add esp, 8
mov ebp, 1
mov dword [esp + 0x289c], ebp
push eax
mov ecx, 0x571b48
call dword [sym.imp.mfc90.dll_Ordinal_817]
push eax
mov ecx, 0x571b40
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov dword [esp + 0x289c], edi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call sub.mfc90.dll_Ordinal_580
mov dword [esp + 0x289c], 2
push 0
mov ecx, 0x571b48
call dword [sym.imp.mfc90.dll_Ordinal_899]
test al, al
je 0x40cb8f
push 0x502210
lea ecx, [esp + 0x1c]
push ecx
push 0x571b48
call fcn.00492540
add esp, 0xc
mov edx, dword [esi + 0x1a220]
push 0
push 0
push 0x1009
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x40cc53
lea ebx, [esi + 0x1a200]
push 0x34
lea eax, [esp + 0x3c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x6de
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x289c], 3
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push edi
push ebp
mov ecx, ebx
call sub.mfc90.dll_Ordinal_4252
mov byte [esp + 0x289c], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
test edi, edi
jl 0x40cfd0
cmp edi, dword [esp + 0x20]
jge 0x40cfd0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x1a220]
lea eax, [esp + 0x38]
push eax
push 0
push 0x1006
push ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
add edi, ebp
cmp edi, dword [esp + 0x20]
jl 0x40cbb7
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_6494
push 0x2800
lea edx, [esp + 0x94]
push edx
push str.tc_DefenderExtExp
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40cc91
mov byte [esp + 0x90], 0
push ecx
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x28a0], 4
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x28a4], 2
call fcn.0048eab0
add esp, 8
mov byte [esp + 0x289c], 5
push eax
mov ecx, 0x571b44
call dword [sym.imp.mfc90.dll_Ordinal_817]
push eax
mov ecx, 0x571b3c
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x289c], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
mov ecx, 0x571b44
call dword [sym.imp.mfc90.dll_Ordinal_899]
test al, al
je 0x40cd1d
push 0x502210
lea edx, [esp + 0x1c]
push edx
push 0x571b44
call fcn.00492540
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x40cdcc
lea ebx, [esi + 0x1a200]
nop
push 0x34
lea eax, [esp + 0x3c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x6dd
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x289c], 6
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push edi
push ebp
mov ecx, ebx
call sub.mfc90.dll_Ordinal_4252
mov byte [esp + 0x289c], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
test edi, edi
jl 0x40cfd0
cmp edi, dword [esp + 0x20]
jge 0x40cfd0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x1a220]
lea eax, [esp + 0x38]
push eax
push 0
push 0x1006
push ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
add edi, ebp
cmp edi, dword [esp + 0x20]
jl 0x40cd30
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_6494
push 0x2800
lea edx, [esp + 0x94]
push edx
push str.tc_DefenderProcessExp
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491b30
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40ce0a
mov byte [esp + 0x90], 0
push ecx
lea eax, [esp + 0x94]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x28a0], 7
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0x28a4], 2
call fcn.0048eab0
add esp, 8
mov byte [esp + 0x289c], 8
push eax
mov ecx, 0x571b30
call dword [sym.imp.mfc90.dll_Ordinal_817]
push eax
mov ecx, 0x571b2c
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x289c], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
mov ecx, 0x571b30
call dword [sym.imp.mfc90.dll_Ordinal_899]
test al, al
je 0x40ce96
push 0x502210
lea edx, [esp + 0x1c]
push edx
push 0x571b30
call fcn.00492540
add esp, 0xc
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x40cf44
lea ebx, [esi + 0x1a200]
push 0x34
lea eax, [esp + 0x3c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x6df
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x289c], 9
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
push edi
push ebp
mov ecx, ebx
call sub.mfc90.dll_Ordinal_4252
mov byte [esp + 0x289c], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebp
test edi, edi
jl 0x40cfd0
cmp edi, dword [esp + 0x20]
jge 0x40cfd0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x1a220]
lea eax, [esp + 0x38]
push eax
push 0
push 0x1006
push ecx
mov dword [esp + 0x5c], edx
call dword [sym.imp.USER32.dll_SendMessageA]
add edi, ebp
cmp edi, dword [esp + 0x20]
jl 0x40cea8
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_6494
push ebx
push str.tc_iDefenderScanDay
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
push ebx
push str.tc_iDefenderScanTime
push str.SOFTWARETrojanCut_tc_Env
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [0x571ad4], eax
call fcn.00491d40
mov edx, dword [0x571ad4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x20
push ebx
push edx
mov dword [0x571ad8], eax
mov eax, dword [esi + 0x189f0]
push 0x14e
push eax
call edi
mov ecx, dword [0x571ad8]
mov eax, 0x88888889
mul ecx
shr edx, 5
mov eax, edx
shl eax, 4
sub eax, edx
neg eax
lea eax, [ecx + eax*4]
cmp edx, 0x17
jbe 0x40cfd5
push 0x80004005
call fcn.004019d0
call sub.mfc90.dll_Ordinal_1252
cmp eax, 0x3b
jbe 0x40cfe4
push 0x80004005
call fcn.004019d0
mov dword [esp + 0x78], ebp
lea ecx, [esp + 0x6c]
or ebp, 0xffffffff
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], 0x7c
mov dword [esp + 0x90], ebp
call dword [sym.imp.MSVCR90.dll__mktime64]
mov dword [esp + 0x34], eax
and eax, edx
add esp, 4
mov dword [esp + 0x34], edx
cmp eax, ebp
jne 0x40d036
push 0x80070057
call fcn.004019d0
lea edx, [esp + 0x30]
push edx
lea ecx, [esi + 0x18a40]
call sub.mfc90.dll_Ordinal_6532
mov eax, dword [esi + 0x1a220]
push 0xc8c8c8
push ebx
push 0x1024
push eax
call edi
mov dword [esp + 0x289c], ebp
lea ecx, [esp + 0x18]
call sub.mfc90.dll_Ordinal_781
mov ecx, dword [esp + 0x2894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x287c]
xor ecx, esp
call fcn.004e0148
add esp, 0x288c
ret