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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4189a0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4193a3
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 [0x41b7bc]
mov dword [eax], edx
mov eax, dword [0x41b78c]
cmp byte [eax], 0
je 0x4189f6
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.00409ce8
push 0xffffffffffffffec
mov eax, dword [0x41b878]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA
mov dword [0x41cb6c], eax
mov eax, dword [0x41b8ac]
cmp byte [eax], 0
je 0x418a21
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.00406d64
mov edx, dword [0x41b76c]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.0040a250
mov eax, ebx
mov edx, esi
call fcn.0041a05c
mov edx, dword [0x41b7f0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.00409534
mov edx, dword [0x41b7f0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.00409534
mov edx, dword [0x41b7f0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.00409534
mov edx, dword [0x41ba0c]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.0040a250
mov eax, ebx
mov edx, esi
call fcn.0041a03c
mov edx, dword [0x41b8ac]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.0040a250
mov eax, dword [0x41b8ac]
mov al, byte [eax]
mov edx, dword [0x41ba20]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.0041a674
mov edx, dword [0x41b7dc]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.0040a250
mov eax, ebx
mov edx, esi
call fcn.0041a6bc
mov edx, dword [0x41b9e8]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.0040a4bc
mov edx, dword [0x41b8bc]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.0040a4bc
lea edx, [ebp - 0x10]
mov eax, dword [0x41b80c]
mov eax, dword [eax]
call fcn.004087fc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.00409ad4
lea edx, [ebp - 0x14]
mov eax, dword [0x41b768]
mov eax, dword [eax]
call fcn.004087fc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.00409ad4
lea edx, [ebp - 0x18]
mov eax, dword [0x41b9c4]
mov eax, dword [eax]
call fcn.004087fc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.00409ad4
lea edx, [ebp - 0x1c]
mov eax, dword [0x41b9ac]
mov eax, dword [eax]
call fcn.004087fc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.00409ad4
lea edx, [ebp - 0x20]
mov eax, dword [0x41b7a8]
mov eax, dword [eax]
call fcn.004087fc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.00409ad4
lea edx, [ebp - 0x24]
mov eax, 0x4193b8
call fcn.00414e48
cmp dword [ebp - 0x24], 0
je 0x418bb8
lea edx, [ebp - 0x28]
mov eax, 0x4193b8
call fcn.00414e48
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.00409ad4
jmp 0x418bc8
mov edx, dword [0x41b950]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.00409ad4
mov eax, dword [0x41b8a4]
cmp byte [eax], 0
jne 0x418bdc
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.00409534
mov eax, dword [0x41b868]
cmp byte [eax], 0
jne 0x418c1a
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406d64
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.00406d64
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.00406d64
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.00406d64
mov eax, dword [0x41b8e4]
cmp byte [eax], 0
jne 0x418c2e
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.00406d64
mov eax, dword [0x41b868]
cmp byte [eax], 0
jne 0x418d15
mov eax, dword [0x41b8e4]
cmp byte [eax], 0
jne 0x418d15
mov eax, dword [ebx + 0x30]
call fcn.00409edc
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409edc
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409ee8
mov eax, dword [ebx + 0x90]
call fcn.00409eac
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.00409eb8
mov eax, dword [ebx + 0x94]
call fcn.00409eac
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.00409eb8
mov eax, dword [ebx + 0x90]
call fcn.00409e7c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409e88
mov eax, dword [ebx + 0x94]
call fcn.00409e7c
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409e88
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040a1f0
mov eax, dword [ebx + 0x18]
call fcn.00409f04
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040a02c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040a1f0
jmp 0x4190f3
mov eax, dword [0x41b868]
cmp byte [eax], 0
je 0x418f09
mov eax, dword [0x41b8e4]
cmp byte [eax], 0
jne 0x418f09
mov eax, dword [ebx + 0x30]
call fcn.00409edc
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.00409edc
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.00409ee8
mov eax, dword [ebx + 0x90]
call fcn.00409eac
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409eb8
mov eax, dword [ebx + 0x90]
call fcn.00409e7c
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.00409e88
mov eax, dword [ebx + 0x94]
call fcn.00409eac
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409eb8
mov eax, dword [ebx + 0x94]
call fcn.00409e7c
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.00409e88
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040a1f0
mov eax, dword [ebx + 0x18]
call fcn.00409f04
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040a02c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040a1f0
mov eax, dword [0x41b918]
cmp byte [eax], 0
je 0x4190f3
mov eax, dword [ebx + 0x84]
call fcn.00409f04
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409f10
mov eax, dword [ebx + 0xd4]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409ee8
mov eax, dword [ebx + 0x90]
call fcn.00409eac
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.00409eb8
mov eax, dword [ebx + 0x94]
call fcn.00409eac
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.00409eb8
mov eax, dword [ebx + 0x30]
call fcn.00409f04
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.00409f10
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040a1f0
mov eax, dword [ebx + 0x18]
call fcn.00409f04
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040a02c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040a1f0
mov eax, dword [ebx + 0x90]
call fcn.00409e7c
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.00409e88
mov eax, dword [ebx + 0x90]
call fcn.00409e7c
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.00409e88
mov eax, dword [ebx + 0x90]
call fcn.00409e7c
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409e88
jmp 0x4190f3
mov eax, dword [0x41b868]
cmp byte [eax], 0
jne 0x418f58
mov eax, dword [0x41b8e4]
cmp byte [eax], 0
je 0x418f58
mov eax, dword [ebx + 0x90]
call fcn.00409eac
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.00409eb8
mov eax, dword [ebx + 0x94]
call fcn.00409eac
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.00409eb8
jmp 0x4190f3
mov eax, dword [0x41b918]
cmp byte [eax], 0
je 0x4190f3
mov eax, dword [ebx + 0x84]
call fcn.00409f04
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.00409f10
mov eax, dword [ebx + 0xd4]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.00409ee8
mov eax, dword [ebx + 0x84]
call fcn.00409e7c
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.00409e88
mov eax, dword [ebx + 0x84]
call fcn.00409e7c
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409edc
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409e88
mov eax, dword [ebx + 0x84]
call fcn.00409e7c
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.00409edc
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.00409edc
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.00409e88
mov eax, dword [ebx + 0x84]
call fcn.00409eac
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.00409f04
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.00409eb8
mov eax, dword [ebx + 0x88]
call fcn.00409eac
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.00409eb8
mov eax, dword [ebx + 0x88]
call fcn.00409eac
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.00409eb8
mov eax, dword [ebx + 0x90]
call fcn.00409eac
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.00409eb8
mov eax, dword [ebx + 0x94]
call fcn.00409eac
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.00409eb8
mov eax, dword [ebx + 0x30]
call fcn.00409f04
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.00409f10
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0040a1f0
mov eax, dword [ebx + 0x18]
call fcn.00409f04
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.00409edc
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0040a02c
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0040a1f0
call fcn.00410334
mov dword [ebp - 4], eax
call fcn.00410844
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.0040763c
lea eax, [ebp - 0x2c]
call fcn.00414f04
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.004088b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x419195
mov esi, eax
dec esi
test esi, esi
jl 0x41914f
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.0040a874
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.0040a42c
inc edi
dec esi
jne 0x419133
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.0040a4bc
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x419195
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.0040a2dc
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00403cac
test eax, eax
jle 0x419191
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.0040a4bc
inc edi
dec esi
jne 0x419169
mov eax, dword [ebp - 8]
call fcn.004080b4
mov eax, dword [ebp - 4]
call fcn.004080b4
call fcn.00410334
mov edx, dword [0x41b8dc]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.00406d1c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004088b0
mov edx, dword [ebp - 0x38]
mov eax, dword [0x41b8dc]
mov eax, dword [eax]
call fcn.0041067c
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov edx, dword [0x41b978]
mov dword [edx], eax
mov eax, dword [0x41b9d8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b848]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b99c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7c0]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b954]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b9fc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b7d8]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x41b964]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x411b20]
call fcn.00411e9c
mov edx, dword [0x41b794]
mov dword [edx], eax
mov eax, dword [0x41b794]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.00407138
mov edx, dword [0x41b8b8]
mov dword [edx], eax
call fcn.00407138
mov edx, dword [0x41b990]
mov dword [edx], eax
call fcn.00407138
mov edx, dword [0x41b8d8]
mov dword [edx], eax
call fcn.00407138
mov edx, dword [0x41ba00]
mov dword [edx], eax
call fcn.00407138
mov edx, dword [0x41b984]
mov dword [edx], eax
mov eax, dword [0x41b9a0]
xor edx, edx
call fcn.00415d7c
mov eax, dword [0x41b8b0]
xor edx, edx
call fcn.00415d7c
mov edx, 1
mov eax, 1
call fcn.0040abfc
mov edx, dword [0x41b9f4]
mov dword [edx], eax
mov eax, dword [0x41b894]
cmp byte [eax], 0
je 0x4192ed
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.00406d64
mov eax, dword [0x41b878]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x4193ec
call fcn.00413810
lea edx, [ebp - 0x44]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.00406d1c
push dword [ebp - 0x44]
push 0x419408
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.004060f0
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00408b04
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x40]
mov eax, dword [0x41cb68]
mov eax, dword [eax + 0x18]
call fcn.00409ad4
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x419408
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.004060f0
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00408b04
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00403a84
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.0040a74c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4193aa
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403758
ret