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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x416f88
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41798b
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 [0x419750]
mov dword [eax], edx
mov eax, dword [0x419720]
cmp byte [eax], 0
je 0x416fde
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.00409458
push 0xffffffffffffffec
mov eax, dword [0x41980c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41ab64], eax
mov eax, dword [0x419840]
cmp byte [eax], 0
je 0x417009
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.004065e0
mov edx, dword [0x419700]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.004099c0
mov eax, ebx
mov edx, esi
call fcn.00418644
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408ca4
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408ca4
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408ca4
mov edx, dword [0x4199a0]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.004099c0
mov eax, ebx
mov edx, esi
call fcn.00418624
mov edx, dword [0x419840]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.004099c0
mov eax, dword [0x419840]
mov al, byte [eax]
mov edx, dword [0x4199b4]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00418c5c
mov edx, dword [0x419770]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.004099c0
mov eax, ebx
mov edx, esi
call fcn.00418ca4
mov edx, dword [0x41997c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409c2c
mov edx, dword [0x419850]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409c2c
lea edx, [ebp - 0x10]
mov eax, dword [0x4197a0]
mov eax, dword [eax]
call fcn.00407f84
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.00409244
lea edx, [ebp - 0x14]
mov eax, dword [0x4196fc]
mov eax, dword [eax]
call fcn.00407f84
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.00409244
lea edx, [ebp - 0x18]
mov eax, dword [0x419958]
mov eax, dword [eax]
call fcn.00407f84
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.00409244
lea edx, [ebp - 0x1c]
mov eax, dword [0x419940]
mov eax, dword [eax]
call fcn.00407f84
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.00409244
lea edx, [ebp - 0x20]
mov eax, dword [0x41973c]
mov eax, dword [eax]
call fcn.00407f84
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.00409244
lea edx, [ebp - 0x24]
mov eax, 0x4179a0
call fcn.00413930
cmp dword [ebp - 0x24], 0
je 0x4171a0
lea edx, [ebp - 0x28]
mov eax, 0x4179a0
call fcn.00413930
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.00409244
jmp 0x4171b0
mov edx, dword [0x4198e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.00409244
mov eax, dword [0x419838]
cmp byte [eax], 0
jne 0x4171c4
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408ca4
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417202
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004065e0
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.004065e0
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.004065e0
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.004065e0
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x417216
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.004065e0
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x4172fd
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x4172fd
mov eax, dword [ebx + 0x30]
call fcn.0040964c
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0040964c
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409658
mov eax, dword [ebx + 0x90]
call fcn.0040961c
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.00409628
mov eax, dword [ebx + 0x94]
call fcn.0040961c
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.00409628
mov eax, dword [ebx + 0x90]
call fcn.004095ec
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004095f8
mov eax, dword [ebx + 0x94]
call fcn.004095ec
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004095f8
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409960
mov eax, dword [ebx + 0x18]
call fcn.00409674
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040979c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409960
jmp 0x4176db
mov eax, dword [0x4197fc]
cmp byte [eax], 0
je 0x4174f1
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x4174f1
mov eax, dword [ebx + 0x30]
call fcn.0040964c
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0040964c
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409658
mov eax, dword [ebx + 0x90]
call fcn.0040961c
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409628
mov eax, dword [ebx + 0x90]
call fcn.004095ec
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.004095f8
mov eax, dword [ebx + 0x94]
call fcn.0040961c
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409628
mov eax, dword [ebx + 0x94]
call fcn.004095ec
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.004095f8
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409960
mov eax, dword [ebx + 0x18]
call fcn.00409674
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040979c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409960
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4176db
mov eax, dword [ebx + 0x84]
call fcn.00409674
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409680
mov eax, dword [ebx + 0xd4]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409658
mov eax, dword [ebx + 0x90]
call fcn.0040961c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409628
mov eax, dword [ebx + 0x94]
call fcn.0040961c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409628
mov eax, dword [ebx + 0x30]
call fcn.00409674
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409680
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409960
mov eax, dword [ebx + 0x18]
call fcn.00409674
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040979c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409960
mov eax, dword [ebx + 0x90]
call fcn.004095ec
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.004095f8
mov eax, dword [ebx + 0x90]
call fcn.004095ec
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.004095f8
mov eax, dword [ebx + 0x90]
call fcn.004095ec
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004095f8
jmp 0x4176db
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417540
mov eax, dword [0x419878]
cmp byte [eax], 0
je 0x417540
mov eax, dword [ebx + 0x90]
call fcn.0040961c
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.00409628
mov eax, dword [ebx + 0x94]
call fcn.0040961c
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.00409628
jmp 0x4176db
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4176db
mov eax, dword [ebx + 0x84]
call fcn.00409674
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409680
mov eax, dword [ebx + 0xd4]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409658
mov eax, dword [ebx + 0x84]
call fcn.004095ec
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.004095f8
mov eax, dword [ebx + 0x84]
call fcn.004095ec
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0040964c
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004095f8
mov eax, dword [ebx + 0x84]
call fcn.004095ec
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0040964c
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0040964c
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.004095f8
mov eax, dword [ebx + 0x84]
call fcn.0040961c
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409674
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.00409628
mov eax, dword [ebx + 0x88]
call fcn.0040961c
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.00409628
mov eax, dword [ebx + 0x88]
call fcn.0040961c
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.00409628
mov eax, dword [ebx + 0x90]
call fcn.0040961c
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409628
mov eax, dword [ebx + 0x94]
call fcn.0040961c
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409628
mov eax, dword [ebx + 0x30]
call fcn.00409674
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409680
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409960
mov eax, dword [ebx + 0x18]
call fcn.00409674
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.0040964c
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040979c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409960
call fcn.0040f224
mov dword [ebp - 4], eax
call fcn.0040f734
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00406eb8
lea eax, [ebp - 0x2c]
call fcn.004139ec
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.00408038
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x41777d
mov esi, eax
dec esi
test esi, esi
jl 0x417737
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00409fe4
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409b9c
inc edi
dec esi
jne 0x41771b
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409c2c
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x41777d
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409a4c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x417779
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409c2c
inc edi
dec esi
jne 0x417751
mov eax, dword [ebp - 8]
call fcn.0040783c
mov eax, dword [ebp - 4]
call fcn.0040783c
call fcn.0040f224
mov edx, dword [0x419870]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.00406598
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408038
mov edx, dword [ebp - 0x38]
mov eax, dword [0x419870]
mov eax, dword [eax]
call fcn.0040f56c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41990c]
mov dword [edx], eax
mov eax, dword [0x41996c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x4197dc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x419930]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x419754]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x4198e8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x419990]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41976c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x4198f8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x410978]
call fcn.00410cf4
mov edx, dword [0x419728]
mov dword [edx], eax
mov eax, dword [0x419728]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004069b4
mov edx, dword [0x41984c]
mov dword [edx], eax
call fcn.004069b4
mov edx, dword [0x419924]
mov dword [edx], eax
call fcn.004069b4
mov edx, dword [0x41986c]
mov dword [edx], eax
call fcn.004069b4
mov edx, dword [0x419994]
mov dword [edx], eax
call fcn.004069b4
mov edx, dword [0x419918]
mov dword [edx], eax
mov eax, dword [0x419934]
xor edx, edx
call fcn.00414848
mov eax, dword [0x419844]
xor edx, edx
call fcn.00414848
mov edx, 1
mov eax, 1
call fcn.0040a32c
mov edx, dword [0x419988]
mov dword [edx], eax
mov eax, dword [0x419828]
cmp byte [eax], 0
je 0x4178d5
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004065e0
mov eax, dword [0x41980c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x4179d4
call fcn.00412540
lea edx, [ebp - 0x44]
mov eax, dword [0x41ab60]
mov eax, dword [eax + 0x18]
call fcn.00406598
push dword [ebp - 0x44]
push 0x4179f0
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.0040596c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408274
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41ab60]
mov eax, dword [eax + 0x18]
call fcn.00409244
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x4179f0
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.0040596c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408274
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00409ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417992
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret