Function at 0x418668
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x418670
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x419073
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount_1
mov ecx, 0xa
xor edx, edx
div ecx
mov eax, dword [0x41b7b8]
mov dword [eax], edx
mov eax, dword [0x41b788]
cmp byte [eax], 0
je 0x4186c6
push 0xa0010
push 0x64
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_AnimateWindow
mov eax, dword [ebx + 0x18]
call fcn.00409504
push 0xffffffffffffffec
mov eax, dword [0x41b874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41cb6c], eax
mov eax, dword [0x41b8a8]
cmp byte [eax], 0
je 0x4186f1
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00406634
mov edx, dword [0x41b768]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.00419d2c
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408d50
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408d50
mov edx, dword [0x41b7ec]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408d50
mov edx, dword [0x41ba08]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.00419d0c
mov edx, dword [0x41b8a8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409a6c
mov eax, dword [0x41b8a8]
mov al, byte [eax]
mov edx, dword [0x41ba1c]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.0041a344
mov edx, dword [0x41b7d8]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409a6c
mov eax, ebx
mov edx, esi
call fcn.0041a38c
mov edx, dword [0x41b9e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409cd8
mov edx, dword [0x41b8b8]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409cd8
lea edx, [ebp - 0x10]
mov eax, dword [0x41b808]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.004092f0
lea edx, [ebp - 0x14]
mov eax, dword [0x41b764]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004092f0
lea edx, [ebp - 0x18]
mov eax, dword [0x41b9c0]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.004092f0
lea edx, [ebp - 0x1c]
mov eax, dword [0x41b9a8]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.004092f0
lea edx, [ebp - 0x20]
mov eax, dword [0x41b7a4]
mov eax, dword [eax]
call fcn.00408018
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.004092f0
lea edx, [ebp - 0x24]
mov eax, 0x419088
call fcn.00414640
cmp dword [ebp - 0x24], 0
je 0x418888
lea edx, [ebp - 0x28]
mov eax, 0x419088
call fcn.00414640
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.004092f0
jmp 0x418898
mov edx, dword [0x41b94c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.004092f0
mov eax, dword [0x41b8a0]
cmp byte [eax], 0
jne 0x4188ac
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408d50
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x4188ea
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00406634
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x4188fe
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x4189e5
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x4189e5
mov eax, dword [ebx + 0x30]
call fcn.004096f8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004096a4
mov eax, dword [ebx + 0x94]
call fcn.00409698
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004096a4
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
jmp 0x418dc3
mov eax, dword [0x41b864]
cmp byte [eax], 0
je 0x418bd9
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
jne 0x418bd9
mov eax, dword [ebx + 0x30]
call fcn.004096f8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.004096a4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.00409698
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.004096a4
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
mov eax, dword [0x41b914]
cmp byte [eax], 0
je 0x418dc3
mov eax, dword [ebx + 0x84]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040972c
mov eax, dword [ebx + 0xd4]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409704
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x30]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.0040972c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.004096a4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.004096a4
mov eax, dword [ebx + 0x90]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004096a4
jmp 0x418dc3
mov eax, dword [0x41b864]
cmp byte [eax], 0
jne 0x418c28
mov eax, dword [0x41b8e0]
cmp byte [eax], 0
je 0x418c28
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.004096d4
jmp 0x418dc3
mov eax, dword [0x41b914]
cmp byte [eax], 0
je 0x418dc3
mov eax, dword [ebx + 0x84]
call fcn.00409720
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0040972c
mov eax, dword [ebx + 0xd4]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409704
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.00409698
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004096f8
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004096f8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.004096a4
mov eax, dword [ebx + 0x84]
call fcn.004096c8
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409720
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.004096d4
mov eax, dword [ebx + 0x88]
call fcn.004096c8
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.004096d4
mov eax, dword [ebx + 0x88]
call fcn.004096c8
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.004096d4
mov eax, dword [ebx + 0x90]
call fcn.004096c8
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004096d4
mov eax, dword [ebx + 0x94]
call fcn.004096c8
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004096d4
mov eax, dword [ebx + 0x30]
call fcn.00409720
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.0040972c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409a0c
mov eax, dword [ebx + 0x18]
call fcn.00409720
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.004096f8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409848
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409a0c
call fcn.0040fb50
mov dword [ebp - 4], eax
call fcn.00410060
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00406eac
lea eax, [ebp - 0x2c]
call fcn.004146fc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.004080cc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x418e65
mov esi, eax
dec esi
test esi, esi
jl 0x418e1f
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a090
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409c48
inc edi
dec esi
jne 0x418e03
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409cd8
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x418e65
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409af8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x418e61
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409cd8
inc edi
dec esi
jne 0x418e39
mov eax, dword [ebp - 8]
call fcn.004078d0
mov eax, dword [ebp - 4]
call fcn.004078d0
call fcn.0040fb50
mov edx, dword [0x41b8d8]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004065ec
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004080cc
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41b8d8]
mov eax, dword [eax]
call fcn.0040fe98
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41b974]
mov dword [edx], eax
mov eax, dword [0x41b9d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b844]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b998]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7bc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b950]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b9f8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7d4]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b960]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x41133c]
call fcn.004116b8
mov edx, dword [0x41b790]
mov dword [edx], eax
mov eax, dword [0x41b790]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004069dc
mov edx, dword [0x41b8b4]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41b98c]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41b8d4]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41b9fc]
mov dword [edx], eax
call fcn.004069dc
mov edx, dword [0x41b980]
mov dword [edx], eax
mov eax, dword [0x41b99c]
xor edx, edx
call fcn.00415558
mov eax, dword [0x41b8ac]
xor edx, edx
call fcn.00415558
mov edx, 1
mov eax, 1
call fcn.0040a418
mov edx, dword [0x41b9f0]
mov dword [edx], eax
mov eax, dword [0x41b890]
cmp byte [eax], 0
je 0x418fbd
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406634
mov eax, dword [0x41b874]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x4190bc
call fcn.00412f60
lea edx, [ebp - 0x44]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.004065ec
push dword [ebp - 0x44]
push 0x4190d8
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00405a28
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408320
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.004092f0
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x4190d8
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00405a28
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408320
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00409f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41907a
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret