Function at 0x403c50
Capabilities:
Create thread

Disassembly:
sub esp, 0x84c
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x844], eax
mov ecx, dword [0x40d550]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
cmp ecx, ebp
jne 0x403c98
push 0xe60
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x403c8e
mov esi, eax
call fcn.00403000
jmp 0x403c90
xor eax, eax
mov ecx, eax
mov dword [0x40d550], ecx
push str.In_ScanCalls
call fcn.004033e0
add esp, 4
push 0x3fe
lea ecx, [esp + 0x456]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], ebp
mov word [esp + 0x45c], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x3fe
lea eax, [esp + 0x56]
xor edx, edx
push ebp
push eax
mov word [esp + 0x5c], dx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x200
lea ecx, [esp + 0x54]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x50]
push 0x5c
push edx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
cmp eax, ebp
je 0x403d21
xor ecx, ecx
mov word [eax], cx
call fcn.00403b00
test eax, eax
je 0x403d8e
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push str.kernel32
mov dword [esp + 0x1c], ebp
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
lea edx, [esp + 0x14]
push edx
mov dword [0x40d530], eax
call eax
test eax, eax
je 0x403d93
lea esi, [esp + 0x450]
call fcn.00404d40
call fcn.004040a0
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
push ecx
mov dword [0x40d51c], eax
call eax
test eax, eax
jne 0x403d93
jmp 0x404078
call fcn.004040a0
cmp dword [0x40d55c], ebp
jne 0x403dd4
mov eax, dword [0x40d550]
cmp eax, ebp
jne 0x403dc5
push 0xe60
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x403dbe
mov esi, eax
call fcn.00403000
jmp 0x403dc0
xor eax, eax
mov dword [0x40d550], eax
push str.other_than_64
mov ecx, eax
call fcn.004033e0
add esp, 4
mov esi, str.fltmc_load_bkpDrv
call fcn.00404d40
lea edx, [esp + 0x10]
push edx
push ebp
push ebp
push ebp
push ebp
push 0x409d54
call dword [0x40d510]
mov edi, eax
and eax, 0x80000000
cmp eax, 0x80000000
jne 0x403e46
mov ecx, dword [0x40d550]
cmp ecx, ebp
jne 0x403e2e
push 0xe60
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x403e24
mov esi, eax
call fcn.00403000
jmp 0x403e26
xor eax, eax
mov ecx, eax
mov dword [0x40d550], ecx
push edi
push str.ERROR:_Connecting_to_filter_port:_0x_08x_n
call fcn.00403540
add esp, 8
mov eax, 2
jmp 0x404078
mov ecx, dword [esp + 0x10]
push 2
push ebp
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x403eb4
mov eax, dword [0x40d550]
cmp eax, ebp
jne 0x403e87
push 0xe60
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x403e80
mov esi, eax
call fcn.00403000
jmp 0x403e82
xor eax, eax
mov dword [0x40d550], eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Creating_completion_port:__d_n
mov ecx, esi
call fcn.00403540
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 3
jmp 0x404078
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
push 1
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x403f1c
push ebp
push ebp
push 1
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x403f1c
xor eax, eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ebp
push str.GlobalWAITING_FOR_SETBKPDRV_COMMANDS
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x40d558], eax
cmp eax, ebp
je 0x403f65
push str.Create_Event_Successfull
call fcn.00402fc0
mov ecx, eax
call fcn.004033e0
add esp, 4
lea eax, [esp + 0x4c]
push eax
push ebp
lea ecx, [esp + 0x20]
push ecx
push 0x4054d0
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x403f79
push str.Create_Event_Failed
call fcn.00402fc0
mov ecx, eax
call fcn.004033e0
add esp, 4
lea edx, [esp + 0x34]
push edx
push 0
lea eax, [esp + 0x20]
push eax
push 0x404e00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + ebp*4 + 0x2c], eax
test eax, eax
je 0x404042
xor ebx, ebx
push 0xa34
call dword [sym.imp.MSVCR90.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
je 0x40404c
lea eax, [esi + 0xa20]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
push eax
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push 0xa20
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x18]
push esi
push ecx
call dword [0x40d514]
mov edi, eax
cmp edi, 0x800703e5
jne 0x404053
inc ebx
cmp ebx, 5
jb 0x403fa2
inc ebp
cmp ebp, 2
jb 0x403f79
push 0xffffffffffffffff
push 1
lea edx, [esp + 0x34]
push edx
push ebp
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov ecx, dword [0x40d550]
test ecx, ecx
jne 0x404069
push 0xe60
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x40405f
mov esi, eax
call fcn.00403000
jmp 0x404061
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40400a
mov edi, 8
jmp 0x40400a
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
jmp 0x40400a
xor eax, eax
mov ecx, eax
mov dword [0x40d550], ecx
push str.Out_ScanCalls
call fcn.004033e0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x854]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407c9c
add esp, 0x84c
ret