Function at 0x424dad
Capabilities:
Print debug messages

Disassembly:
push 0x894
mov eax, 0x5afcaf
call fcn.0058f792
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x898], ecx
mov dword [ebp - 0x840], 7
mov dword [ebp - 0x844], ecx
mov word [ebp - 0x854], ax
mov esi, dword [ebp + 8]
and esi, 0xf
mov dword [ebp - 4], ecx
cmp dword [0x63cc50], esi
jb 0x4251bd
push ecx
mov eax, 0x5c4f10
lea ecx, [ebp - 0x854]
push eax
call fcn.00404be0
push 0x412
xor edi, edi
lea eax, [ebp - 0x424]
push edi
push eax
call fcn.0058e700
push 0x20a
lea eax, [ebp - 0x83c]
push edi
push eax
call fcn.0058e700
add esp, 0x18
lea eax, [ebp + 0x14]
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, 0x105
lea eax, [ebp - 0x83c]
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
lea eax, [ebp - 0x630]
push ecx
push ecx
push edi
push eax
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x83c]
push eax
call fcn.00592b69
mov eax, dword [0x63cc5c]
add esp, 0x24
test eax, eax
je 0x424ea7
push dword [0x63cc60]
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
je 0x424ea7
push 0
push dword [0x63cc5c]
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
jmp 0x424ea9
xor edi, edi
cmp dword [0x63cc54], 0
mov eax, 0x5c58f8
mov ecx, 0x5c4f10
je 0x424f18
test ebx, ebx
cmove eax, ecx
push eax
mov eax, 0x5cc928
cmovne eax, ebx
push eax
movzx eax, word [ebp - 0x870]
push eax
movzx eax, word [ebp - 0x872]
push eax
movzx eax, word [ebp - 0x874]
push eax
movzx eax, word [ebp - 0x876]
push eax
movzx eax, word [ebp - 0x87a]
push eax
movzx eax, word [ebp - 0x87c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x424]
push str.__s_:_04d_02d_02d_02d_02d_02d:_hs_s
push eax
call fcn.00424cfb
add esp, 0x2c
jmp 0x424f42
test ebx, ebx
cmove eax, ecx
push eax
mov eax, 0x5cc928
cmovne eax, ebx
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x424]
push str.__s_:_hs_s
push eax
call fcn.00424cfb
add esp, 0x14
cmp word [ebp - 0x424], 0
jne 0x424f52
xor ebx, ebx
mov eax, ebx
jmp 0x424f61
lea eax, [ebp - 0x424]
push eax
call fcn.0058edd4
pop ecx
xor ebx, ebx
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x854]
call fcn.00404be0
cmp dword [ebp + 0x10], 0
je 0x424fb2
push 3
push dword [ebp + 0x10]
lea eax, [ebp - 0x86c]
push eax
call fcn.0046d450
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 1
call fcn.004049b6
push ebx
push 1
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], bl
call fcn.00404970
cmp dword [ebp - 0x840], 8
lea ecx, [ebp - 0x89c]
push ecx
push ebx
lea ecx, [ebp - 0x898]
push ecx
push ebx
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
push ebx
push eax
push 0x500
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [ebp - 0x898], 0
mov ebx, eax
mov dword [ebp - 0x8a0], ebx
jne 0x42500c
push str.Debug:_Cannot_allocate_memory._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
mov dword [ebp - 0x89c], ecx
jmp 0x4251bd
test byte [0x63cc58], 1
je 0x425021
push dword [ebp - 0x898]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x63cc64], 0
je 0x4250f5
xor ecx, ecx
mov dword [ebp - 0x858], 0xf
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 0x86c], cl
push 2
pop ebx
mov byte [ebp - 4], bl
test esi, esi
je 0x42506f
cmp esi, ebx
jbe 0x42506c
cmp esi, 3
je 0x42506f
cmp esi, 4
je 0x425067
cmp esi, 5
jne 0x42506f
push 6
jmp 0x425069
push 5
pop ebx
jmp 0x42506f
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 8]
push 3
and eax, 0xffff0000
push ecx
push dword [ebp - 0x898]
or ebx, eax
lea eax, [ebp - 0x894]
push eax
call fcn.0046d30b
add esp, 0x10
lea ecx, [ebp - 0x86c]
push eax
call fcn.004212bf
push 0
push 1
lea ecx, [ebp - 0x894]
call fcn.00404f5d
cmp dword [ebp - 0x858], 0x10
lea eax, [ebp - 0x86c]
cmovae eax, dword [ebp - 0x86c]
push eax
push ebx
push SysReAllocStringLen
push dword [0x63cc6c]
push dword [0x63cc68]
call dword [0x63cc64]
add esp, 0x14
lea ecx, [ebp - 0x86c]
xor eax, eax
mov byte [ebp - 4], al
push eax
push 1
call fcn.00404f5d
mov ebx, dword [ebp - 0x8a0]
test byte [0x63cc58], 2
je 0x4251a1
test edi, edi
je 0x4251a1
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4251a1
push 0xc
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.0058e700
mov esi, dword [ebp - 0x898]
add esp, 0xc
test esi, esi
jne 0x42513a
xor eax, eax
jmp 0x42514c
lea eax, [ebx + 1]
push eax
push esi
call fcn.00591dbe
mov esi, dword [ebp - 0x898]
pop ecx
pop ecx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
xor eax, eax
cmp word [esi], ax
je 0x425167
push esi
call fcn.0058edd4
pop ecx
push eax
push esi
lea ecx, [ebp - 0x854]
call fcn.00404be0
cmp dword [ebp - 0x840], 8
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
mov dword [ebp - 0x858], eax
lea eax, [ebp - 0x860]
push eax
xor eax, eax
push eax
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x898]
xor eax, eax
mov dword [ebp - 0x89c], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
mov dword [ebp - 0x898], ecx
push ecx
push 1
lea ecx, [ebp - 0x854]
call fcn.00404970
call fcn.0058f741
ret