Function at 0x403750
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534a7b
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5a6a30]
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 0x5450a0
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], edi
call fcn.00401dd0
push 0x412
lea ecx, [ebp - 0x630]
push edi
push ecx
call fcn.0051eb70
push 0x20a
lea edx, [ebp - 0x21c]
push edi
push edx
call fcn.0051eb70
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.0051e95e
mov eax, dword [0x5a7f40]
add esp, 0x24
cmp eax, edi
jne 0x403835
mov dword [ebp - 0x870], edi
jmp 0x40385c
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x403848
mov dword [ebp - 0x870], edi
jmp 0x40385c
mov edx, dword [0x5a7f40]
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 0x4038b1
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x630]
push edx
lea ecx, [ebp - 0x858]
call fcn.00401dd0
mov edx, dword [ebp + 0xc]
cmp edx, edi
je 0x4038fc
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4038e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.004035d0
mov eax, dword [ebp - 0x858]
mov ebx, 8
cmp dword [ebp - 0x844], ebx
jae 0x403915
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 0x403965
push str.Debug:_Cannot_allocate_memory._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 0x874], edi
cmp dword [ebp - 0x844], ebx
jb 0x403a5a
mov eax, dword [ebp - 0x858]
push eax
jmp 0x403a52
test byte [0x5a7f3c], 1
je 0x403975
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [0x5a7f3c], 2
je 0x403a2a
mov eax, dword [ebp - 0x870]
cmp eax, edi
je 0x403a2a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403a2a
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 0x4039d5
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.00401dd0
cmp dword [ebp - 0x844], ebx
jb 0x403a07
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x878], eax
jmp 0x403a13
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 0x403a5a
mov edx, dword [ebp - 0x858]
push edx
call fcn.00429e6f
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.0051e701
mov esp, ebp
pop ebp
ret