Function at 0x4c1390
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56ac4b
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x5b7de4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], esi
jne 0x4c279a
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x110
jne 0x4c1409
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004b3480
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0x7b
jne 0x4c142d
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004ab870
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xc56
jne 0x4c1454
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb570
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xde6
jne 0x4c147b
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb570
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xf76
jne 0x4c14a2
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb570
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xc65
jne 0x4c14c9
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bbb20
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xdf5
jne 0x4c14f0
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bbb20
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xf85
jne 0x4c1517
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bbb20
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xc84
jne 0x4c153e
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb6c0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xe14
jne 0x4c1565
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb6c0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xfa4
jne 0x4c158c
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004bb6c0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xc98
jne 0x4c15b4
cmp dword [edi + 0x37c], 0
je 0x4c15a4
mov ecx, edi
call fcn.004a89b0
mov dword [esi], 0
mov eax, 1
jmp 0x4c279c
cmp ecx, 0xe28
je 0x4c1594
cmp ecx, 0xfb8
je 0x4c1594
cmp ecx, 0x2f15
jne 0x4c15eb
lea eax, [ebp - 0x400]
push eax
push ebx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004b1510
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov edx, dword [ebp + 0x10]
cmp ecx, 0x111
jne 0x4c1f1a
movzx eax, dx
mov dword [ebp - 0x400], 0x8089
cmp word [ebp - 0x400], ax
jne 0x4c1634
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x8089
push edx
mov ecx, edi
call fcn.004ad080
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x8088
cmp word [ebp - 0x400], ax
jne 0x4c166b
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x8088
push edx
mov ecx, edi
call fcn.004af3f0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x8087
cmp word [ebp - 0x400], ax
jne 0x4c179e
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x17c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
js 0x4c178e
mov ecx, dword [edi + 0x350]
sub ecx, dword [edi + 0x34c]
sar ecx, 2
cmp ebx, ecx
jae 0x4c178e
push 0x24
push 0x5737a4
push 0x578050
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x4c178e
call fcn.0049fa50
mov esi, eax
mov dword [ebp - 0x408], esi
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 4], 0
call fcn.00459440
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0046fba0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 2
push ecx
mov ecx, dword [edi + 0x34c]
push dword [ecx + ebx*4]
mov ecx, eax
call fcn.0049a710
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4c1742
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x2b0], 0
jne 0x4c175f
lea ecx, [ebp - 0x2b4]
call fcn.00459dd0
mov dword [ebp - 4], 3
jmp 0x4c177f
lea eax, [ebp - 0x2b4]
mov ecx, esi
push eax
call fcn.004e8ef0
lea ecx, [ebp - 0x2b4]
call fcn.00459dd0
mov dword [ebp - 4], 4
test esi, esi
je 0x4c1788
call fcn.00499160
mov esi, dword [ebp - 0x404]
mov dword [esi], 0
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x808c
cmp word [ebp - 0x400], ax
jne 0x4c17d5
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x808c
push edx
mov ecx, edi
call fcn.004adb20
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x808b
cmp word [ebp - 0x400], ax
jne 0x4c180c
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x808b
push edx
mov ecx, edi
call fcn.004b07e0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x808a
cmp word [ebp - 0x400], ax
jne 0x4c1843
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x808a
push edx
mov ecx, edi
call fcn.004ae9c0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x80b1
cmp word [ebp - 0x400], ax
jne 0x4c187a
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x80b1
push edx
mov ecx, edi
call fcn.004ad320
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x80b0
cmp word [ebp - 0x400], ax
jne 0x4c18b1
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x80b0
push edx
mov ecx, edi
call fcn.004af6e0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x80af
cmp word [ebp - 0x400], ax
jne 0x4c18e8
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x80af
push edx
mov ecx, edi
call fcn.004ae7d0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x8084
cmp word [ebp - 0x400], ax
jne 0x4c191f
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x8084
push edx
mov ecx, edi
call fcn.004ad580
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x8085
cmp word [ebp - 0x400], ax
jne 0x4c1956
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x8085
push edx
mov ecx, edi
call fcn.004b0090
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x8086
cmp word [ebp - 0x400], ax
jne 0x4c1aae
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x184]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
js 0x4c178e
mov ecx, dword [edi + 0x35c]
sub ecx, dword [edi + 0x358]
sar ecx, 2
cmp ebx, ecx
jae 0x4c178e
push 0x24
push 0x5737a4
push 0x5780ec
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x4c178e
call fcn.0049fbd0
mov esi, eax
mov dword [ebp - 0x408], esi
lea ecx, [ebp - 0x3fc]
mov dword [ebp - 4], 5
call fcn.0048b5c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.0046fbe0
lea ecx, [ebp - 0x3fc]
mov byte [ebp - 4], 7
push ecx
mov ecx, dword [edi + 0x358]
push dword [ecx + ebx*4]
mov ecx, eax
call fcn.0049ac10
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4c1a2d
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x3f8], 0
jne 0x4c1a6b
lea ecx, [ebp - 0x3fc]
call fcn.0048e840
mov dword [ebp - 4], 8
test esi, esi
je 0x4c1788
call fcn.004992c0
mov esi, dword [ebp - 0x404]
mov eax, 1
mov dword [esi], 0
jmp 0x4c279c
lea eax, [ebp - 0x3fc]
mov ecx, esi
push eax
call fcn.004f9dd0
lea ecx, [ebp - 0x3fc]
call fcn.0048e840
mov dword [ebp - 4], 9
test esi, esi
je 0x4c1788
call fcn.004992c0
mov esi, dword [ebp - 0x404]
mov eax, 1
mov dword [esi], 0
jmp 0x4c279c
mov dword [ebp - 0x400], 0x809a
cmp word [ebp - 0x400], ax
jne 0x4c1c4a
lea ecx, [ebp - 0x130]
call fcn.0048ace0
sub esp, 0x18
mov dword [ebp - 4], 0xa
mov ecx, esp
push 6
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x57709c
mov byte [ecx], 0
call fcn.0040a4a0
lea ecx, [ebp - 0x130]
call fcn.004cabb0
lea ecx, [ebp - 0x344]
call fcn.0041e010
mov dword [ebp - method.Presentation::SensorWizardDlg.virtual_0], vtable.Presentation::SensorWizardDlg.0
mov dword [ebp - method.Presentation::SensorWizardDlg.1.virtual_0], vtable.Presentation::SensorWizardDlg.1.0
mov dword [ebp - method.Presentation::WizardDlg.2.virtual_0], vtable.Presentation::SensorWizardDlg.2.0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x198], 0x1a5
mov dword [ebp - 0x194], eax
push 0
push dword [edi + 4]
lea ecx, [ebp - 0x344]
mov byte [ebp - 4], 0xe
call fcn.00422ad0
cmp eax, 2
jne 0x4c1bc9
lea ecx, [ebp - 0x190]
mov dword [ebp - method.Presentation::SensorWizardDlg.virtual_0], vtable.Presentation::SensorWizardDlg.0
mov dword [ebp - method.Presentation::SensorWizardDlg.1.virtual_0], vtable.Presentation::SensorWizardDlg.1.0
mov dword [ebp - method.Presentation::WizardDlg.2.virtual_0], vtable.Presentation::SensorWizardDlg.2.0
call fcn.0040bed0
lea ecx, [ebp - 0x344]
call fcn.0041ed40
lea ecx, [ebp - 0x130]
call fcn.0048e130
mov dword [esi], 0
mov eax, 1
jmp 0x4c279c
call fcn.0049fbd0
mov esi, eax
mov dword [ebp - 0x408], esi
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0xf
push eax
mov ecx, esi
call fcn.004f99c0
mov byte [ebp - 4], 0x10
test esi, esi
je 0x4c1bf5
call fcn.004992c0
lea ecx, [ebp - 0x190]
mov dword [ebp - method.Presentation::SensorWizardDlg.virtual_0], vtable.Presentation::SensorWizardDlg.0
mov dword [ebp - method.Presentation::SensorWizardDlg.1.virtual_0], vtable.Presentation::SensorWizardDlg.1.0
mov dword [ebp - method.Presentation::WizardDlg.2.virtual_0], vtable.Presentation::SensorWizardDlg.2.0
call fcn.0040bed0
lea ecx, [ebp - 0x344]
call fcn.0041ed40
lea ecx, [ebp - 0x130]
call fcn.0048e130
mov esi, dword [ebp - 0x404]
mov eax, 1
mov dword [esi], 0
jmp 0x4c279c
mov dword [ebp - 0x400], 0x809b
cmp word [ebp - 0x400], ax
jne 0x4c1c81
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x809b
push edx
mov ecx, edi
call fcn.004b03f0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x809c
cmp word [ebp - 0x400], ax
jne 0x4c1d9c
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x188]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
js 0x4c178e
push 0x24
push 0x5737a4
push 0x5780fc
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
je 0x4c178e
call fcn.0049fbd0
mov esi, eax
mov dword [ebp - 0x408], esi
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 0x11
call fcn.0048ace0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x12
push eax
mov ecx, esi
call fcn.0046fbc0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x13
push ecx
push ebx
mov ecx, eax
call fcn.0049a990
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4c1d39
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x180], 0
jne 0x4c1d77
lea ecx, [ebp - 0x184]
call fcn.0048e130
mov dword [ebp - 4], 0x14
test esi, esi
je 0x4c1788
call fcn.004992c0
mov esi, dword [ebp - 0x404]
mov eax, 1
mov dword [esi], 0
jmp 0x4c279c
lea eax, [ebp - 0x184]
mov ecx, esi
push eax
call fcn.004f9d00
lea ecx, [ebp - 0x184]
call fcn.0048e130
mov dword [ebp - 4], 0x15
jmp 0x4c1a8b
mov dword [ebp - 0x400], 0x808d
cmp word [ebp - 0x400], ax
jne 0x4c1dd3
lea eax, [ebp - 0x400]
shr edx, 0x10
push eax
push ebx
push 0x808d
push edx
mov ecx, edi
call fcn.004b1570
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
mov dword [ebp - 0x400], 0x808e
cmp word [ebp - 0x400], ax
jne 0x4c26bd
push 2
push 0xffffffffffffffff
push 0x100c
push dword [edi + 0x180]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
js 0x4c178e
mov ecx, dword [edi + 0x368]
sub ecx, dword [edi + 0x364]
sar ecx, 2
cmp ebx, ecx
jae 0x4c178e
call fcn.0049fbd0
mov esi, eax
mov dword [ebp - 0x408], esi
lea ecx, [ebp - 0x244]
mov dword [ebp - 4], 0x16
call fcn.0048ac20
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x17
push eax
mov ecx, esi
call fcn.0046fba0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0x18
push ecx
mov ecx, dword [edi + 0x364]
push dword [ecx + ebx*4]
mov ecx, eax
call fcn.0049a850
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4c1e88
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x240], 0
jne 0x4c1ec2
lea ecx, [ebp - 0x244]
call fcn.0048dfe0
mov dword [ebp - 4], 0x19
test esi, esi
je 0x4c1eac
call fcn.004992c0
mov eax, dword [ebp - 0x404]
mov dword [eax], 0
mov eax, 1
jmp 0x4c279c
lea ecx, [ebp - 0x3fc]
call fcn.0048b5c0
lea eax, [ebp - 0x3fc]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x244]
mov ecx, edi
push eax
call fcn.004926e0
test eax, eax
je 0x4c1ef8
lea eax, [ebp - 0x3fc]
mov ecx, esi
push eax
call fcn.004f9dd0
lea ecx, [ebp - 0x3fc]
call fcn.0048e840
lea ecx, [ebp - 0x244]
call fcn.0048dfe0
mov dword [ebp - 4], 0x1b
jmp 0x4c1a8b
cmp ecx, 0x4e
jne 0x4c26bd
cmp dword [ebx + 4], 0x44f
jne 0x4c2012
cmp dword [ebx + 8], 0xfffffffe
jne 0x4c1f62
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push edx
mov ecx, edi
call fcn.004b2110
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov edx, dword [ebp + 0x10]
cmp dword [ebx + 4], 0x44f
jne 0x4c2012
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c1f9e
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push edx
mov ecx, edi
call fcn.004b2110
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x44f
jne 0x4c2012
cmp dword [ebx + 8], 0xfffffffb
jne 0x4c1fd8
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b2110
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x44f
jne 0x4c2012
cmp dword [ebx + 8], 0xfffffffa
jne 0x4c2012
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b2110
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov eax, dword [ebx + 4]
cmp eax, 0x44f
jne 0x4c2070
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c2042
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.004af3f0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x44f
jne 0x4c2070
cmp dword [ebx + 8], 0xffffff6a
jne 0x4c2070
lea eax, [ebp - 0x400]
mov ecx, edi
push eax
push ebx
push dword [ebp + 0x10]
call fcn.004b2160
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x450
jne 0x4c20a8
cmp dword [ebx + 8], 0xfffffffe
jne 0x4c20a8
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8750
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x450
jne 0x4c215a
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c20e6
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8750
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x450
jne 0x4c215a
cmp dword [ebx + 8], 0xfffffffb
jne 0x4c2120
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8750
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x450
jne 0x4c215a
cmp dword [ebx + 8], 0xfffffffa
jne 0x4c215a
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8750
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov eax, dword [ebx + 4]
cmp eax, 0x450
jne 0x4c21b8
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c218a
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.004b07e0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x450
jne 0x4c21b8
cmp dword [ebx + 8], 0xffffff6a
jne 0x4c21b8
lea eax, [ebp - 0x400]
mov ecx, edi
push eax
push ebx
push dword [ebp + 0x10]
call fcn.004bb0b0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x476
jne 0x4c21f0
cmp dword [ebx + 8], 0xfffffffe
jne 0x4c21f0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b6e40
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x476
jne 0x4c22a2
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c222e
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b6e40
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x476
jne 0x4c22a2
cmp dword [ebx + 8], 0xfffffffb
jne 0x4c2268
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b6e40
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x476
jne 0x4c22a2
cmp dword [ebx + 8], 0xfffffffa
jne 0x4c22a2
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b6e40
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov eax, dword [ebx + 4]
cmp eax, 0x476
jne 0x4c2300
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c22d2
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.004af6e0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x476
jne 0x4c2300
cmp dword [ebx + 8], 0xffffff6a
jne 0x4c2300
lea eax, [ebp - 0x400]
mov ecx, edi
push eax
push ebx
push dword [ebp + 0x10]
call fcn.004b6e90
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x451
jne 0x4c2338
cmp dword [ebx + 8], 0xfffffffe
jne 0x4c2338
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8330
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x451
jne 0x4c23ea
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c2376
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8330
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x451
jne 0x4c23ea
cmp dword [ebx + 8], 0xfffffffb
jne 0x4c23b0
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8330
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x451
jne 0x4c23ea
cmp dword [ebx + 8], 0xfffffffa
jne 0x4c23ea
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8330
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov eax, dword [ebx + 4]
cmp eax, 0x451
jne 0x4c2448
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c241a
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.004b0090
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x451
jne 0x4c2448
cmp dword [ebx + 8], 0xffffff6a
jne 0x4c2448
lea eax, [ebp - 0x400]
mov ecx, edi
push eax
push ebx
push dword [ebp + 0x10]
call fcn.004b8380
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x46e
jne 0x4c2480
cmp dword [ebx + 8], 0xfffffffe
jne 0x4c2480
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8cb0
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x46e
jne 0x4c2532
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c24be
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8cb0
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x46e
jne 0x4c2532
cmp dword [ebx + 8], 0xfffffffb
jne 0x4c24f8
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8cb0
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
cmp dword [ebx + 4], 0x46e
jne 0x4c2532
cmp dword [ebx + 8], 0xfffffffa
jne 0x4c2532
lea eax, [ebp - 0x400]
mov dword [ebp - 0x400], 1
push eax
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.004b8cb0
cmp dword [ebp - 0x400], 0
mov dword [esi], eax
jne 0x4c13ff
mov eax, dword [ebx + 4]
cmp eax, 0x46e
jne 0x4c268e
cmp dword [ebx + 8], 0xfffffffd
jne 0x4c2566
lea eax, [ebp - 0x408]
mov ecx, edi
push eax
push 0
push 0
push 0
call fcn.004b03f0
mov dword [esi], eax
mov eax, 1
jmp 0x4c279c
cmp eax, 0x46e
jne 0x4c268e
cmp dword [ebx + 8], 0xffffff6a
jne 0x4c268e
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x400], eax
call fcn.0049fbd0
mov esi, eax
mov dword [ebp - 0x408], esi
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0x1c
call fcn.0048ace0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0x1d
push eax
mov ecx, esi
call fcn.0046fbc0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x1e
push ecx
push edi
mov ecx, eax
call fcn.0049a990
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x1d
test ecx, ecx
je 0x4c25f1
mov edx, dword [ecx]
lea eax, [ebp - 0x80]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x5c], 0
cmp dword [ebp - 0xd8], 0
jne 0x4c2611
lea ecx, [ebp - 0xdc]
call fcn.0048e130
mov dword [ebp - 4], 0x1f
jmp 0x4c1ea3
test byte [ebx + 0xc], 1
je 0x4c2677
mov eax, dword [ebp - 0x400]
sub eax, 0
je 0x4c2644
sub eax, 1
jne 0x4c2677
push dword [ebp - 0xd4]
mov eax, dword [ebx + 0x24]
push 0x5707bc
dec eax
push eax
push dword [ebx + 0x20]
call fcn.0041ac20
add esp, 0x10
jmp 0x4c2677
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b5a0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
mov eax, dword [ebx + 0x24]
dec eax
push eax
push dword [ebx + 0x20]
call fcn.0041ac20
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00408f00
lea ecx, [ebp - 0xdc]
call fcn.0048e130
mov dword [ebp - 4], 0x20
jmp 0x4c1ea3
cmp dword [ebx + 8], 0xfffffdd9
jne 0x4c26b7
push 1
push 0
push dword [edi + 0x24c]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esi], 0
mov eax, 1
jmp 0x4c279c
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xdc]
mov dword [ebp - 0x404], eax
cmp ecx, 5
jne 0x4c2736
xor ecx, ecx
test eax, eax
cmove edi, ecx
cmp byte [eax + 0x1c], cl
je 0x4c270a
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, dword [ebp + 0x10]
cmp edx, 2
jne 0x4c26fb
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c2713
test edx, edx
jne 0x4c270a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4c2713
cmp edx, 1
je 0x4c178e
mov eax, ebx
lea ecx, [edi + 0xdc]
shr eax, 0x10
cwde
push eax
movsx eax, bx
push eax
call fcn.00497190
mov dword [esi], 0
mov eax, 1
jmp 0x4c279c
cmp ecx, 0x24
jne 0x4c276c
cmp dword [eax + 0x14], 0xffffffff
je 0x4c178e
cmp dword [eax + 0x18], 0xffffffff
je 0x4c178e
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x404]
mov eax, dword [eax + 0x18]
mov dword [ebx + 0x1c], eax
lea eax, [ecx - 0x23]
mov dword [esi], 0
jmp 0x4c279c
cmp ecx, 0x111
jne 0x4c279a
mov eax, dword [edi + 0x248]
lea ecx, [edi + 0x248]
push 0
push esi
push ebx
push edx
push 0x111
push dword [ebp - 0x408]
call dword [eax]
test eax, eax
jne 0x4c13ff
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005189ad
mov esp, ebp
pop ebp
ret 0x18