Function at 0x45f0f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 3
add esp, 0xfffff004
push eax
dec eax
jne 0x45f101
mov eax, dword [ebp - 4]
add esp, 0xfffff228
push ebx
push esi
push edi
mov dword [ebp - 0x40], edx
mov ebx, eax
mov eax, 0x49fc68
call fcn.0048dd88
mov word [ebp - 0x2c], 8
inc dword [0x4bc220]
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
call fcn.00495d7c
mov dword [ebp - 0x44], eax
push 1
push 0xffffffffffffffff
push 0x100c
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x48], eax
mov eax, 0x4b9dfc
mov edx, 1
call fcn.00445400
mov eax, 0x1c4
call fcn.004116e8
mov edx, eax
mov eax, 0x4b9dfc
call fcn.00445460
push 0
push 0
push 0xb
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, ebx
call fcn.00462fc8
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_Remove
push dword [ebx + 8]
push 1
push 0x1003
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4b9dec
call fcn.00478a0c
lea edx, [ebp - 0x11c]
mov eax, 0x4ba5d4
call fcn.0045d2a4
lea ecx, [ebp - 0xd1c]
lea edx, [ebp - 0x51c]
mov eax, 0x4ba5d4
call fcn.0045d244
lea edx, [ebp - 0x51c]
push edx
call fcn.0048d918
pop ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xd1c]
call fcn.0040f914
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x4c], 0
je 0x45f201
inc dword [ebp - 0x4c]
cmp byte [0x4a8940], 0
je 0x45f21c
lea edx, [ebp - 0x51c]
mov eax, 0x4a8840
call fcn.0040fd90
jmp 0x45f229
lea edx, [ebp - 0x51c]
push edx
call fcn.0048d918
pop ecx
test eax, eax
je 0x45f22e
inc eax
cmp dword [ebp - 0x50], 0
je 0x45f23a
mov ecx, dword [ebp - 0x50]
inc ecx
jmp 0x45f23c
mov ecx, eax
mov dword [ebp - 0x50], ecx
xor edi, edi
mov byte [ebp - 0x51], 0
mov byte [ebp - 0x52], 0
mov edx, 0x49f8c4
mov eax, 0x49f8bb
mov ecx, 1
call fcn.00465b48
test eax, eax
mov edx, str.FlatView
setne al
and eax, 1
xor ecx, ecx
mov byte [ebp - 0x53], al
mov eax, 0x49f8bb
call fcn.00465b48
test eax, eax
setne dl
and edx, 1
mov byte [ebp - 0x54], dl
mov word [ebp - 0x2c], 0x20
lea eax, [ebp - 0x18]
call fcn.0045fcb0
inc dword [ebp - 0x20]
mov word [ebp - 0x2c], 0x14
mov byte [ebp - 0x111c], 0
jmp 0x45f8e0
cmp byte [ebp - 0x51], 0
jne 0x45f2da
test edi, 0x1f
jne 0x45f2da
call fcn.00495d7c
sub eax, dword [ebp - 0x44]
cmp eax, 0x1f4
jle 0x45f2da
mov byte [ebp - 0x51], 1
push 0x7f02
push 0
call sub.USER32.DLL_LoadCursorA
push eax
call sub.USER32.DLL_SetCursor
lea esi, [ebp - 0x1d4c]
add esi, dword [ebp - 0x4c]
mov word [ebp - 0x2c], 0x14
mov eax, dword [ebp - 0x50]
add eax, eax
lea edx, [ebp - 0x194c]
add eax, edx
mov dword [ebp - 0x58], eax
test byte [ebp - 0x113c], 0x10
setne cl
and ecx, 1
mov byte [ebp - 0x59], cl
cmp byte [ebp - 0x54], 0
je 0x45f32a
lea eax, [ebp - 0x1d4c]
call fcn.0040b578
mov esi, eax
lea eax, [ebp - 0x194c]
call fcn.0040b604
mov dword [ebp - 0x58], eax
cmp byte [ebp - 0x59], 0
je 0x45f415
cmp byte [ebp - 0x54], 0
jne 0x45f415
test byte [ebp - 0x112e], 1
je 0x45f394
lea edx, [ebp - 0x111c]
push edx
push esi
call fcn.0048d89c
add esp, 8
test eax, eax
je 0x45f8e0
push esi
lea ecx, [ebp - 0x111c]
push ecx
call fcn.0048d8e8
add esp, 8
lea ecx, [ebp - 0x194c]
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c04bc
push 0
call fcn.00465340
test al, al
jne 0x45f8e0
jmp 0x45f415
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x194c]
push eax
mov eax, 0x4c04bc
lea edx, [ebp - 0x1d4c]
call fcn.00465340
test al, al
je 0x45f415
mov eax, 0x4c04bc
mov edx, dword [ebp - 0x60]
call fcn.004653dc
mov ecx, dword [ebp - 0x1138]
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x1134]
mov dword [eax + 0x24], ecx
lea ecx, [ebp - 0x1db0]
lea edx, [ebp - 0x1138]
mov eax, ebx
call fcn.0045fb5c
mov dword [ebp - 0x1dd0], 4
lea eax, [ebp - 0x1db0]
lea edx, [ebp - 0x1dd8]
mov dword [ebp - 0x1dc4], eax
push edx
push dword [ebp - 0x60]
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45f8e0
mov dword [ebp - 0x1e00], 7
xor ecx, ecx
mov dword [ebp - 0x1dfc], edi
mov dword [ebp - 0x1df8], ecx
mov dword [ebp - 0x1de4], ecx
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x1e64]
push eax
push edx
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x113c]
mov edx, esi
call fcn.0045fdac
mov byte [ebp - 0x74], 0
test byte [ebp - 0x1130], 1
je 0x45f472
push 0x49f8e0
lea eax, [ebp - 0x74]
push eax
call fcn.0048d80c
add esp, 8
mov eax, dword [ebp - 0x1130]
and eax, 6
test eax, eax
je 0x45f4d0
sub eax, 2
je 0x45f490
sub eax, 2
je 0x45f4a3
sub eax, 2
je 0x45f4bf
jmp 0x45f4d0
push 0x49f8e3
lea edx, [ebp - 0x74]
push edx
call fcn.0048d80c
add esp, 8
jmp 0x45f4d0
cmp byte [ebp - 0x87], 0
jne 0x45f4d0
push 0x49f8e8
lea ecx, [ebp - 0x74]
push ecx
call fcn.0048d80c
add esp, 8
jmp 0x45f4d0
push 0x49f8ed
lea eax, [ebp - 0x74]
push eax
call fcn.0048d80c
add esp, 8
cmp dword [ebp - 0x68], 0xffffffff
je 0x45f4e1
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1de4], edx
jmp 0x45f50a
push dword [ebp - 0x64]
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov dword [ebp - 0x1de4], eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x1de4]
call fcn.0045fedc
push dword [ebp - 0x64]
call sub.USER32.DLL_DestroyIcon
lea ecx, [edi + 1]
mov dword [ebp - 0x1128], ecx
lea edx, [ebp - 0x1d4c]
mov eax, 0x4c04bc
call fcn.00465058
mov dword [ebp - 0x1de0], eax
lea edx, [ebp - 0x1d4c]
mov eax, ebx
call fcn.0045f074
test al, al
je 0x45f54c
mov word [ebp - 0x194c], 0
lea ecx, [ebp - 0x194c]
mov dword [ebp - 0x58], ecx
cmp byte [ebp - 0x53], 0
jne 0x45f56b
mov eax, esi
call fcn.00444a2c
cmp word [ebp - 0x194c], 0
je 0x45f56b
mov eax, dword [ebp - 0x58]
call fcn.00444a60
call fcn.0040f820
test eax, eax
je 0x45f5bc
cmp word [ebp - 0x194c], 0
je 0x45f5bc
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1dec], edx
mov eax, dword [ebp - 0x58]
call fcn.0040f914
mov edx, eax
lea eax, [ebp - 0x74]
add edx, edx
mov ecx, 0x10000000
add edx, dword [ebp - 0x58]
call fcn.0040f898
lea edx, [ebp - 0x1e00]
push edx
push 0
push 0x104d
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
jmp 0x45f62b
cmp word [ebp - 0x194c], 0
je 0x45f601
lea edx, [ebp - 0x2264]
mov ecx, 0x10000000
mov eax, dword [ebp - 0x58]
call fcn.0040f874
push 0x49f8f2
lea eax, [ebp - 0x2264]
push eax
call fcn.0048da31
add esp, 8
test eax, eax
jne 0x45f601
lea edx, [ebp - 0x2264]
push edx
push esi
call fcn.0048d8e8
add esp, 8
mov dword [ebp - 0x1dec], esi
lea ecx, [ebp - 0x74]
push ecx
push esi
call fcn.0048d80c
add esp, 8
lea eax, [ebp - 0x1e00]
push eax
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov esi, eax
cmp byte [ebp - 0x59], 0
jne 0x45f722
cmp dword [ebp - 0x1148], 0x80000000
jne 0x45f648
cmp dword [ebp - 0x114c], 0
je 0x45f65f
cmp dword [ebp - 0x1148], 0x7fffffff
jne 0x45f675
cmp dword [ebp - 0x114c], 0
jne 0x45f675
push 0x49f8f8
lea eax, [ebp - 0x2298]
push eax
call fcn.0048d8e8
add esp, 8
jmp 0x45f68c
push dword [ebp - 0x1148]
push dword [ebp - 0x114c]
lea eax, [ebp - 0x2298]
call fcn.00444074
mov dword [ebp - 0x22b8], 1
lea edx, [ebp - 0x2298]
lea ecx, [ebp - 0x22c0]
mov dword [ebp - 0x22ac], edx
push ecx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebp - 0x1140], 0x80000000
jne 0x45f6e1
cmp dword [ebp - 0x1144], 0
jne 0x45f6e1
push 0x49f8f8
lea eax, [ebp - 0x2298]
push eax
call fcn.0048d8e8
add esp, 8
jmp 0x45f6f8
push dword [ebp - 0x1140]
push dword [ebp - 0x1144]
lea eax, [ebp - 0x2298]
call fcn.00444074
mov dword [ebp - 0x22e0], 2
lea edx, [ebp - 0x2298]
lea ecx, [ebp - 0x22e8]
mov dword [ebp - 0x22d4], edx
push ecx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x2308], 3
lea eax, [ebp - 0x1e64]
lea edx, [ebp - 0x2310]
mov dword [ebp - 0x22fc], eax
push edx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp dword [ebp - 0x1138], 0
jne 0x45f774
cmp dword [ebp - 0x1134], 0
jne 0x45f774
push 0x49f8f8
lea ecx, [ebp - 0x2374]
push ecx
call fcn.0048d8e8
add esp, 8
jmp 0x45f787
lea ecx, [ebp - 0x2374]
lea edx, [ebp - 0x1138]
mov eax, ebx
call fcn.0045fb5c
mov dword [ebp - 0x2394], 4
lea eax, [ebp - 0x2374]
lea edx, [ebp - 0x239c]
mov dword [ebp - 0x2388], eax
push edx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, dword [ebp - 0x1130]
test al, 8
je 0x45f80b
cmp byte [ebp - 0x59], 0
jne 0x45f80b
push dword [ebp - 0x112c]
test al, 0x10
je 0x45f7d2
mov edx, str._04X
jmp 0x45f7d7
mov edx, str._08X
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004908b8
add esp, 0xc
mov dword [ebp - 0x23bc], 5
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x23c4]
mov dword [ebp - 0x23b0], ecx
push eax
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
cmp byte [ebp - 0x52], 0
jne 0x45f854
mov dword [ebp - 0x23e4], 4
test byte [ebp - 0x1130], 0x10
je 0x45f82b
mov eax, 0x74
jmp 0x45f830
mov eax, 0x73
call fcn.004116e8
mov dword [ebp - 0x23d8], eax
lea edx, [ebp - 0x23e4]
push edx
push 5
push 0x101a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov byte [ebp - 0x52], 1
cmp byte [ebp - 0x54], 0
je 0x45f8df
lea edx, [ebp - 0x27e4]
lea eax, [ebp - 0x1d4c]
call fcn.0040baa8
lea edx, [ebp - 0x2fe4]
lea eax, [ebp - 0x194c]
call fcn.0040bad0
mov dword [ebp - 0x3004], 6
call fcn.0040f820
test eax, eax
je 0x45f8bf
cmp word [ebp - 0x194c], 0
je 0x45f8bf
lea ecx, [ebp - 0x2fe4]
lea eax, [ebp - 0x300c]
mov dword [ebp - 0x2ff8], ecx
push eax
push esi
push 0x1074
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45f8df
lea edx, [ebp - 0x27e4]
lea ecx, [ebp - 0x300c]
mov dword [ebp - 0x2ff8], edx
push ecx
push esi
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
inc edi
lea edx, [ebp - 0x1d4c]
mov eax, 0x4ba5d4
mov cl, byte [ebp - 0x54]
call fcn.0045c894
test eax, eax
jne 0x45f2a7
mov dword [ebp - 0x3034], 7
mov dword [ebp - 0x3030], edi
xor eax, eax
mov dword [ebp - 0x302c], eax
mov dword [ebp - 0x3018], eax
mov dword [ebp - 0x3020], 0x49f8b8
mov byte [ebp - 0x3134], 0
lea ecx, [ebp - 0x3134]
mov edx, 0x49f904
lea eax, [ebp - 0x18]
call fcn.00460050
mov esi, eax
mov word [ebp - 0x2c], 0x14
push esi
push 0xffffffffffffffff
push dword [ebx + 8]
call sub.COMCTL32.DLL_ImageList_ReplaceIcon
mov dword [ebp - 0x3018], eax
push esi
call sub.USER32.DLL_DestroyIcon
push 0xc30
push 0
lea eax, [ebp - 0x3d64]
push eax
call fcn.0048d768
add esp, 0xc
push 0x49f8b8
lea edx, [ebp - 0x3d64]
push edx
call fcn.0048d8e8
mov dword [ebp - 0x3154], 0x10
add esp, 8
lea edx, [ebp - 0x3d64]
mov eax, 0x4c04bc
call fcn.00465058
mov dword [ebp - 0x3014], eax
lea ecx, [ebp - 0x3034]
push ecx
push 0
push 0x1007
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 0x3d84], 3
lea edx, [ebp - 0x3134]
lea ecx, [ebp - 0x3d8c]
mov dword [ebp - 0x3d78], edx
push ecx
push eax
push 0x102e
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4c04bc
call fcn.0046530c
mov eax, ebx
call fcn.00462c40
cmp dword [ebp - 0x40], 0
je 0x45fa53
mov edx, dword [ebp - 0x40]
mov eax, ebx
call fcn.0045ef74
test eax, eax
jne 0x45fa7c
push 0
push 0
push 0x1004
push dword [ebx]
call sub.USER32.DLL_SendMessageA
test eax, eax
jle 0x45fa27
cmp eax, dword [ebp - 0x48]
jg 0x45fa27
dec eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x3da4], 3
mov dword [ebp - 0x3da8], 3
lea edx, [ebp - 0x3db4]
push edx
push dword [ebp - 0x48]
push 0x102b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
jmp 0x45fa7c
mov dword [ebp - 0x3dcc], 3
mov dword [ebp - 0x3dd0], 3
lea ecx, [ebp - 0x3ddc]
push ecx
push 0
push 0x102b
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xb
push dword [ebx]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0x102a
push dword [ebx]
call sub.USER32.DLL_SendMessageA
mov eax, 0x4b9dfc
xor edx, edx
call fcn.00445460
mov eax, ebx
call fcn.00461e7c
mov eax, ebx
call fcn.004620b4
mov eax, 0x4b9dcc
call fcn.00479d40
cmp byte [ebp - 0x51], 0
je 0x45fad5
push 0x7f00
push 0
call sub.USER32.DLL_LoadCursorA
push eax
call sub.USER32.DLL_SetCursor
mov eax, 0x4b9dfc
xor edx, edx
call fcn.00445400
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0045fd70
dec dword [ebp - 0x20]
cmp dword [0x4bc220], 0
jle 0x45fb03
dec dword [0x4bc220]
mov ecx, dword [ebp - 0x3c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret