Function at 0x40c360
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ca1f
mov eax, dword fs:[0]
push eax
sub esp, 0x6f8
mov eax, dword [0x47ca80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6f8], ecx
call fcn.0040e360
test eax, eax
je 0x40c3a4
mov dword [0x47e080], 0x7530
call fcn.0040b890
test eax, eax
je 0x40c3b4
xor eax, eax
jmp 0x40c67d
call fcn.0040f030
mov ecx, 0x47dfa0
call fcn.0040f760
mov dword [ebp - 0x5e8], 5
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x5ec], 0
jmp 0x40c3ec
mov eax, dword [ebp - 0x5ec]
add eax, 1
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x5ec]
cmp ecx, dword [ebp - 0x5e8]
jge 0x40c41f
mov ecx, dword [ebp - 0x6f8]
call fcn.0040c740
mov byte [ebp - 0x11], al
movzx edx, byte [ebp - 0x11]
test edx, edx
je 0x40c412
jmp 0x40c41f
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40c3dd
mov ecx, dword [ebp - 0x6f8]
call fcn.0040cc90
movzx ecx, al
test ecx, ecx
jne 0x40c443
mov ecx, dword [ebp - 0x6f8]
call fcn.0040c150
xor eax, eax
jmp 0x40c67d
call fcn.0040bf10
movzx edx, al
test edx, edx
je 0x40c45c
push str.CEdpSecDiskAppApp_InitLogModule_ok
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x40c467
push str.CEdpSecDiskAppApp_InitLogModule_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x6f8]
add eax, 0xa4
push eax
mov ecx, dword [ebp - 0x6f8]
mov edx, dword [ecx + 0xb8]
mov eax, dword [ebp - 0x6f8]
mov ecx, dword [eax + 0xb8]
mov edx, dword [edx]
mov eax, dword [edx + 4]
call eax
cmp eax, 1
je 0x40c59c
mov ecx, dword [ebp - 0x6f8]
mov edx, dword [ecx + 0xb8]
mov eax, dword [ebp - 0x6f8]
mov ecx, dword [eax + 0xb8]
mov edx, dword [edx]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [ebp - 0x5f0]
call fcn.00402fd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5f0]
call fcn.0040a150
lea ecx, [ebp - 0x5f0]
call fcn.00403180
movzx ecx, al
test ecx, ecx
jne 0x40c568
push 0
lea ecx, [ebp - 0x6e4]
call fcn.004046e0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x6e8], esp
lea edx, [ebp - 0x5f0]
push edx
call fcn.00402fb0
mov dword [ebp - 0x6fc], eax
mov eax, dword [ebp - 0x6fc]
mov dword [ebp - 0x700], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x6ec], esp
push 0x47e118
call fcn.00402fb0
mov dword [ebp - 0x704], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6e4]
call fcn.00404850
lea ecx, [ebp - 0x6e4]
call int.00422a4e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6e4]
call fcn.00404770
mov ecx, dword [ebp - 0x6f8]
call fcn.0040c150
mov dword [ebp - 0x6f0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5f0]
call fcn.00403050
mov eax, dword [ebp - 0x6f0]
jmp 0x40c67d
push str.EDPEDISK:m_pEdpEDiskCtrlInt__Init_ok
push 0
push 0x103
push 0x462c80
push 0x462c94
call fcn.0040b8f0
add esp, 0x14
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [ebp - 0x6f8]
call fcn.0042cdd6
push 0
call fcn.0042eb14
add esp, 4
mov ecx, dword [ebp - 0x6f8]
call fcn.0040d0e0
movzx ecx, al
test ecx, ecx
jne 0x40c62a
mov ecx, dword [ebp - 0x6f8]
call fcn.0040c150
push 0x462cb4
push 0
push 0x112
push 0x462cc8
push str.CEdpSecDiskAppApp::InitInstance
call fcn.0040b8f0
add esp, 0x14
mov edx, dword [ebp - 0x6f8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x6f8]
mov edx, dword [eax + 0x68]
call edx
push 0
call fcn.004416ce
push 0
lea ecx, [ebp - 0x5e4]
call fcn.00404d80
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x6f8]
lea ecx, [ebp - 0x5e4]
mov dword [eax + 0x20], ecx
lea ecx, [ebp - 0x5e4]
call int.00422a4e
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x6f4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5e4]
call fcn.00409bb0
mov eax, dword [ebp - 0x6f4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00440160
mov esp, ebp
pop ebp
ret