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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x417080
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x417a83
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 0x4170d6
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.00409460
push 0xffffffffffffffec
mov eax, dword [0x41980c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41ab6c], eax
mov eax, dword [0x419840]
cmp byte [eax], 0
je 0x417101
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.004065e8
mov edx, dword [0x419700]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.004099c8
mov eax, ebx
mov edx, esi
call fcn.0041873c
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408cac
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408cac
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408cac
mov edx, dword [0x4199a0]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.004099c8
mov eax, ebx
mov edx, esi
call fcn.0041871c
mov edx, dword [0x419840]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.004099c8
mov eax, dword [0x419840]
mov al, byte [eax]
mov edx, dword [0x4199b4]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00418d54
mov edx, dword [0x419770]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.004099c8
mov eax, ebx
mov edx, esi
call fcn.00418d9c
mov edx, dword [0x41997c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409c34
mov edx, dword [0x419850]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409c34
lea edx, [ebp - 0x10]
mov eax, dword [0x4197a0]
mov eax, dword [eax]
call fcn.00407f8c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.0040924c
lea edx, [ebp - 0x14]
mov eax, dword [0x4196fc]
mov eax, dword [eax]
call fcn.00407f8c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.0040924c
lea edx, [ebp - 0x18]
mov eax, dword [0x419958]
mov eax, dword [eax]
call fcn.00407f8c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.0040924c
lea edx, [ebp - 0x1c]
mov eax, dword [0x419940]
mov eax, dword [eax]
call fcn.00407f8c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.0040924c
lea edx, [ebp - 0x20]
mov eax, dword [0x41973c]
mov eax, dword [eax]
call fcn.00407f8c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.0040924c
lea edx, [ebp - 0x24]
mov eax, 0x417a98
call fcn.00413a20
cmp dword [ebp - 0x24], 0
je 0x417298
lea edx, [ebp - 0x28]
mov eax, 0x417a98
call fcn.00413a20
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.0040924c
jmp 0x4172a8
mov edx, dword [0x4198e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.0040924c
mov eax, dword [0x419838]
cmp byte [eax], 0
jne 0x4172bc
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408cac
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x4172fa
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004065e8
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.004065e8
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.004065e8
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.004065e8
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x41730e
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.004065e8
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x4173f5
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x4173f5
mov eax, dword [ebx + 0x30]
call fcn.00409654
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409654
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409660
mov eax, dword [ebx + 0x90]
call fcn.00409624
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.00409630
mov eax, dword [ebx + 0x94]
call fcn.00409624
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.00409630
mov eax, dword [ebx + 0x90]
call fcn.004095f4
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409600
mov eax, dword [ebx + 0x94]
call fcn.004095f4
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409600
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409968
mov eax, dword [ebx + 0x18]
call fcn.0040967c
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.004097a4
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409968
jmp 0x4177d3
mov eax, dword [0x4197fc]
cmp byte [eax], 0
je 0x4175e9
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x4175e9
mov eax, dword [ebx + 0x30]
call fcn.00409654
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409654
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409660
mov eax, dword [ebx + 0x90]
call fcn.00409624
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409630
mov eax, dword [ebx + 0x90]
call fcn.004095f4
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.00409600
mov eax, dword [ebx + 0x94]
call fcn.00409624
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409630
mov eax, dword [ebx + 0x94]
call fcn.004095f4
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.00409600
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409968
mov eax, dword [ebx + 0x18]
call fcn.0040967c
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.004097a4
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409968
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4177d3
mov eax, dword [ebx + 0x84]
call fcn.0040967c
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409688
mov eax, dword [ebx + 0xd4]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409660
mov eax, dword [ebx + 0x90]
call fcn.00409624
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409630
mov eax, dword [ebx + 0x94]
call fcn.00409624
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409630
mov eax, dword [ebx + 0x30]
call fcn.0040967c
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409688
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409968
mov eax, dword [ebx + 0x18]
call fcn.0040967c
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.004097a4
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409968
mov eax, dword [ebx + 0x90]
call fcn.004095f4
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.00409600
mov eax, dword [ebx + 0x90]
call fcn.004095f4
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.00409600
mov eax, dword [ebx + 0x90]
call fcn.004095f4
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409600
jmp 0x4177d3
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417638
mov eax, dword [0x419878]
cmp byte [eax], 0
je 0x417638
mov eax, dword [ebx + 0x90]
call fcn.00409624
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.00409630
mov eax, dword [ebx + 0x94]
call fcn.00409624
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.00409630
jmp 0x4177d3
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4177d3
mov eax, dword [ebx + 0x84]
call fcn.0040967c
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409688
mov eax, dword [ebx + 0xd4]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409660
mov eax, dword [ebx + 0x84]
call fcn.004095f4
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409600
mov eax, dword [ebx + 0x84]
call fcn.004095f4
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409654
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409600
mov eax, dword [ebx + 0x84]
call fcn.004095f4
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409654
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409654
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.00409600
mov eax, dword [ebx + 0x84]
call fcn.00409624
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.0040967c
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.00409630
mov eax, dword [ebx + 0x88]
call fcn.00409624
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.00409630
mov eax, dword [ebx + 0x88]
call fcn.00409624
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.00409630
mov eax, dword [ebx + 0x90]
call fcn.00409624
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409630
mov eax, dword [ebx + 0x94]
call fcn.00409624
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409630
mov eax, dword [ebx + 0x30]
call fcn.0040967c
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409688
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409968
mov eax, dword [ebx + 0x18]
call fcn.0040967c
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409654
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.004097a4
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409968
call fcn.0040f22c
mov dword [ebp - 4], eax
call fcn.0040f73c
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00406ec0
lea eax, [ebp - 0x2c]
call fcn.00413adc
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.00408040
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x417875
mov esi, eax
dec esi
test esi, esi
jl 0x41782f
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00409fec
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409ba4
inc edi
dec esi
jne 0x417813
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409c34
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x417875
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409a54
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x417871
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409c34
inc edi
dec esi
jne 0x417849
mov eax, dword [ebp - 8]
call fcn.00407844
mov eax, dword [ebp - 4]
call fcn.00407844
call fcn.0040f22c
mov edx, dword [0x419870]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004065a0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408040
mov edx, dword [ebp - 0x38]
mov eax, dword [0x419870]
mov eax, dword [eax]
call fcn.0040f574
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 [0x410a18]
call fcn.00410d94
mov edx, dword [0x419728]
mov dword [edx], eax
mov eax, dword [0x419728]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004069bc
mov edx, dword [0x41984c]
mov dword [edx], eax
call fcn.004069bc
mov edx, dword [0x419924]
mov dword [edx], eax
call fcn.004069bc
mov edx, dword [0x41986c]
mov dword [edx], eax
call fcn.004069bc
mov edx, dword [0x419994]
mov dword [edx], eax
call fcn.004069bc
mov edx, dword [0x419918]
mov dword [edx], eax
mov eax, dword [0x419934]
xor edx, edx
call fcn.00414938
mov eax, dword [0x419844]
xor edx, edx
call fcn.00414938
mov edx, 1
mov eax, 1
call fcn.0040a334
mov edx, dword [0x419988]
mov dword [edx], eax
mov eax, dword [0x419828]
cmp byte [eax], 0
je 0x4179cd
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004065e8
mov eax, dword [0x41980c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x417acc
call fcn.00412630
lea edx, [ebp - 0x44]
mov eax, dword [0x41ab68]
mov eax, dword [eax + 0x18]
call fcn.004065a0
push dword [ebp - 0x44]
push 0x417ae8
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.00405974
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040827c
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41ab68]
mov eax, dword [eax + 0x18]
call fcn.0040924c
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x417ae8
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.00405974
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040827c
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00409ec4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417a8a
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret