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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4176e0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4180e3
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 [0x41a754]
mov dword [eax], edx
mov eax, dword [0x41a724]
cmp byte [eax], 0
je 0x417736
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.0040995c
push 0xffffffffffffffec
mov eax, dword [0x41a810]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41bb6c], eax
mov eax, dword [0x41a844]
cmp byte [eax], 0
je 0x417761
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00406b98
mov edx, dword [0x41a704]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409ec4
mov eax, ebx
mov edx, esi
call fcn.00418d9c
mov edx, dword [0x41a788]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.004091a8
mov edx, dword [0x41a788]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.004091a8
mov edx, dword [0x41a788]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.004091a8
mov edx, dword [0x41a9a4]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409ec4
mov eax, ebx
mov edx, esi
call fcn.00418d7c
mov edx, dword [0x41a844]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409ec4
mov eax, dword [0x41a844]
mov al, byte [eax]
mov edx, dword [0x41a9b8]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.004193b4
mov edx, dword [0x41a774]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409ec4
mov eax, ebx
mov edx, esi
call fcn.004193fc
mov edx, dword [0x41a980]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.0040a130
mov edx, dword [0x41a854]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.0040a130
lea edx, [ebp - 0x10]
mov eax, dword [0x41a7a4]
mov eax, dword [eax]
call fcn.00408488
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.00409748
lea edx, [ebp - 0x14]
mov eax, dword [0x41a700]
mov eax, dword [eax]
call fcn.00408488
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.00409748
lea edx, [ebp - 0x18]
mov eax, dword [0x41a95c]
mov eax, dword [eax]
call fcn.00408488
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.00409748
lea edx, [ebp - 0x1c]
mov eax, dword [0x41a944]
mov eax, dword [eax]
call fcn.00408488
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.00409748
lea edx, [ebp - 0x20]
mov eax, dword [0x41a740]
mov eax, dword [eax]
call fcn.00408488
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.00409748
lea edx, [ebp - 0x24]
mov eax, 0x4180f8
call fcn.00414040
cmp dword [ebp - 0x24], 0
je 0x4178f8
lea edx, [ebp - 0x28]
mov eax, 0x4180f8
call fcn.00414040
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.00409748
jmp 0x417908
mov edx, dword [0x41a8e8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.00409748
mov eax, dword [0x41a83c]
cmp byte [eax], 0
jne 0x41791c
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.004091a8
mov eax, dword [0x41a800]
cmp byte [eax], 0
jne 0x41795a
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406b98
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00406b98
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00406b98
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00406b98
mov eax, dword [0x41a87c]
cmp byte [eax], 0
jne 0x41796e
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00406b98
mov eax, dword [0x41a800]
cmp byte [eax], 0
jne 0x417a55
mov eax, dword [0x41a87c]
cmp byte [eax], 0
jne 0x417a55
mov eax, dword [ebx + 0x30]
call fcn.00409b50
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409b50
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409b5c
mov eax, dword [ebx + 0x90]
call fcn.00409b20
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.00409b2c
mov eax, dword [ebx + 0x94]
call fcn.00409b20
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.00409b2c
mov eax, dword [ebx + 0x90]
call fcn.00409af0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409afc
mov eax, dword [ebx + 0x94]
call fcn.00409af0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409afc
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409e64
mov eax, dword [ebx + 0x18]
call fcn.00409b78
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409ca0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409e64
jmp 0x417e33
mov eax, dword [0x41a800]
cmp byte [eax], 0
je 0x417c49
mov eax, dword [0x41a87c]
cmp byte [eax], 0
jne 0x417c49
mov eax, dword [ebx + 0x30]
call fcn.00409b50
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409b50
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409b5c
mov eax, dword [ebx + 0x90]
call fcn.00409b20
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409b2c
mov eax, dword [ebx + 0x90]
call fcn.00409af0
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.00409afc
mov eax, dword [ebx + 0x94]
call fcn.00409b20
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409b2c
mov eax, dword [ebx + 0x94]
call fcn.00409af0
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.00409afc
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409e64
mov eax, dword [ebx + 0x18]
call fcn.00409b78
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409ca0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409e64
mov eax, dword [0x41a8b0]
cmp byte [eax], 0
je 0x417e33
mov eax, dword [ebx + 0x84]
call fcn.00409b78
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409b84
mov eax, dword [ebx + 0xd4]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409b5c
mov eax, dword [ebx + 0x90]
call fcn.00409b20
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409b2c
mov eax, dword [ebx + 0x94]
call fcn.00409b20
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409b2c
mov eax, dword [ebx + 0x30]
call fcn.00409b78
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409b84
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409e64
mov eax, dword [ebx + 0x18]
call fcn.00409b78
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409ca0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409e64
mov eax, dword [ebx + 0x90]
call fcn.00409af0
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.00409afc
mov eax, dword [ebx + 0x90]
call fcn.00409af0
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.00409afc
mov eax, dword [ebx + 0x90]
call fcn.00409af0
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409afc
jmp 0x417e33
mov eax, dword [0x41a800]
cmp byte [eax], 0
jne 0x417c98
mov eax, dword [0x41a87c]
cmp byte [eax], 0
je 0x417c98
mov eax, dword [ebx + 0x90]
call fcn.00409b20
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.00409b2c
mov eax, dword [ebx + 0x94]
call fcn.00409b20
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.00409b2c
jmp 0x417e33
mov eax, dword [0x41a8b0]
cmp byte [eax], 0
je 0x417e33
mov eax, dword [ebx + 0x84]
call fcn.00409b78
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409b84
mov eax, dword [ebx + 0xd4]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409b5c
mov eax, dword [ebx + 0x84]
call fcn.00409af0
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409afc
mov eax, dword [ebx + 0x84]
call fcn.00409af0
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409b50
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409afc
mov eax, dword [ebx + 0x84]
call fcn.00409af0
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409b50
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409b50
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.00409afc
mov eax, dword [ebx + 0x84]
call fcn.00409b20
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409b78
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.00409b2c
mov eax, dword [ebx + 0x88]
call fcn.00409b20
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.00409b2c
mov eax, dword [ebx + 0x88]
call fcn.00409b20
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.00409b2c
mov eax, dword [ebx + 0x90]
call fcn.00409b20
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409b2c
mov eax, dword [ebx + 0x94]
call fcn.00409b20
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409b2c
mov eax, dword [ebx + 0x30]
call fcn.00409b78
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409b84
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409e64
mov eax, dword [ebx + 0x18]
call fcn.00409b78
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409b50
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409ca0
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409e64
call fcn.0040f728
mov dword [ebp - 4], eax
call fcn.0040fc38
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00407410
lea eax, [ebp - 0x2c]
call fcn.004140fc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.0040853c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x417ed5
mov esi, eax
dec esi
test esi, esi
jl 0x417e8f
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a4e8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.0040a0a0
inc edi
dec esi
jne 0x417e73
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.0040a130
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x417ed5
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409f50
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x417ed1
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.0040a130
inc edi
dec esi
jne 0x417ea9
mov eax, dword [ebp - 8]
call fcn.00407d40
mov eax, dword [ebp - 4]
call fcn.00407d40
call fcn.0040f728
mov edx, dword [0x41a874]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.00406b50
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040853c
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41a874]
mov eax, dword [eax]
call fcn.0040fa70
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41a910]
mov dword [edx], eax
mov eax, dword [0x41a970]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a7e0]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a934]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a758]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a8ec]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a994]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a770]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a8fc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x410f14]
call fcn.00411290
mov edx, dword [0x41a72c]
mov dword [edx], eax
mov eax, dword [0x41a72c]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.00406f40
mov edx, dword [0x41a850]
mov dword [edx], eax
call fcn.00406f40
mov edx, dword [0x41a928]
mov dword [edx], eax
call fcn.00406f40
mov edx, dword [0x41a870]
mov dword [edx], eax
call fcn.00406f40
mov edx, dword [0x41a998]
mov dword [edx], eax
call fcn.00406f40
mov edx, dword [0x41a91c]
mov dword [edx], eax
mov eax, dword [0x41a938]
xor edx, edx
call fcn.00414f74
mov eax, dword [0x41a848]
xor edx, edx
call fcn.00414f74
mov edx, 1
mov eax, 1
call fcn.0040a830
mov edx, dword [0x41a98c]
mov dword [edx], eax
mov eax, dword [0x41a82c]
cmp byte [eax], 0
je 0x41802d
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406b98
mov eax, dword [0x41a810]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x41812c
call fcn.00412bfc
lea edx, [ebp - 0x44]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.00406b50
push dword [ebp - 0x44]
push 0x418148
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00405f8c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408778
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.00409748
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x418148
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00405f8c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408778
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.0040a3c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4180ea
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret