Function at 0x401ac0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x42e294]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x14
ja 0x401b0d
cmp dword [ebp - 0x78], 0x14
je case.0x401b06.14
mov ecx, dword [ebp - 0x78]
sub ecx, 1
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 0xf
ja case.0x401b06.2
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x401fc4]
jmp dword [eax*4 + 0x401fac]
cmp dword [ebp - 0x78], 0x113
ja 0x401b3f
cmp dword [ebp - 0x78], 0x113
je 0x401cac
cmp dword [ebp - 0x78], 0x1a
je case.0x401b06.6
cmp dword [ebp - 0x78], 0x111
je 0x401f35
jmp case.0x401b06.2
cmp dword [ebp - 0x78], 0x7e8
je 0x401e91
cmp dword [ebp - 0x78], 0x7e9
je 0x401edb
jmp case.0x401b06.2
movzx ecx, byte [0x42d015]
test ecx, ecx
je 0x401b97
push 0x4274b8
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 8]
push eax
push 0x7e8
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 4]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
call fcn.004057f0
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
call fcn.00405850
push 0
push 0
mov eax, dword [ebp - 0x74]
push eax
push 0x401fe0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x74]
cmp dword [edx + 0xc], 0
jne 0x401bd7
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
jmp 0x401f9c
jmp case.0x401b06.2
push 0x3f0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3f1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x14
push 0x3ef
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x401b06.2
push 0x7b
mov edx, dword [0x42f848]
push edx
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x54], eax
push 0xcc0020
push 0
push 0
mov edx, dword [ebp - 0x50]
push edx
push 0x27
push 0xdc
push 0
push 0
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
jmp 0x401f9c
cmp dword [ebp + 0x10], 0x3ef
jne 0x401d90
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x22c]
cmp eax, dword [edx + 0x23c]
jge 0x401d4b
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x23c]
sub edx, 2
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x23c], edx
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x244]
sub edx, 2
mov eax, dword [ebp - 0x74]
mov dword [eax + 0x244], edx
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x240]
sub eax, dword [edx + 0x238]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x244]
sub eax, dword [edx + 0x23c]
mov dword [ebp - 0x5c], eax
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x23c]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x238]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x401d84
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx + 0x22c]
cmp ecx, dword [eax + 0x23c]
jl 0x401d84
push 0x3ef
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x7d0
push 0x3f0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
jmp 0x401f9c
cmp dword [ebp + 0x10], 0x3f0
jne 0x401dc0
push 0x3f0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x14
push 0x3f1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x401e8c
cmp dword [ebp + 0x10], 0x3f1
jne 0x401e8c
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x68], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax + 0x23c]
jl 0x401e6f
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x23c]
add eax, 2
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x23c], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x244]
add eax, 2
mov ecx, dword [ebp - 0x74]
mov dword [ecx + 0x244], eax
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx + 0x240]
sub ecx, dword [eax + 0x238]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov ecx, dword [edx + 0x244]
sub ecx, dword [eax + 0x23c]
mov dword [ebp - 0x6c], ecx
push 1
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x23c]
push edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x238]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x401e8c
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [eax + 0x23c]
jge 0x401e8c
push 0x3f1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
jmp case.0x401b06.2
cmp dword [ebp + 0x14], 0x201
jne 0x401ed6
push 0x3f0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3f1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x14
push 0x3ef
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0x4274d0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp case.0x401b06.2
mov eax, dword [ebp - 0x74]
cmp dword [eax + 0xc], 0
je 0x401f0a
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x74]
mov dword [edx + 0xc], 0
movzx eax, byte [0x42d015]
test eax, eax
je 0x401f20
mov ecx, dword [ebp - 0x74]
add ecx, 0x10
call fcn.00405870
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp case.0x401b06.2
xor eax, eax
jmp 0x401f9c
push 0x3ef
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3f0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 0x3f1
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x401f9c
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x401f9c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041238f
mov esp, ebp
pop ebp
ret 0x10