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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x417790
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x418193
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 [0x41a780]
mov dword [eax], edx
mov eax, dword [0x41a750]
cmp byte [eax], 0
je 0x4177e6
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.004097b4
push 0xffffffffffffffec
mov eax, dword [0x41a83c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41bb6c], eax
mov eax, dword [0x41a870]
cmp byte [eax], 0
je 0x417811
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.004069f0
mov edx, dword [0x41a730]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.00409d1c
mov eax, ebx
mov edx, esi
call fcn.00418e4c
mov edx, dword [0x41a7b4]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00409000
mov edx, dword [0x41a7b4]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00409000
mov edx, dword [0x41a7b4]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00409000
mov edx, dword [0x41a9d0]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.00409d1c
mov eax, ebx
mov edx, esi
call fcn.00418e2c
mov edx, dword [0x41a870]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.00409d1c
mov eax, dword [0x41a870]
mov al, byte [eax]
mov edx, dword [0x41a9e4]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.00419464
mov edx, dword [0x41a7a0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.00409d1c
mov eax, ebx
mov edx, esi
call fcn.004194ac
mov edx, dword [0x41a9ac]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00409f88
mov edx, dword [0x41a880]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00409f88
lea edx, [ebp - 0x10]
mov eax, dword [0x41a7d0]
mov eax, dword [eax]
call fcn.004082e0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.004095a0
lea edx, [ebp - 0x14]
mov eax, dword [0x41a72c]
mov eax, dword [eax]
call fcn.004082e0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.004095a0
lea edx, [ebp - 0x18]
mov eax, dword [0x41a988]
mov eax, dword [eax]
call fcn.004082e0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.004095a0
lea edx, [ebp - 0x1c]
mov eax, dword [0x41a970]
mov eax, dword [eax]
call fcn.004082e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.004095a0
lea edx, [ebp - 0x20]
mov eax, dword [0x41a76c]
mov eax, dword [eax]
call fcn.004082e0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.004095a0
lea edx, [ebp - 0x24]
mov eax, 0x4181a8
call fcn.00413e64
cmp dword [ebp - 0x24], 0
je 0x4179a8
lea edx, [ebp - 0x28]
mov eax, 0x4181a8
call fcn.00413e64
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.004095a0
jmp 0x4179b8
mov edx, dword [0x41a914]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.004095a0
mov eax, dword [0x41a868]
cmp byte [eax], 0
jne 0x4179cc
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00409000
mov eax, dword [0x41a82c]
cmp byte [eax], 0
jne 0x417a0a
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004069f0
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.004069f0
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.004069f0
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.004069f0
mov eax, dword [0x41a8a8]
cmp byte [eax], 0
jne 0x417a1e
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.004069f0
mov eax, dword [0x41a82c]
cmp byte [eax], 0
jne 0x417b05
mov eax, dword [0x41a8a8]
cmp byte [eax], 0
jne 0x417b05
mov eax, dword [ebx + 0x30]
call fcn.004099a8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004099a8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004099b4
mov eax, dword [ebx + 0x90]
call fcn.00409978
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.00409984
mov eax, dword [ebx + 0x94]
call fcn.00409978
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.00409984
mov eax, dword [ebx + 0x90]
call fcn.00409948
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409954
mov eax, dword [ebx + 0x94]
call fcn.00409948
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409954
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409cbc
mov eax, dword [ebx + 0x18]
call fcn.004099d0
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409af8
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409cbc
jmp 0x417ee3
mov eax, dword [0x41a82c]
cmp byte [eax], 0
je 0x417cf9
mov eax, dword [0x41a8a8]
cmp byte [eax], 0
jne 0x417cf9
mov eax, dword [ebx + 0x30]
call fcn.004099a8
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.004099a8
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.004099b4
mov eax, dword [ebx + 0x90]
call fcn.00409978
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409984
mov eax, dword [ebx + 0x90]
call fcn.00409948
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.00409954
mov eax, dword [ebx + 0x94]
call fcn.00409978
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409984
mov eax, dword [ebx + 0x94]
call fcn.00409948
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.00409954
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409cbc
mov eax, dword [ebx + 0x18]
call fcn.004099d0
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409af8
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409cbc
mov eax, dword [0x41a8dc]
cmp byte [eax], 0
je 0x417ee3
mov eax, dword [ebx + 0x84]
call fcn.004099d0
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.004099dc
mov eax, dword [ebx + 0xd4]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004099b4
mov eax, dword [ebx + 0x90]
call fcn.00409978
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409984
mov eax, dword [ebx + 0x94]
call fcn.00409978
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409984
mov eax, dword [ebx + 0x30]
call fcn.004099d0
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.004099dc
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409cbc
mov eax, dword [ebx + 0x18]
call fcn.004099d0
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409af8
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409cbc
mov eax, dword [ebx + 0x90]
call fcn.00409948
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.00409954
mov eax, dword [ebx + 0x90]
call fcn.00409948
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.00409954
mov eax, dword [ebx + 0x90]
call fcn.00409948
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409954
jmp 0x417ee3
mov eax, dword [0x41a82c]
cmp byte [eax], 0
jne 0x417d48
mov eax, dword [0x41a8a8]
cmp byte [eax], 0
je 0x417d48
mov eax, dword [ebx + 0x90]
call fcn.00409978
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.00409984
mov eax, dword [ebx + 0x94]
call fcn.00409978
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.00409984
jmp 0x417ee3
mov eax, dword [0x41a8dc]
cmp byte [eax], 0
je 0x417ee3
mov eax, dword [ebx + 0x84]
call fcn.004099d0
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.004099dc
mov eax, dword [ebx + 0xd4]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.004099b4
mov eax, dword [ebx + 0x84]
call fcn.00409948
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409954
mov eax, dword [ebx + 0x84]
call fcn.00409948
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004099a8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409954
mov eax, dword [ebx + 0x84]
call fcn.00409948
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.004099a8
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.004099a8
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.00409954
mov eax, dword [ebx + 0x84]
call fcn.00409978
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.004099d0
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.00409984
mov eax, dword [ebx + 0x88]
call fcn.00409978
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.00409984
mov eax, dword [ebx + 0x88]
call fcn.00409978
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.00409984
mov eax, dword [ebx + 0x90]
call fcn.00409978
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409984
mov eax, dword [ebx + 0x94]
call fcn.00409978
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409984
mov eax, dword [ebx + 0x30]
call fcn.004099d0
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.004099dc
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.00409cbc
mov eax, dword [ebx + 0x18]
call fcn.004099d0
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.004099a8
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.00409af8
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.00409cbc
call fcn.0040f580
mov dword [ebp - 4], eax
call fcn.0040fa90
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00407268
lea eax, [ebp - 0x2c]
call fcn.00413f20
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.00408394
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x417f85
mov esi, eax
dec esi
test esi, esi
jl 0x417f3f
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a340
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.00409ef8
inc edi
dec esi
jne 0x417f23
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00409f88
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x417f85
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.00409da8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cb8
test eax, eax
jle 0x417f81
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00409f88
inc edi
dec esi
jne 0x417f59
mov eax, dword [ebp - 8]
call fcn.00407b98
mov eax, dword [ebp - 4]
call fcn.00407b98
call fcn.0040f580
mov edx, dword [0x41a8a0]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.004069a8
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.00408394
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41a8a0]
mov eax, dword [eax]
call fcn.0040f8c8
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41a93c]
mov dword [edx], eax
mov eax, dword [0x41a99c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a80c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a960]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a784]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a918]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a9c0]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a79c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41a928]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x410d6c]
call fcn.004110e8
mov edx, dword [0x41a758]
mov dword [edx], eax
mov eax, dword [0x41a758]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.00406d98
mov edx, dword [0x41a87c]
mov dword [edx], eax
call fcn.00406d98
mov edx, dword [0x41a954]
mov dword [edx], eax
call fcn.00406d98
mov edx, dword [0x41a89c]
mov dword [edx], eax
call fcn.00406d98
mov edx, dword [0x41a9c4]
mov dword [edx], eax
call fcn.00406d98
mov edx, dword [0x41a948]
mov dword [edx], eax
mov eax, dword [0x41a964]
xor edx, edx
call fcn.00414d7c
mov eax, dword [0x41a874]
xor edx, edx
call fcn.00414d7c
mov edx, 1
mov eax, 1
call fcn.0040a688
mov edx, dword [0x41a9b8]
mov dword [edx], eax
mov eax, dword [0x41a858]
cmp byte [eax], 0
je 0x4180dd
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.004069f0
mov eax, dword [0x41a83c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x4181dc
call fcn.00412984
lea edx, [ebp - 0x44]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.004069a8
push dword [ebp - 0x44]
push 0x4181f8
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.004059b4
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004085d0
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a90
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41bb68]
mov eax, dword [eax + 0x18]
call fcn.004095a0
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x4181f8
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.004059b4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004085d0
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a90
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.0040a218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41819a
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403764
ret