Function at 0x403ab0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x555cab
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x5d7b20]
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 0x568928
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], edi
call fcn.004021b0
push 0x412
lea ecx, [ebp - 0x630]
push edi
push ecx
call fcn.0053e550
push 0x20a
lea edx, [ebp - 0x21c]
push edi
push edx
call fcn.0053e550
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.0053e704
mov eax, dword [0x5d9040]
add esp, 0x24
cmp eax, edi
jne 0x403b95
mov dword [ebp - 0x870], edi
jmp 0x403bbc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x403ba8
mov dword [ebp - 0x870], edi
jmp 0x403bbc
mov edx, dword [0x5d9040]
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 0x403c11
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x630]
push edx
lea ecx, [ebp - 0x858]
call fcn.004021b0
mov edx, dword [ebp + 0xc]
cmp edx, edi
je 0x403c5c
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x403c40
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.00402090
mov eax, dword [ebp - 0x858]
mov ebx, 8
cmp dword [ebp - 0x844], ebx
jae 0x403c75
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 0x403cc5
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 0x403dba
mov eax, dword [ebp - 0x858]
push eax
jmp 0x403db2
test byte [0x5d903c], 1
je 0x403cd5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [0x5d903c], 2
je 0x403d8a
mov eax, dword [ebp - 0x870]
cmp eax, edi
je 0x403d8a
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403d8a
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 0x403d35
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x858]
call fcn.004021b0
cmp dword [ebp - 0x844], ebx
jb 0x403d67
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x878], eax
jmp 0x403d73
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 0x403dba
mov edx, dword [ebp - 0x858]
push edx
call fcn.00449b7c
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.0053e1ad
mov esp, ebp
pop ebp
ret