Function at 0x411380
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54847b
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5c5b9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x844], 7
mov dword [ebp - 0x848], edi
mov word [ebp - 0x858], ax
push edi
push 0x55a24c
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], edi
call fcn.004026d0
push 0x412
lea ecx, [ebp - 0x630]
push edi
push ecx
call fcn.00531b10
push 0x20a
lea edx, [ebp - 0x21c]
push edi
push edx
call fcn.00531b10
add esp, 0x18
lea ecx, [ebp - 0x868]
lea eax, [ebp + 0x10]
push ecx
mov dword [ebp - 0x874], eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x105
lea edx, [ebp - 0x21c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push edi
push 0x105
lea eax, [ebp - 0x83c]
push eax
push edi
push edi
push edi
lea ecx, [ebp - 0x21c]
push edi
push ecx
call fcn.00530997
mov eax, dword [0x5c70a0]
add esp, 0x24
cmp eax, edi
jne 0x411465
mov dword [ebp - 0x870], edi
jmp 0x41148c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x411478
mov dword [ebp - 0x870], edi
jmp 0x41148c
mov edx, dword [0x5c70a0]
push edi
push edx
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x870], eax
movzx eax, word [ebp - 0x85c]
movzx ecx, word [ebp - 0x85e]
movzx edx, word [ebp - 0x860]
push eax
movzx eax, word [ebp - 0x862]
push ecx
movzx ecx, word [ebp - 0x866]
push edx
movzx edx, word [ebp - 0x868]
push eax
push ecx
push edx
lea eax, [ebp - 0x83c]
push eax
lea ecx, [ebp - 0x630]
push str.__s_:_04d_02d_02d_02d_02d_02d:
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x630]
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4114e1
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x630]
push edx
lea ecx, [ebp - 0x858]
call fcn.004026d0
mov edx, dword [ebp + 0xc]
cmp edx, edi
je 0x41152c
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411510
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.00405db0
mov eax, dword [ebp - 0x858]
mov ebx, 8
cmp dword [ebp - 0x844], ebx
jae 0x411545
lea eax, [ebp - 0x858]
lea ecx, [ebp - 0x874]
push ecx
push edi
lea edx, [ebp - 0x86c]
push edx
push edi
push edi
push eax
push 0x500
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebp - 0x86c]
cmp eax, edi
jne 0x411595
push 0x562950
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x874], edi
cmp dword [ebp - 0x844], ebx
jb 0x41168a
mov eax, dword [ebp - 0x858]
push eax
jmp 0x411682
test byte [0x5c709c], 1
je 0x4115a5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [0x5c709c], 2
je 0x41165a
mov eax, dword [ebp - 0x870]
cmp eax, edi
je 0x41165a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41165a
mov ecx, dword [ebp - 0x86c]
xor eax, eax
push ecx
mov dword [ebp - 0x880], eax
mov dword [ebp - 0x87c], eax
mov dword [ebp - 0x878], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov dword [ebp - 0x87c], edx
mov edx, dword [ebp - 0x86c]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411605
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.004026d0
cmp dword [ebp - 0x844], ebx
jb 0x411637
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x878], eax
jmp 0x411643
lea ecx, [ebp - 0x858]
mov dword [ebp - 0x878], ecx
mov eax, dword [ebp - 0x870]
lea edx, [ebp - 0x880]
push edx
push edi
push 0x4a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x86c]
push ecx
mov dword [ebp - 0x874], edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x86c], edi
cmp dword [ebp - 0x844], ebx
jb 0x41168a
mov edx, dword [ebp - 0x858]
push edx
call fcn.0043c798
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00530f8d
mov esp, ebp
pop ebp
ret