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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x41708c
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x417a8f
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 0x4170e2
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.004092ec
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 0x41710d
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00406528
mov edx, dword [0x419700]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409854
mov eax, ebx
mov edx, esi
call fcn.00418748
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00408b38
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00408b38
mov edx, dword [0x419784]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00408b38
mov edx, dword [0x4199a0]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409854
mov eax, ebx
mov edx, esi
call fcn.00418728
mov edx, dword [0x419840]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409854
mov eax, dword [0x419840]
mov al, byte [eax]
mov edx, dword [0x4199b4]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00418d60
mov edx, dword [0x419770]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409854
mov eax, ebx
mov edx, esi
call fcn.00418da8
mov edx, dword [0x41997c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409ac0
mov edx, dword [0x419850]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409ac0
lea edx, [ebp - 0x10]
mov eax, dword [0x4197a0]
mov eax, dword [eax]
call fcn.00407e18
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.004090d8
lea edx, [ebp - 0x14]
mov eax, dword [0x4196fc]
mov eax, dword [eax]
call fcn.00407e18
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004090d8
lea edx, [ebp - 0x18]
mov eax, dword [0x419958]
mov eax, dword [eax]
call fcn.00407e18
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.004090d8
lea edx, [ebp - 0x1c]
mov eax, dword [0x419940]
mov eax, dword [eax]
call fcn.00407e18
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.004090d8
lea edx, [ebp - 0x20]
mov eax, dword [0x41973c]
mov eax, dword [eax]
call fcn.00407e18
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.004090d8
lea edx, [ebp - 0x24]
mov eax, 0x417aa4
call fcn.004138ac
cmp dword [ebp - 0x24], 0
je 0x4172a4
lea edx, [ebp - 0x28]
mov eax, 0x417aa4
call fcn.004138ac
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.004090d8
jmp 0x4172b4
mov edx, dword [0x4198e4]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.004090d8
mov eax, dword [0x419838]
cmp byte [eax], 0
jne 0x4172c8
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00408b38
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417306
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406528
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00406528
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00406528
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00406528
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x41731a
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00406528
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417401
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x417401
mov eax, dword [ebx + 0x30]
call fcn.004094e0
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004094e0
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004094ec
mov eax, dword [ebx + 0x90]
call fcn.004094b0
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.004094bc
mov eax, dword [ebx + 0x94]
call fcn.004094b0
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.004094bc
mov eax, dword [ebx + 0x90]
call fcn.00409480
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0040948c
mov eax, dword [ebx + 0x94]
call fcn.00409480
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0040948c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.004097f4
mov eax, dword [ebx + 0x18]
call fcn.00409508
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409630
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004097f4
jmp 0x4177df
mov eax, dword [0x4197fc]
cmp byte [eax], 0
je 0x4175f5
mov eax, dword [0x419878]
cmp byte [eax], 0
jne 0x4175f5
mov eax, dword [ebx + 0x30]
call fcn.004094e0
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004094e0
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004094ec
mov eax, dword [ebx + 0x90]
call fcn.004094b0
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004094bc
mov eax, dword [ebx + 0x90]
call fcn.00409480
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.0040948c
mov eax, dword [ebx + 0x94]
call fcn.004094b0
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004094bc
mov eax, dword [ebx + 0x94]
call fcn.00409480
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.0040948c
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.004097f4
mov eax, dword [ebx + 0x18]
call fcn.00409508
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409630
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004097f4
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4177df
mov eax, dword [ebx + 0x84]
call fcn.00409508
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409514
mov eax, dword [ebx + 0xd4]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004094ec
mov eax, dword [ebx + 0x90]
call fcn.004094b0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.004094bc
mov eax, dword [ebx + 0x94]
call fcn.004094b0
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.004094bc
mov eax, dword [ebx + 0x30]
call fcn.00409508
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409514
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.004097f4
mov eax, dword [ebx + 0x18]
call fcn.00409508
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409630
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004097f4
mov eax, dword [ebx + 0x90]
call fcn.00409480
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.0040948c
mov eax, dword [ebx + 0x90]
call fcn.00409480
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.0040948c
mov eax, dword [ebx + 0x90]
call fcn.00409480
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040948c
jmp 0x4177df
mov eax, dword [0x4197fc]
cmp byte [eax], 0
jne 0x417644
mov eax, dword [0x419878]
cmp byte [eax], 0
je 0x417644
mov eax, dword [ebx + 0x90]
call fcn.004094b0
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.004094bc
mov eax, dword [ebx + 0x94]
call fcn.004094b0
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.004094bc
jmp 0x4177df
mov eax, dword [0x4198ac]
cmp byte [eax], 0
je 0x4177df
mov eax, dword [ebx + 0x84]
call fcn.00409508
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409514
mov eax, dword [ebx + 0xd4]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004094ec
mov eax, dword [ebx + 0x84]
call fcn.00409480
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0040948c
mov eax, dword [ebx + 0x84]
call fcn.00409480
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004094e0
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0040948c
mov eax, dword [ebx + 0x84]
call fcn.00409480
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004094e0
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004094e0
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.0040948c
mov eax, dword [ebx + 0x84]
call fcn.004094b0
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409508
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.004094bc
mov eax, dword [ebx + 0x88]
call fcn.004094b0
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.004094bc
mov eax, dword [ebx + 0x88]
call fcn.004094b0
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.004094bc
mov eax, dword [ebx + 0x90]
call fcn.004094b0
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.004094bc
mov eax, dword [ebx + 0x94]
call fcn.004094b0
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.004094bc
mov eax, dword [ebx + 0x30]
call fcn.00409508
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409514
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.004097f4
mov eax, dword [ebx + 0x18]
call fcn.00409508
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.004094e0
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409630
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.004097f4
call fcn.0040f0b8
mov dword [ebp - 4], eax
call fcn.0040f5c8
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00406da0
lea eax, [ebp - 0x2c]
call fcn.00413968
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.00407ecc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x417881
mov esi, eax
dec esi
test esi, esi
jl 0x41783b
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00409e78
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409a30
inc edi
dec esi
jne 0x41781f
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409ac0
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x417881
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.004098e0
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x41787d
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409ac0
inc edi
dec esi
jne 0x417855
mov eax, dword [ebp - 8]
call fcn.004076d0
mov eax, dword [ebp - 4]
call fcn.004076d0
call fcn.0040f0b8
mov edx, dword [0x419870]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004064e0
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00407ecc
mov edx, dword [ebp - 0x38]
mov eax, dword [0x419870]
mov eax, dword [eax]
call fcn.0040f400
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 [0x4108a4]
call fcn.00410c20
mov edx, dword [0x419728]
mov dword [edx], eax
mov eax, dword [0x419728]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004068d0
mov edx, dword [0x41984c]
mov dword [edx], eax
call fcn.004068d0
mov edx, dword [0x419924]
mov dword [edx], eax
call fcn.004068d0
mov edx, dword [0x41986c]
mov dword [edx], eax
call fcn.004068d0
mov edx, dword [0x419994]
mov dword [edx], eax
call fcn.004068d0
mov edx, dword [0x419918]
mov dword [edx], eax
mov eax, dword [0x419934]
xor edx, edx
call fcn.004147c4
mov eax, dword [0x419844]
xor edx, edx
call fcn.004147c4
mov edx, 1
mov eax, 1
call fcn.0040a1c0
mov edx, dword [0x419988]
mov dword [edx], eax
mov eax, dword [0x419828]
cmp byte [eax], 0
je 0x4179d9
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406528
mov eax, dword [0x41980c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x417ad8
call fcn.004124bc
lea edx, [ebp - 0x44]
mov eax, dword [0x41ab68]
mov eax, dword [eax + 0x18]
call fcn.004064e0
push dword [ebp - 0x44]
push 0x417af4
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.0040591c
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408108
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.004090d8
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x417af4
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.0040591c
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408108
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.00409d50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417a96
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret