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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x46b698
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c09b
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 [0x46f914]
mov dword [eax], edx
mov eax, dword [0x46f8bc]
cmp byte [eax], 0
je 0x46b6ee
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.0045ef30
push 0xffffffffffffffec
mov eax, dword [0x46fa9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
push eax
call sub.user32.dll_GetWindowLongA_1
mov dword [0x47105c], eax
mov eax, dword [0x46faf0]
cmp byte [eax], 0
je 0x46b719
mov eax, dword [ebx + 0x5c]
xor edx, edx
call fcn.0045ed58
mov edx, dword [0x46f88c]
mov dl, byte [edx]
mov eax, dword [ebx + 0x80]
call fcn.0045fcc4
mov eax, ebx
mov edx, esi
call fcn.0046cd54
mov edx, dword [0x46f994]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x80]
call fcn.0045df08
mov edx, dword [0x46f994]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x74]
call fcn.0045df08
mov edx, dword [0x46f994]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0x7c]
call fcn.0045df08
mov edx, dword [0x46fde8]
mov dl, byte [edx]
mov eax, dword [ebx + 0x8c]
call fcn.0045fcc4
mov eax, ebx
mov edx, esi
call fcn.0046cd34
mov edx, dword [0x46faf0]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xec]
call fcn.0045fcc4
mov eax, dword [0x46faf0]
mov al, byte [eax]
mov edx, dword [0x46fe1c]
mov byte [edx], al
mov eax, ebx
mov edx, esi
call fcn.0046d36c
mov edx, dword [0x46f970]
mov dl, byte [edx]
xor dl, 1
mov eax, dword [ebx + 0xf4]
call fcn.0045fcc4
mov eax, ebx
mov edx, esi
call fcn.0046d3b4
mov edx, dword [0x46fd88]
mov edx, dword [edx]
mov eax, dword [ebx + 0x7c]
mov cl, 1
call fcn.00460044
mov edx, dword [0x46fb1c]
mov edx, dword [edx]
mov eax, dword [ebx + 0xdc]
mov cl, 1
call fcn.00460044
lea edx, [ebp - 0x10]
mov eax, dword [0x46f9b8]
mov eax, dword [eax]
call fcn.0045bf04
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call fcn.0045ec90
lea edx, [ebp - 0x14]
mov eax, dword [0x46f888]
mov eax, dword [eax]
call fcn.0045bf04
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x70]
call fcn.0045ec90
lea edx, [ebp - 0x18]
mov eax, dword [0x46fd50]
mov eax, dword [eax]
call fcn.0045bf04
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x6c]
call fcn.0045ec90
lea edx, [ebp - 0x1c]
mov eax, dword [0x46fd14]
mov eax, dword [eax]
call fcn.0045bf04
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x68]
call fcn.0045ec90
lea edx, [ebp - 0x20]
mov eax, dword [0x46f8e8]
mov eax, dword [eax]
call fcn.0045bf04
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x64]
call fcn.0045ec90
lea edx, [ebp - 0x24]
mov eax, 0x46c0b0
call fcn.00467bd8
cmp dword [ebp - 0x24], 0
je 0x46b8b0
lea edx, [ebp - 0x28]
mov eax, 0x46c0b0
call fcn.00467bd8
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x60]
call fcn.0045ec90
jmp 0x46b8c0
mov edx, dword [0x46fc7c]
mov edx, dword [edx]
mov eax, dword [ebx + 0x60]
call fcn.0045ec90
mov eax, dword [0x46fae0]
cmp byte [eax], 0
jne 0x46b8d4
mov eax, dword [ebx + 0x64]
xor edx, edx
call fcn.0045df08
mov eax, dword [0x46fa8c]
cmp byte [eax], 0
jne 0x46b912
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.0045ed58
mov eax, dword [ebx + 0x88]
xor edx, edx
call fcn.0045ed58
mov eax, dword [ebx + 0x8c]
xor edx, edx
call fcn.0045ed58
mov eax, dword [ebx + 0xf4]
xor edx, edx
call fcn.0045ed58
mov eax, dword [0x46fb88]
cmp byte [eax], 0
jne 0x46b926
mov eax, dword [ebx + 0x30]
xor edx, edx
call fcn.0045ed58
mov eax, dword [0x46fa8c]
cmp byte [eax], 0
jne 0x46ba0d
mov eax, dword [0x46fb88]
cmp byte [eax], 0
jne 0x46ba0d
mov eax, dword [ebx + 0x30]
call fcn.0045f450
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0045f450
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.0045f46c
mov eax, dword [ebx + 0x90]
call fcn.0045f404
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x90]
call fcn.0045f41c
mov eax, dword [ebx + 0x94]
call fcn.0045f404
mov edx, eax
sub edx, 0x4b
mov eax, dword [ebx + 0x94]
call fcn.0045f41c
mov eax, dword [ebx + 0x90]
call fcn.0045f3b8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0045f3d0
mov eax, dword [ebx + 0x94]
call fcn.0045f3b8
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0045f3d0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0045fc50
mov eax, dword [ebx + 0x18]
call fcn.0045f494
sub eax, 0x46
push eax
mov eax, dword [ebx + 0x18]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0045f774
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0045fc50
jmp 0x46bdeb
mov eax, dword [0x46fa8c]
cmp byte [eax], 0
je 0x46bc01
mov eax, dword [0x46fb88]
cmp byte [eax], 0
jne 0x46bc01
mov eax, dword [ebx + 0x30]
call fcn.0045f450
mov esi, eax
mov eax, dword [ebx + 0xe4]
call fcn.0045f450
add esi, eax
mov edx, esi
add edx, 6
mov eax, dword [ebx + 0xe4]
call fcn.0045f46c
mov eax, dword [ebx + 0x90]
call fcn.0045f404
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.0045f41c
mov eax, dword [ebx + 0x90]
call fcn.0045f3b8
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x90]
call fcn.0045f3d0
mov eax, dword [ebx + 0x94]
call fcn.0045f404
mov edx, eax
sub edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.0045f41c
mov eax, dword [ebx + 0x94]
call fcn.0045f3b8
mov edx, eax
add edx, 0x12c
mov eax, dword [ebx + 0x94]
call fcn.0045f3d0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0045fc50
mov eax, dword [ebx + 0x18]
call fcn.0045f494
sub eax, 0x28
push eax
mov eax, dword [ebx + 0x18]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0045f774
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0045fc50
mov eax, dword [0x46fbe0]
cmp byte [eax], 0
je 0x46bdeb
mov eax, dword [ebx + 0x84]
call fcn.0045f494
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0045f4b0
mov eax, dword [ebx + 0xd4]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.0045f46c
mov eax, dword [ebx + 0x90]
call fcn.0045f404
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x90]
call fcn.0045f41c
mov eax, dword [ebx + 0x94]
call fcn.0045f404
mov edx, eax
add edx, 0x28
mov eax, dword [ebx + 0x94]
call fcn.0045f41c
mov eax, dword [ebx + 0x30]
call fcn.0045f494
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x30]
call fcn.0045f4b0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0045fc50
mov eax, dword [ebx + 0x18]
call fcn.0045f494
add eax, 0x1e
push eax
mov eax, dword [ebx + 0x18]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0045f774
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0045fc50
mov eax, dword [ebx + 0x90]
call fcn.0045f3b8
mov edx, eax
mov eax, dword [ebx + 0x8c]
call fcn.0045f3d0
mov eax, dword [ebx + 0x90]
call fcn.0045f3b8
mov edx, eax
mov eax, dword [ebx + 0xf4]
call fcn.0045f3d0
mov eax, dword [ebx + 0x90]
call fcn.0045f3b8
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0045f3d0
jmp 0x46bdeb
mov eax, dword [0x46fa8c]
cmp byte [eax], 0
jne 0x46bc50
mov eax, dword [0x46fb88]
cmp byte [eax], 0
je 0x46bc50
mov eax, dword [ebx + 0x90]
call fcn.0045f404
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x90]
call fcn.0045f41c
mov eax, dword [ebx + 0x94]
call fcn.0045f404
mov edx, eax
sub edx, 0x32
mov eax, dword [ebx + 0x94]
call fcn.0045f41c
jmp 0x46bdeb
mov eax, dword [0x46fbe0]
cmp byte [eax], 0
je 0x46bdeb
mov eax, dword [ebx + 0x84]
call fcn.0045f494
mov edx, eax
add edx, 0x1e
mov eax, dword [ebx + 0x84]
call fcn.0045f4b0
mov eax, dword [ebx + 0xd4]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x84]
call fcn.0045f46c
mov eax, dword [ebx + 0x84]
call fcn.0045f3b8
mov edx, eax
mov eax, dword [ebx + 0x88]
call fcn.0045f3d0
mov eax, dword [ebx + 0x84]
call fcn.0045f3b8
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0045f450
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0045f3d0
mov eax, dword [ebx + 0x84]
call fcn.0045f3b8
mov esi, eax
mov eax, dword [ebx + 0x88]
call fcn.0045f450
add esi, eax
add esi, 0xa
mov eax, dword [ebx + 0xf4]
call fcn.0045f450
add esi, eax
mov edx, esi
add edx, 0xa
mov eax, dword [ebx + 0x8c]
call fcn.0045f3d0
mov eax, dword [ebx + 0x84]
call fcn.0045f404
mov esi, eax
mov eax, dword [ebx + 0x84]
call fcn.0045f494
add esi, eax
mov edx, esi
add edx, 5
mov eax, dword [ebx + 0x88]
call fcn.0045f41c
mov eax, dword [ebx + 0x88]
call fcn.0045f404
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0x8c]
call fcn.0045f41c
mov eax, dword [ebx + 0x88]
call fcn.0045f404
mov edx, eax
add edx, 5
mov eax, dword [ebx + 0xf4]
call fcn.0045f41c
mov eax, dword [ebx + 0x90]
call fcn.0045f404
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x90]
call fcn.0045f41c
mov eax, dword [ebx + 0x94]
call fcn.0045f404
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x94]
call fcn.0045f41c
mov eax, dword [ebx + 0x30]
call fcn.0045f494
mov edx, eax
add edx, 0x3c
mov eax, dword [ebx + 0x30]
call fcn.0045f4b0
mov eax, dword [ebx + 0x18]
mov dl, 1
call fcn.0045fc50
mov eax, dword [ebx + 0x18]
call fcn.0045f494
add eax, 0x3c
push eax
mov eax, dword [ebx + 0x18]
call fcn.0045f450
mov edx, eax
mov eax, dword [ebx + 0x18]
pop ecx
call fcn.0045f774
mov eax, dword [ebx + 0x18]
xor edx, edx
call fcn.0045fc50
call fcn.004634a4
mov dword [ebp - 4], eax
call fcn.004639b4
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x78]
call fcn.00461110
lea eax, [ebp - 0x2c]
call fcn.00467c94
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0xc]
call fcn.0045c0a4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
cmp eax, 1
jl 0x46be8d
mov esi, eax
dec esi
test esi, esi
jl 0x46be47
inc esi
xor edi, edi
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 8]
mov edx, edi
call fcn.00460710
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x78]
call fcn.0045ff44
inc edi
dec esi
jne 0x46be2b
mov eax, dword [ebx + 0x78]
mov cl, 1
xor edx, edx
call fcn.00460044
mov eax, dword [ebp - 8]
mov esi, dword [eax + 0x1c]
dec esi
test esi, esi
jl 0x46be8d
inc esi
xor edi, edi
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x78]
mov edx, edi
call fcn.0045fda4
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.00404588
test eax, eax
jle 0x46be89
mov eax, dword [ebx + 0x78]
mov cl, 1
mov edx, edi
call fcn.00460044
inc edi
dec esi
jne 0x46be61
mov eax, dword [ebp - 8]
call fcn.0045af58
mov eax, dword [ebp - 4]
call fcn.0045af58
call fcn.004634a4
mov edx, dword [0x46fb68]
mov dword [edx], eax
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x78]
call fcn.0045ec38
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0045c0a4
mov edx, dword [ebp - 0x38]
mov eax, dword [0x46fb68]
mov eax, dword [eax]
call fcn.004637ec
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA_1
mov edx, dword [0x46fcb8]
mov dword [edx], eax
mov eax, dword [0x46fd6c]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46fa30]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46fcfc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46f918]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46fc80]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46fdcc]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46f968]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x46fca0]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov dl, 1
mov eax, dword [0x464be0]
call fcn.00464f5c
mov edx, dword [0x46f8c4]
mov dword [edx], eax
mov eax, dword [0x46f8c4]
mov eax, dword [eax]
mov dword [eax + 0x4c], 0x2710
call fcn.004605c4
mov edx, dword [0x46fb0c]
mov dword [edx], eax
call fcn.004605c4
mov edx, dword [0x46fcdc]
mov dword [edx], eax
call fcn.004605c4
mov edx, dword [0x46fb5c]
mov dword [edx], eax
call fcn.004605c4
mov edx, dword [0x46fdd0]
mov dword [edx], eax
call fcn.004605c4
mov edx, dword [0x46fcc8]
mov dword [edx], eax
mov eax, dword [0x46fd00]
xor edx, edx
call fcn.00468af0
mov eax, dword [0x46faf8]
xor edx, edx
call fcn.00468af0
mov edx, 1
mov eax, 1
call fcn.0046144c
mov edx, dword [0x46fdc0]
mov dword [edx], eax
mov eax, dword [0x46facc]
cmp byte [eax], 0
je 0x46bfe5
mov eax, dword [ebx + 0x84]
xor edx, edx
call fcn.0045ed58
mov eax, dword [0x46fa9c]
mov eax, dword [eax]
mov eax, dword [eax + 0x28]
mov edx, 0x46c0e4
call fcn.004667e8
lea edx, [ebp - 0x44]
mov eax, dword [0x471058]
mov eax, dword [eax + 0x18]
call fcn.0045ec38
push dword [ebp - 0x44]
push 0x46c100
lea edx, [ebp - 0x4c]
xor eax, eax
call fcn.0045c3fc
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0045c7b0
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00404304
mov edx, dword [ebp - 0x40]
mov eax, dword [0x471058]
mov eax, dword [eax + 0x18]
call fcn.0045ec90
mov esi, dword [ebx + 0x24]
push dword [esi + 0x1d]
push 0x46c100
lea edx, [ebp - 0x58]
xor eax, eax
call fcn.0045c3fc
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0045c7b0
push dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 3
call fcn.00404304
mov edx, dword [ebp - 0x50]
mov eax, esi
call fcn.004604ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c0a2
lea eax, [ebp - 0x58]
mov edx, 0x14
call fcn.00403fa8
ret