Function at 0x452989
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 1
xor eax, eax
mov dword [ebp - 0x38], eax
xor edx, edx
mov dword [ebp - 0x48], edx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor edi, edi
xor eax, eax
mov dword [ebp - 0x24], eax
xor edx, edx
mov dword [ebp - 4], edx
xor ecx, ecx
mov dword [ebp - 8], ecx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
xor edx, edx
mov dword [ebp - 0x18], edx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
mov dword [ebp - 0x14], edx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x452c37
cmp byte [eax], 0x2d
jne 0x452c37
push 0x67
push eax
call fcn.00539518
add esp, 8
test eax, eax
je 0x452a10
mov edi, 1
mov dword [ebp - 0x38], 1
push 0x74
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452a2f
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x38], 1
push 0x66
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452a4e
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], 1
push 0x72
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452a6d
mov dword [ebp - 8], 1
mov dword [ebp - 0x38], 1
push 0x65
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452a8e
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x38], 1
jmp 0x452aad
push 0x62
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452aad
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x38], 1
push 0x76
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452ace
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x38], 1
jmp 0x452aed
push 0x68
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452aed
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x38], 1
push 0x6d
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452b0e
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x38], 1
jmp 0x452b2d
push 0x6e
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452b2d
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x38], 1
push 0x7a
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452b4c
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x38], 1
push 0x63
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452b6b
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x38], 7
push 0x75
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452b99
cmp dword [ebp - 0xc], 0
je 0x452b8b
mov dword [ebp - 0xc], 3
jmp 0x452b92
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x38], 7
push 0x6a
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452bb8
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x38], 1
push 0x6b
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452bce
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x61
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452be8
mov dword [ebp - 0x38], 6
jmp 0x452c34
push 0x64
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452c02
mov dword [ebp - 0x38], 8
jmp 0x452c34
push 0x69
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452c1c
mov dword [ebp - 0x38], 9
jmp 0x452c34
push 0x6f
push dword [esi + 4]
call fcn.00539518
add esp, 8
test eax, eax
je 0x452c34
mov dword [ebp - 0x38], 0xa
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4], 0
jne 0x452c52
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.0044cc89
mov ebx, eax
test ebx, ebx
jne 0x452c75
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp dword [esi + eax*4], 0
jne 0x452c93
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
test edi, edi
je 0x452e37
push 0x2c
mov edx, dword [ebp - 0x30]
push dword [esi + edx*4]
call fcn.00539518
add esp, 8
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
add eax, 0x1770
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x5c], 0
je 0x452ce3
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
cmp byte [eax], 0
je 0x452ce3
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
mov dword [esi + edx*4], ecx
mov dword [ebp - 0x24], 1
inc dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
cmp dword [esi + eax*4], 0
jne 0x452d01
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
xor edx, edx
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.004d5474
test eax, eax
je 0x452d4d
mov eax, dword [ebp - 0x30]
push dword [esi + eax*4]
call fcn.00542dbc
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x452d2f
xor edx, edx
mov dword [ebp - 0x34], edx
inc dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
cmp dword [esi + ecx*4], 0
jne 0x452d4d
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push 0
push 0x104
push dword [ebp + 0x10]
push dword [ebp - 0x30]
push esi
call fcn.004d670d
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x452d81
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
push dword [ebp + 0x10]
push dword [ebp + 0x10]
call fcn.0041cd2d
test eax, eax
jne 0x452da2
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
push 3
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x452dc1
push 2
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
push 0
push 0
push 0
push 0
push dword [ebp - 0x34]
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
push ebx
call fcn.0044d6cd
test eax, eax
jne 0x452e12
cmp dword [ebp - 0x30], 0
je 0x452ded
push 1
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
push dword [ebp + 0x10]
push ebx
push 0
push 0x67d
call fcn.0041c35b
push eax
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4545de
cmp dword [ebp - 0x30], 0
je 0x452e23
push 1
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
push 0x2c
mov edx, dword [ebp - 0x30]
push dword [esi + edx*4]
call fcn.00539518
add esp, 8
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
add eax, 0x1770
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
mov edi, eax
cmp dword [ebp - 0x5c], 0
je 0x452e8f
inc dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
cmp byte [eax], 0
je 0x452e8f
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x5c]
mov dword [esi + edx*4], ecx
mov dword [ebp - 0x24], 1
cmp dword [ebx + 0xfe0], 0
je 0x453262
push dword [ebp - 0x3c]
push ebx
call fcn.0044e2ca
test eax, eax
je 0x453262
inc dword [ebp - 0x30]
cmp dword [ebp - 0x38], 6
jne 0x452fe5
mov eax, dword [ebp - 0x30]
cmp dword [esi + eax*4], 0
je 0x452ecd
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4 + 4], 0
jne 0x452edf
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
add eax, 0x1770
mov dword [0x570668], eax
push dword [0x570668]
push ebx
call fcn.0044e2ca
test eax, eax
jne 0x452f1a
push dword [0x570668]
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
test eax, eax
je 0x452f2c
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
push dword [ebp - 0x3c]
push ebx
call fcn.0044e333
mov dword [0x570664], eax
cmp dword [0x570664], 0
jne 0x452f55
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push esi
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
inc edx
push edx
call fcn.004d5691
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
jne 0x452f83
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov dword [ebx + 0x160], 1
push 0x54ef04
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x452fbe
push 0x54ef0b
push dword [0x570668]
push 0x800
push dword [0x570664]
call sub.USER32.dll_AppendMenuA
jmp 0x452fd4
push dword [ebp + 0x10]
push dword [0x570668]
push 0
push dword [0x570664]
call sub.USER32.dll_AppendMenuA
xor eax, eax
mov dword [ebx + 0x160], eax
mov edx, dword [0x570668]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x38], 8
jne 0x45300d
mov dword [ebx + 0x160], 1
push 0
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_DeleteMenu
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0x38], 9
jne 0x45311f
mov eax, dword [ebp - 0x30]
cmp dword [esi + eax*4], 0
je 0x45302a
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4 + 4], 0
jne 0x45303c
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
add eax, 0x1770
mov dword [0x57066c], eax
push dword [0x57066c]
push ebx
call fcn.0044e2ca
test eax, eax
jne 0x453077
push dword [0x57066c]
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
test eax, eax
je 0x453089
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push esi
push dword [ebp + 0x10]
mov edx, dword [ebp - 0x30]
inc edx
push edx
call fcn.004d5691
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
jne 0x4530b7
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov dword [ebx + 0x160], 1
push 0x54ef0f
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4530f5
push 0x54ef16
push dword [0x57066c]
push 0x800
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_InsertMenuA
jmp 0x45310e
push dword [ebp + 0x10]
push dword [0x57066c]
push 0
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_InsertMenuA
xor eax, eax
mov dword [ebx + 0x160], eax
mov edx, dword [0x57066c]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x38], 0xa
jne 0x4531c9
mov ecx, dword [ebp - 0x30]
cmp dword [esi + ecx*4], 0
jne 0x453144
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
push esi
push dword [ebp + 0x10]
push dword [ebp - 0x30]
call fcn.004d5691
mov edx, dword [ebp + 0x10]
cmp byte [edx], 0
jne 0x453170
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov dword [ebx + 0x160], 1
push 0x54ef1a
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4531ab
push 0x54ef21
push dword [ebp - 0x3c]
push 0x800
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_ModifyMenuA
jmp 0x4531c1
push dword [ebp + 0x10]
push dword [ebp - 0x3c]
push 0
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_ModifyMenuA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
mov dword [ebx + 0x160], 1
cmp dword [ebp - 0xc], 0
je 0x453207
cmp dword [ebp - 0xc], 1
jne 0x4531f1
push 8
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_CheckMenuItem
jmp 0x453207
cmp dword [ebp - 0xc], 2
jne 0x453207
push 0
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_CheckMenuItem
cmp dword [ebp - 0x1c], 0
je 0x45323b
cmp dword [ebp - 0x1c], 1
jne 0x453225
push 0
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_EnableMenuItem
jmp 0x45323b
cmp dword [ebp - 0x1c], 2
jne 0x45323b
push 1
push dword [ebp - 0x3c]
push dword [ebx + 0xfe0]
call sub.USER32.dll_EnableMenuItem
xor eax, eax
mov dword [ebx + 0x160], eax
push dword [ebx + 0xc8]
call sub.USER32.dll_DrawMenuBar
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
test edi, edi
jne 0x453292
mov edx, dword [ebp - 0x3c]
add edx, 0xffffe890
push edx
push ebx
push 0
push 0x67e
call fcn.0041c35b
push eax
push 0x5720e8
call sub.USER32.dll_wsprintfA
add esp, 0x10
xor eax, eax
jmp 0x4545de
cmp dword [ebp - 0x1c], 0
je 0x45332b
cmp dword [ebp - 0x1c], 1
jne 0x4532da
push 1
push dword [ebp - 0x3c]
push ebx
call fcn.0044dbca
test eax, eax
je 0x4532ba
mov dword [ebp - 0x20], 1
jmp 0x45332b
push dword [ebp - 0x3c]
push ebx
call fcn.0044cd1b
test eax, eax
je 0x4532d0
mov dword [ebp - 0x20], 1
jmp 0x45332b
push 1
push edi
call sub.USER32.dll_EnableWindow
jmp 0x45332b
cmp dword [ebp - 0x1c], 2
jne 0x45332b
push 0
push dword [ebp - 0x3c]
push ebx
call fcn.0044dbca
test eax, eax
jne 0x45332b
push dword [ebp - 0x3c]
push ebx
call fcn.0044cd1b
test eax, eax
jne 0x45332b
call sub.USER32.dll_GetFocus
mov dword [ebp - 0x58], eax
push 0
push edi
call sub.USER32.dll_EnableWindow
cmp dword [ebp - 0x58], 0
je 0x45332b
cmp edi, dword [ebp - 0x58]
jne 0x45332b
push 0
push edi
push dword [ebx + 0xc8]
call sub.USER32.dll_GetNextDlgTabItem
push eax
call sub.USER32.dll_SetFocus
cmp dword [ebp - 0x20], 0
je 0x4535a6
xor edx, edx
mov dword [0x570670], edx
push edi
push ebx
call fcn.0044e28c
test eax, eax
je 0x4534bc
mov dword [ebx + 0x160], 1
xor ecx, ecx
mov dword [0x570694], ecx
cmp dword [ebp - 0x20], 1
jne 0x4533b5
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowEnabled
test eax, eax
jne 0x453406
push 1
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
push 5
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
mov dword [0x570694], 1
jmp 0x453406
cmp dword [ebp - 0x20], 2
jne 0x453406
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_IsWindowEnabled
test eax, eax
je 0x453406
push 0
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_ShowWindow
push 0
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_EnableWindow
mov dword [0x570694], 1
cmp dword [0x570694], 0
je 0x4534aa
push 0x570674
push dword [ebx + 0x1a8]
call sub.USER32.dll_GetWindowRect
push 2
push 0x570674
push dword [ebx + 0xc8]
push 0
call sub.USER32.dll_MapWindowPoints
push 0x570684
push 0x69
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
push 0x570684
push dword [ebx + 0xc8]
push 0
call sub.USER32.dll_MapWindowPoints
sub dword [0x570678], 5
sub dword [0x570674], 5
mov eax, dword [0x57068c]
add eax, 5
mov dword [0x57067c], eax
mov edx, dword [0x570690]
add edx, 5
mov dword [0x570680], edx
push 1
push 0x570674
push dword [ebx + 0xc8]
call sub.USER32.dll_InvalidateRect
push dword [ebx + 0xc8]
call sub.USER32.dll_UpdateWindow
xor ecx, ecx
mov dword [ebx + 0x160], ecx
mov dword [0x570670], 1
cmp dword [0x570670], 0
jne 0x4535a6
mov eax, dword [ebx + 0xfd4]
mov dword [0x570698], eax
jmp 0x4534e4
cmp edi, dword [eax + 0xc]
je 0x4534ed
mov edx, dword [eax + 0x34]
mov dword [0x570698], edx
mov eax, dword [0x570698]
test eax, eax
jne 0x4534d6
cmp dword [ebp - 0x20], 1
jne 0x45356a
push edi
push ebx
call fcn.0044ccd2
test eax, eax
je 0x453526
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
test eax, eax
jne 0x453526
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
push ebx
call fcn.0044cd50
test eax, eax
jne 0x453526
push 4
push edi
call sub.USER32.dll_ShowWindow
cmp dword [0x570698], 0
je 0x4535a6
mov edx, dword [0x570698]
mov dword [edx + 0x1c], 1
push dword [ebp - 0x3c]
push ebx
call fcn.0044da4e
test eax, eax
je 0x453553
push 1
push edi
call sub.USER32.dll_EnableWindow
jmp 0x4535a6
push dword [ebp - 0x3c]
push ebx
call fcn.0044cd1b
test eax, eax
je 0x4535a6
push 1
push edi
call sub.USER32.dll_EnableWindow
jmp 0x4535a6
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
push ebx
call fcn.0044da7f
test eax, eax
jne 0x453592
push dword [ebp - 0x20]
push dword [ebp - 0x3c]
push ebx
call fcn.0044cd50
test eax, eax
jne 0x453592
push 0
push edi
call sub.USER32.dll_ShowWindow
cmp dword [0x570698], 0
je 0x4535a6
mov ecx, dword [0x570698]
xor eax, eax
mov dword [ecx + 0x1c], eax
cmp dword [ebp - 4], 0
je 0x4535ee
push edi
push ebx
call fcn.0044e28c
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4535e8
mov dword [ebx + 0x160], 1
mov edx, dword [ebp - 0x4c]
dec edx
push edx
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00504ba8
xor ecx, ecx
mov dword [ebx + 0x160], ecx
jmp 0x4535ee
push edi
call sub.USER32.dll_SetFocus
push 0x64
push dword [ebp + 0x10]
push edi
call sub.USER32.dll_GetClassNameA
push 0xfffffffffffffff0
push edi
call sub.USER32.dll_GetWindowLongA
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x2c], 0
je 0x453637
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x453637
mov dword [ebx + 0x160], 1
push 0
push 0
push 0xb9
push edi
call sub.USER32.dll_SendMessageA
xor eax, eax
mov dword [ebx + 0x160], eax
cmp dword [ebp - 0x14], 0
je 0x4536cd
push 0x54ef25
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4536cd
mov dword [ebx + 0x160], 1
push 0
push 0
push 0x400
push dword [ebx + 0xc8]
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
shr edx, 0x10
and dx, 0xffff
cmp dx, 0x534b
jne 0x4536a1
push 1
push 0
push 0xf4
movzx ecx, word [ebp - 0x64]
push ecx
push dword [ebx + 0xc8]
call sub.USER32.dll_SendDlgItemMessageA
push 0
push dword [ebp - 0x3c]
push 0x401
push dword [ebx + 0xc8]
call sub.USER32.dll_SendMessageA
push 1
push 1
push 0xf4
push edi
call sub.USER32.dll_SendMessageA
xor eax, eax
mov dword [ebx + 0x160], eax
cmp dword [ebp - 0x18], 0
je 0x45372c
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x45372c
mov dword [ebx + 0x160], 1
cmp dword [ebp - 0x18], 1
jne 0x453700
push 0
push 1
push 0xcf
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453715
cmp dword [ebp - 0x18], 2
jne 0x453715
push 0
push 0
push 0xcf
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xcd
push edi
call sub.USER32.dll_SendMessageA
xor edx, edx
mov dword [ebx + 0x160], edx
cmp dword [ebp - 8], 0
je 0x4537c3
mov dword [ebx + 0x160], 1
push 0x54ef2d
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453765
push 0
push 0
push 0x184
push edi
call sub.USER32.dll_SendMessageA
jmp 0x4537bb
push 0x54ef36
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x45378a
push 0
push 0
push 0x14b
push edi
call sub.USER32.dll_SendMessageA
jmp 0x4537bb
push 0x54ef40
push edi
push ebx
call fcn.0044e1c1
test eax, eax
jne 0x4537bb
push 0x54ef44
push dword [ebp - 0x3c]
push ebx
call fcn.0044ce7f
test eax, eax
jne 0x4537bb
push 0x54ef48
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0x38], 1
jne 0x453904
cmp dword [ebp - 0x28], 0
je 0x4538f0
push 0x54ef4c
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453817
mov dword [ebx + 0x160], 1
push 1
push 0x54ef55
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
xor eax, eax
mov dword [ebx + 0x160], eax
jmp 0x4538f0
push 0x54ef59
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453857
mov dword [ebx + 0x160], 1
push 5
push 0x54ef63
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
xor edx, edx
mov dword [ebx + 0x160], edx
jmp 0x4538f0
push 0x54ef67
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4538f0
mov ecx, dword [ebp - 0x30]
cmp dword [esi + ecx*4 + 4], 0
je 0x453883
mov eax, dword [ebp - 0x30]
cmp dword [esi + eax*4 + 8], 0
jne 0x453895
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov edx, dword [ebp - 0x30]
push dword [esi + edx*4 + 4]
call fcn.00542dbc
pop ecx
mov edi, eax
test edi, edi
jge 0x4538aa
xor edi, edi
mov eax, dword [ebp - 0x30]
push dword [esi + eax*4 + 8]
call fcn.00542dbc
pop ecx
mov dword [ebp - 0x68], eax
cmp edi, dword [ebp - 0x68]
jle 0x4538c2
mov dword [ebp - 0x68], edi
mov dword [ebx + 0x160], 1
push 1
push dword [ebp - 0x68]
push edi
push 2
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_SetScrollRange
xor edx, edx
mov dword [ebx + 0x160], edx
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
inc dword [ebp - 0x30]
mov edx, dword [ebp + 0x14]
dec edx
jne 0x453b24
mov ecx, dword [ebp - 0x30]
cmp dword [esi + ecx*4], 0
jne 0x45392c
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov eax, dword [ebp - 0x30]
push dword [esi + eax*4]
call fcn.00542dbc
pop ecx
mov byte [0x57069c], al
mov byte [0x57069d], 0
inc dword [ebp - 0x30]
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call fcn.004d5691
mov dword [ebx + 0x160], 1
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x453980
push 0
push 0
push 0xb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x48], 1
push 0x54ef72
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4539f9
push 0x57069c
push dword [ebp + 0xc]
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x453af6
push dword [ebp - 0x5c]
push 0
push 0x180
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x4539dc
push 1
push 0x54ef7b
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
push 0x57069c
push 0
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x4539b1
jmp 0x453af6
push 0x54ef7f
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453a72
push 0x57069c
push dword [ebp + 0xc]
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x453af6
push dword [ebp - 0x5c]
push 0
push 0x143
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x453a55
push 5
push 0x54ef89
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
push 0x57069c
push 0
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x453a2a
jmp 0x453af6
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x453af6
push 0x57069c
push dword [ebp + 0xc]
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x453af6
push 0xea60
push 0xea60
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
push dword [ebp - 0x5c]
push 0x54ef8d
push dword [ebp + 0x10]
call sub.USER32.dll_wsprintfA
add esp, 0xc
push dword [ebp + 0x10]
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
push 0x57069c
push 0
call fcn.00539970
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x453a97
cmp dword [ebp - 0x48], 0
je 0x453b08
push 0
push 1
push 0xb
push edi
call sub.USER32.dll_SendMessageA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
cmp dword [ebp - 0x38], 6
jne 0x453c79
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call fcn.004d5691
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebx + 0x160], 1
push 0x54ef93
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453b9c
push dword [ebp + 0xc]
push 0
push 0x180
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x28], 0
je 0x453c51
push 1
push 0x54ef9c
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x453c51
push 0x54efa0
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453be4
push dword [ebp + 0xc]
push 0
push 0x143
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x28], 0
je 0x453c51
push 5
push 0x54efaa
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x453c51
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x453c26
push 0xea60
push 0xea60
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
push dword [ebp + 0xc]
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453c51
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0044e1c1
test eax, eax
jne 0x453c51
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
push ebx
call fcn.0044ce7f
test eax, eax
jne 0x453c51
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0xc], 0
je 0x453c65
cmp dword [ebp - 0x40], 0
jge 0x453ca5
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
cmp dword [ebp - 0x38], 7
jne 0x453f74
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4], 0
je 0x453c9e
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
dec eax
mov dword [ebp - 0x40], eax
jmp 0x453ca5
mov dword [ebp - 0x40], 0xffffffff
push 0x54efae
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453d22
mov dword [ebx + 0x160], 1
cmp dword [ebp - 0xc], 1
jne 0x453cda
push 0
push 1
push 0xf1
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453d06
cmp dword [ebp - 0xc], 2
jne 0x453cf1
push 0
push 0
push 0xf1
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453d06
cmp dword [ebp - 0xc], 3
jne 0x453d06
push 0
push 2
push 0xf1
push edi
call sub.USER32.dll_SendMessageA
xor eax, eax
mov dword [ebx + 0x160], eax
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
mov dword [ebx + 0x160], 1
push 0x54efb6
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453e1f
test byte [ebp - 0x5f], 8
je 0x453ddc
cmp dword [ebp - 0x40], 0
jl 0x453d9a
cmp dword [ebp - 0xc], 1
jne 0x453d75
push dword [ebp - 0x10]
push 1
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.0041d64b
jmp 0x453f58
cmp dword [ebp - 0xc], 2
jne 0x453f58
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.0041d64b
jmp 0x453f58
cmp dword [ebp - 0xc], 1
jne 0x453db9
push 0
push 1
push 0xffffffffffffffff
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.0041d64b
jmp 0x453f58
cmp dword [ebp - 0xc], 2
jne 0x453f58
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.0041d64b
jmp 0x453f58
cmp dword [ebp - 0xc], 1
jne 0x453e01
cmp dword [ebp - 0x40], 0
jl 0x453f58
push 0
push dword [ebp - 0x40]
push 0x186
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453f58
cmp dword [ebp - 0xc], 2
jne 0x453f58
push 0
push 0xffffffffffffffff
push 0x186
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453f58
push 0x54efbf
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453e67
cmp dword [ebp - 0x10], 0
je 0x453e48
push 0
push 0xffffffffffffffff
push 0x14e
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x40], 0
jl 0x453f58
push 0
push dword [ebp - 0x40]
push 0x14e
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453f58
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x453f04
cmp dword [ebp - 0x40], 0
jl 0x453f58
push 0
push dword [ebp - 0x40]
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x453f58
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp - 0x30]
cmp dword [esi + ecx*4 + 4], 0
je 0x453ee2
mov eax, dword [ebp - 0x30]
push dword [esi + eax*4 + 4]
call fcn.00542dbc
pop ecx
dec eax
add dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4 + 8], 0
je 0x453edc
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4 + 8]
call fcn.00542dbc
pop ecx
dec eax
add dword [ebp - 0x54], eax
jmp 0x453ee2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
jmp 0x453f58
push 0x54efc9
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x453f30
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], 0
jl 0x453f58
push 1
push dword [ebp - 0x40]
push 2
push edi
call sub.USER32.dll_SetScrollPos
jmp 0x453f58
push edi
push ebx
call fcn.0044e28c
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x453f58
mov edx, dword [ebp - 0x4c]
dec edx
push edx
push 0x68
push dword [ebx + 0xc8]
call sub.USER32.dll_GetDlgItem
push eax
call fcn.00504ba8
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
mov edx, dword [ebp - 0x30]
cmp dword [esi + edx*4], 0
jne 0x453f8f
push 0
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
mov ecx, dword [ebp - 0x30]
push dword [esi + ecx*4]
call fcn.00542dbc
pop ecx
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jge 0x453fd1
cmp dword [ebp - 0x40], 0xffffffff
jne 0x453fbf
push 0x54efd4
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
je 0x453fd1
push 3
push 0
push dword [esi]
push 0
call fcn.00467118
jmp 0x4545de
cmp dword [ebp - 0x38], 8
jne 0x454194
mov dword [ebx + 0x160], 1
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x454002
push 0
push 0
push 0xb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x48], 1
push 0x54efde
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x45404a
push 0
push dword [ebp - 0x40]
push 0x182
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x454166
push 1
push 0x54efe7
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x454166
push 0x54efeb
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4540b6
cmp dword [ebp - 0x40], 0xffffffff
jne 0x454082
push 0x54eff5
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push edi
call sub.USER32.dll_InvalidateRect
jmp 0x454166
push 0
push dword [ebp - 0x40]
push 0x144
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x454166
push 5
push 0x54eff9
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x454166
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x454135
push 0
push dword [ebp - 0x40]
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x454166
push 0
mov eax, dword [ebp - 0x40]
inc eax
push eax
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x454101
mov dword [ebp - 0x54], 0x7d0
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
push 0x54effd
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
jmp 0x454166
push 0x54f001
push edi
push ebx
call fcn.0044e1c1
test eax, eax
jne 0x454166
push 0x54f005
push dword [ebp - 0x3c]
push ebx
call fcn.0044ce7f
test eax, eax
jne 0x454166
push 0x54f009
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x48], 0
je 0x454178
push 0
push 1
push 0xb
push edi
call sub.USER32.dll_SendMessageA
xor edx, edx
mov dword [ebx + 0x160], edx
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
inc dword [ebp - 0x30]
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
push esi
push dword [ebp + 0xc]
push dword [ebp - 0x30]
call fcn.004d5691
cmp dword [ebp - 0x38], 9
jne 0x45434e
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebx + 0x160], 1
push 0x54f00d
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x454210
push dword [ebp + 0xc]
push dword [ebp - 0x40]
push 0x181
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x28], 0
je 0x45431b
push 1
push 0x54f016
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x45431b
push 0x54f01a
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x454274
cmp dword [ebp - 0x40], 0xffffffff
jne 0x45423c
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45431b
push dword [ebp + 0xc]
push dword [ebp - 0x40]
push 0x14a
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x28], 0
je 0x45431b
push 5
push 0x54f024
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x45431b
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x4542f0
test byte [ebp - 0x60], 4
je 0x4542e1
push 0
push dword [ebp - 0x40]
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x45431b
push dword [ebp - 0x50]
push dword [ebp - 0x50]
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
push 0x54f028
push dword [ebp + 0xc]
call fcn.005394dc
add esp, 8
push dword [ebp + 0xc]
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45431b
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45431b
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0044e1c1
test eax, eax
jne 0x45431b
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
push ebx
call fcn.0044ce7f
test eax, eax
jne 0x45431b
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0xc], 0
je 0x45433a
cmp dword [ebp - 0x44], 0
jl 0x45433a
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
jmp 0x453ca5
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
cmp dword [ebp - 0x38], 0xa
jne 0x4545cf
mov dword [ebp - 0x44], 0xffffffff
mov dword [ebx + 0x160], 1
push 0x54f02c
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x4543f4
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x45439a
push 0
push 0
push 0xb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x48], 1
push 0
push dword [ebp - 0x40]
push 0x182
push edi
call sub.USER32.dll_SendMessageA
push dword [ebp + 0xc]
push dword [ebp - 0x40]
push 0x181
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
je 0x4543d0
push 0
push 1
push 0xb
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x45459f
push 1
push 0x54f035
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x45459f
push 0x54f039
push dword [ebp + 0x10]
call fcn.0053977c
add esp, 8
test eax, eax
jne 0x45449b
cmp dword [ebp - 0x40], 0xffffffff
jne 0x454424
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45459f
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x454441
push 0
push 0
push 0xb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x48], 1
push 0
push dword [ebp - 0x40]
push 0x144
push edi
call sub.USER32.dll_SendMessageA
push dword [ebp + 0xc]
push dword [ebp - 0x40]
push 0x14a
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x48], 0
je 0x454477
push 0
push 1
push 0xb
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x28], 0
je 0x45459f
push 5
push 0x54f043
push dword [ebp - 0x3c]
push dword [ebx + 0xc8]
call fcn.00515b46
jmp 0x45459f
push dword [ebp + 0x10]
call fcn.0041de6c
test eax, eax
je 0x454574
test byte [ebp - 0x60], 4
je 0x454565
push 0
push dword [ebp - 0x40]
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jl 0x45459f
push edi
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x4544ef
push 0
push 0
push 0xb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x48], 1
push 0
mov edx, dword [ebp - 0x40]
inc edx
push edx
push 0xbb
push edi
call sub.USER32.dll_SendMessageA
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
jne 0x454511
mov dword [ebp - 0x54], 0x7d0
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push 0xb1
push edi
call sub.USER32.dll_SendMessageA
push 0
push 0
push 0xb7
push edi
call sub.USER32.dll_SendMessageA
push 0x54f047
push dword [ebp + 0xc]
call fcn.005394dc
add esp, 8
push dword [ebp + 0xc]
push 0
push 0xc2
push edi
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x48], 0
je 0x45459f
push 0
push 1
push 0xb
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45459f
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
jmp 0x45459f
push dword [ebp + 0xc]
push edi
push ebx
call fcn.0044e1c1
test eax, eax
jne 0x45459f
push dword [ebp + 0xc]
push dword [ebp - 0x3c]
push ebx
call fcn.0044ce7f
test eax, eax
jne 0x45459f
push dword [ebp + 0xc]
push 0
push 0xc
push edi
call sub.USER32.dll_SendMessageA
xor ecx, ecx
mov dword [ebx + 0x160], ecx
cmp dword [ebp - 0xc], 0
je 0x4545be
cmp dword [ebp - 0x44], 0
jl 0x4545be
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
jmp 0x453ca5
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
jmp 0x4545de
cmp dword [ebp - 0x24], 0
jne 0x452995
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10