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

Disassembly:
sub esp, 0xa44
push ebx
mov ebx, dword [esp + 0xa4c]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45bfcd
push 0x49c820
push str.Too_many_controls.
mov ecx, 0x4c3fc0
call fcn.0042f410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45bffa
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00489d77
add esp, 8
test eax, eax
je 0x45bfac
add dword [ebx + 0x14], 0x3e8
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
lea ebp, [eax + edx*4]
xor eax, eax
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov al, byte [esp + 0xa5c]
cmp al, 0x14
jne 0x45c030
or byte [ebp + 5], 0x80
mov byte [esp + 0xa5c], 0x13
jmp 0x45c034
cmp al, 0x13
jne 0x45c071
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45c05f
push 0x49c820
push str.Too_many_tab_controls.
mov ecx, 0x4c3fc0
call fcn.0042f410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0xa5c]
jmp 0x45c0b1
cmp al, 0x17
jne 0x45c0a2
cmp dword [ebx + 8], 0
je 0x45c09c
push 0x49c820
push str.Too_many_status_bars.
mov ecx, 0x4c3fc0
call fcn.0042f410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45c0b4
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
cmp dword [ebx + 0x10], 0
mov edi, SysReAllocString
jne 0x45c11b
mov esi, dword [0x4c3f0c]
cmp dword [ebx + 0x78], edi
jne 0x45c0e8
mov edx, dword [ebx + 0x50]
imul edx, edx, 0x94
fild dword [edx + esi + 0x84]
fmul qword [0x4b8ca0]
call fcn.00497220
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45c10b
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x94
fild dword [eax + esi + 0x84]
fmul qword [0x4b8ce8]
call fcn.00497220
mov dword [ebx + 0x7c], eax
mov ecx, dword [ebx + 0x78]
mov al, byte [esp + 0xa5c]
mov dword [ebx + 0x80], ecx
mov edi, ebp
lea esi, [esp + 0x68]
mov byte [ebp + 4], al
call fcn.004619d0
mov al, byte [esp + 0xa5c]
or dword [esp + 0x68], 0x10000000
mov dl, byte [ebx + 0x45]
mov byte [esp + 0x1f9], dl
cmp al, 6
jne 0x45c15e
or dword [esp + 0x68], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45c17c
or dword [esp + 0x68], 0x20000
jmp 0x45c17c
cmp byte [ebx + 0x44], 0
je 0x45c16c
or dword [esp + 0x68], 0x20000
cmp al, 2
je 0x45c199
cmp al, 0x10
je 0x45c199
cmp al, 0x11
je 0x45c199
cmp al, 0x12
je 0x45c199
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x1f], 1
je 0x45c18d
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc4], edx
jmp 0x45c1a9
mov byte [esp + 0x1f], 0
cmp al, 0x12
jne 0x45c1a9
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x13
ja case.0x45c1c1.6
jmp dword [eax*4 + 0x45eb1c]
or dword [esp + 0x68], 0x210000
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x210042
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x210080
or dword [esp + 0x70], 0x200
jmp case.0x45c1c1.6
or dword [esp + 0x78], 0x30
or dword [esp + 0x68], 0x10008
or dword [esp + 0x70], 0x200
mov dword [esp + 0x7c], 1
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x10027
or dword [esp + 0x70], 0x200
jmp case.0x45c1c1.6
or dword [esp + 0x68], esi
or dword [esp + 0x70], 0x200
jmp case.0x45c1c1.6
or dword [esp + 0x68], esi
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x36
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x1000c
jmp case.0x45c1c1.6
or dword [esp + 0x68], 1
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x10200
mov byte [esp + 0x1f9], 0
jmp case.0x45c1c1.6
or dword [esp + 0x68], 0x4000000
jmp case.0x45c1c1.6
test dword [ebx + 0x3c], 0x40000
je 0x45c281
or dword [esp + 0x68], 0x100
or dword [esp + 0x68], 0x800
mov ecx, dword [esp + 0xa60]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x70]
push eax
push ecx
push ebx
call fcn.0045f670
test eax, eax
jne 0x45c2b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov cl, byte [esp + 0xa5c]
mov eax, dword [esp + 0xc4]
cmp cl, 0xa
je 0x45c2c6
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc8]
setne dl
mov byte [esp + 0x1f7], dl
cmp eax, 0xff000000
jne 0x45c2f5
cmp cl, 0xb
je 0x45c316
mov dword [esp + 0xc8], 0xffffffff
jmp 0x45c316
cmp eax, 0xffffffff
jne 0x45c316
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45c316
cmp cl, 0x12
je 0x45c316
cmp cl, 0x17
je 0x45c316
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0x90], 0x80000000
mov edi, dword [esp + 0x6c]
jne 0x45c361
cmp dword [esp + 0x94], 0x80000000
jne 0x45c361
fld dword [0x4b8ce0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45c361
mov eax, dword [esp + 0xa64]
mov ebx, 0x4b7800
call fcn.00409140
test eax, eax
jne 0x45c361
xor ecx, ecx
jmp 0x45c36b
mov ecx, edi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x74]
not eax
and eax, dword [esp + 0x70]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45c39e.10
movzx eax, byte [eax + 0x45eb94]
jmp dword [eax*4 + 0x45eb6c]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0xa58]
cmp byte [esp + 0xa5c], 4
jne 0x45c659
cmp dword [ebp + 0xc], 0
jne 0x45c659
test byte [ebp + 5], 1
jne 0x45c659
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45c535
cmp word [eax + 2], 0
jne 0x45c535
xor edx, edx
mov word [esp + 0x250], dx
jmp 0x45c54f
test bl, 1
je 0x45c411
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45c3ab
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45c3ab
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45c435
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45c39e.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45c39e.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45c45d
test esi, edi
jne 0x45c45d
or eax, esi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45c39e.10
or ebx, 3
jmp 0x45c3ab
mov esi, dword [esp + 0xa58]
test bl, 1
je 0x45c48b
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45c3b6
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45c3b6
or ebx, 1
jmp 0x45c3ab
fld dword [0x4b8ce0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45c4d0
mov eax, dword [esp + 0xa64]
push 0xa
push eax
call fcn.00489891
mov edi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x45c4dd
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45c39e.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45c3ab
mov esi, dword [esp + 0xa58]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45c50e
test byte [ebp + 5], 0x20
je 0x45c517
cmp dword [ebp + 0x10], 0xff000000
je 0x45c526
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45c3b6
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45c3b6
lea edx, [esp + 0x250]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45c540
mov eax, dword [esp + 0xa64]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x258]
call fcn.0046fdd0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea ecx, [esp + 0x26c]
push 0x4b781c
push ecx
xor eax, eax
call fcn.00470530
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea edx, [esp + 0x264]
push 0x4a607c
push edx
xor eax, eax
call fcn.00470530
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea eax, [esp + 0x264]
push 0x4a3838
push eax
xor eax, eax
call fcn.00470530
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea ecx, [esp + 0x264]
push 0x4a3bd4
push ecx
xor eax, eax
call fcn.00470530
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea edx, [esp + 0x264]
push 0x4a6884
push edx
xor eax, eax
call fcn.00470530
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49c820
lea eax, [esp + 0x264]
push 0x4b7820
push eax
xor eax, eax
call fcn.00470530
add esp, 0x1c
lea edi, [esp + 0x250]
mov eax, 0x4c3fc0
call fcn.00419c70
mov dword [ebp + 0xc], eax
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00465ca0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x45c680
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edx, [eax + edx*4 - 0x14]
mov dword [esp + 0x34], edx
jmp 0x45c68b
lea eax, [esp + 0x200]
mov dword [esp + 0x34], eax
mov eax, SysReAllocString
cmp dword [esp + 0x88], eax
jne 0x45c75b
cmp dword [esp + 0x8c], eax
jne 0x45c75b
test ecx, ecx
je 0x45c6e8
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00465e20
test eax, eax
jne 0x45c6e8
mov ebx, dword [esp + 0xa58]
mov esi, dword [esp + 0x40]
push ebx
lea edi, [esp + 0x5c]
call fcn.00465e50
mov ecx, dword [ebx + 0x78]
add ecx, dword [esp + 0x58]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x88], ecx
jmp 0x45c70b
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
add eax, dword [esi + 0x7c]
mov ebx, dword [esp + 0xa58]
mov dword [esp + 0x88], edx
mov cl, byte [esp + 0xa5c]
mov dword [esp + 0x8c], eax
cmp cl, 1
je 0x45c723
cmp cl, 0x16
jne 0x45c754
cmp dword [ebx + 0x10], 0
je 0x45c754
mov edx, dword [esp + 0x34]
mov cl, byte [edx + 4]
cmp cl, 1
je 0x45c73a
cmp cl, 0x16
jne 0x45c754
mov cl, byte [edx + 6]
cmp cl, byte [ebp + 6]
jne 0x45c754
mov dl, byte [edx + 7]
cmp dl, byte [ebp + 7]
jne 0x45c754
add eax, 8
mov dword [esp + 0x8c], eax
mov esi, dword [esp + 0xa58]
mov al, byte [esp + 0xa5c]
cmp al, 0xe
je 0x45c772
cmp al, 0xa
je 0x45c772
cmp al, 0xb
je 0x45c772
xor dl, dl
jmp 0x45c774
mov dl, 1
mov ecx, dword [esp + 0x94]
fld1
mov edi, dword [0x4c3f0c]
test dl, dl
sete bl
mov byte [esp + 0x16], bl
cmp ecx, 0x80000000
jne 0x45c901
fcom dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45c8fa
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45c7ba.4
jmp dword [eax*4 + 0x45eba8]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4b8cdc]
fstp dword [esp + 0x98]
test al, 1
je 0x45c7e0
test al, 2
je 0x45c920
cmp byte [0x4c4de3], 0
je 0x45c920
test eax, 0x400
jne 0x45c920
xor bl, bl
mov byte [esp + 0x16], bl
jmp 0x45c920
fstp st(0)
fld dword [0x4b8cd8]
fstp dword [esp + 0x98]
jmp 0x45c920
fstp st(0)
fld dword [0x4b8cd4]
fstp dword [esp + 0x98]
jmp 0x45c920
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
jne case.0x45c7ba.4
test byte [esp + 0x10], 4
je case.0x45c7ba.13
fstp st(0)
fld dword [0x4b8cdc]
fstp dword [esp + 0x98]
jmp 0x45c920
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45c805
mov ecx, dword [esi + 0x50]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edi + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
jmp 0x45c920
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45c89e
fld dword [0x4b8cd8]
fstp dword [esp + 0x98]
jmp 0x45c920
push eax
mov eax, dword [esp + 0xb8]
call fcn.00465510
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45c920
test byte [esp + 0x10], 4
fstp st(0)
je 0x45c8ce
fld dword [0x4b8cd8]
fstp dword [esp + 0x98]
jmp 0x45c920
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov ecx, dword [eax + edi + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
jmp 0x45c920
fstp st(0)
fld dword [0x4b8cd0]
fstp dword [esp + 0x98]
jmp 0x45c920
mov al, byte [esp + 0xa5c]
fstp st(0)
cmp al, 7
je 0x45c90b
cmp al, 8
jne 0x45c920
cmp byte [0x4c4de3], 0
je 0x45c920
or dword [esp + 0x10], 0x400
jmp 0x45c920
fstp st(0)
fldz
xor edi, edi
fld dword [esp + 0x98]
mov dword [esp + 0x28], edi
fcom st(1)
mov dword [esp + 0x3c], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ca98
mov al, byte [esp + 0xa5c]
cmp al, 3
je 0x45c955
cmp al, 6
jbe 0x45c964
cmp al, 8
ja 0x45c964
fadd qword [0x4b8c48]
fstp dword [esp + 0x98]
jmp 0x45c966
fstp st(0)
test bl, bl
je 0x45ca86
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f0c]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x214]
push edx
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x98]
fld st(0)
fld qword [0x4b8c58]
fadd st(1), st(0)
fxch st(1)
call fcn.00497220
fild dword [esp + 0x214]
mov ebx, eax
lea eax, [ebx - 1]
imul eax, dword [esp + 0x224]
fmulp st(2)
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.00497220
mov ecx, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
mov dword [esp + 0x94], ecx
cmp eax, 0x10
ja case.0x45ca0d.5
movzx edx, byte [eax + 0x45ec00]
jmp dword [edx*4 + 0x45ebec]
add ecx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x94], ecx
je case.0x45ca0d.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x94], ecx
jmp case.0x45ca0d.5
mov eax, dword [esi + 0x50]
mov edx, dword [0x4c3f0c]
imul eax, eax, 0x94
mov eax, dword [eax + edx + 0x84]
lea ecx, [ecx + eax + 2]
mov dword [esp + 0x94], ecx
jmp case.0x45ca0d.5
mov edx, dword [esi + 0x7c]
imul edx, ebx
add ecx, edx
mov dword [esp + 0x94], ecx
jmp case.0x45ca0d.5
inc ebx
imul ebx, dword [esi + 0x7c]
add ecx, ebx
mov dword [esp + 0x94], ecx
jmp case.0x45ca0d.5
test dl, dl
jne case.0x45ca0d.5
mov ecx, 0x1e
mov dword [esp + 0x94], ecx
jmp case.0x45ca0d.5
fstp st(0)
mov byte [esp + 0x32], 0
cmp ecx, 0x80000000
je 0x45cab8
cmp dword [esp + 0x90], 0x80000000
jne case.0x45cf3c.4
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45cadd.2
movzx eax, byte [eax + 0x45ec20]
jmp dword [eax*4 + 0x45ec14]
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45cadd.2
test edi, edi
jne 0x45cb2b
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c3f0c]
mov edi, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [esp + 0x228]
add ecx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x38], ecx
je 0x45cb5e
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], 0x2c40
test edi, edi
jne 0x45cbaa
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c3f0c]
mov edi, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov bl, byte [esp + 0xa5c]
cmp bl, 1
jne 0x45cbcc
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45cc07
or dword [esp + 0x2c], 0x800
jmp 0x45cc07
cmp bl, 5
je 0x45cbd6
cmp bl, 6
jne 0x45cc07
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x38]
add eax, dword [esp + 0x228]
lea edx, [ecx + eax + 2]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45cc1a
or dword [esp + 0x2c], 0x10
xor esi, esi
mov dword [esp + 0x200], esi
mov dword [esp + 0x204], esi
cmp eax, 0x80000000
jne 0x45cc3a
mov dword [esp + 0x208], esi
jmp 0x45cc45
sub eax, dword [esp + 0x38]
mov dword [esp + 0x208], eax
mov eax, ecx
sub eax, 0x80000000
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x20c], eax
cmp bl, 0x16
jne 0x45cdda
test byte [esp + 0x10], 4
je 0x45cc71
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0xa64]
lea edx, [eax + 2]
jmp 0x45cc80
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x45cc80
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489918
mov esi, dword [esp + 0xa68]
add esp, 4
cmp word [esi], 0
mov dword [esp + 0x18], eax
mov edi, eax
je 0x45cd9b
cmp word [esi], 0x3c
jne 0x45cd85
mov ax, word [esi + 2]
call fcn.00409110
cmp ax, 0x41
jne 0x45cd85
lea eax, [esi + 4]
call fcn.00409190
mov ebx, eax
cmp word [ebx], 0x3e
je 0x45cd4e
lea ecx, [ecx]
movzx eax, word [ebx]
test eax, 0xffffff80
jne 0x45cd11
push 0x107
push eax
call fcn.00489d0e
add esp, 8
test eax, eax
je 0x45cd11
add ebx, 2
jmp 0x45ccf0
cmp word [ebx], 0x3d
jne 0x45cd85
mov eax, 0x22
cmp ax, word [ebx + 2]
jne 0x45cd85
push eax
add ebx, 4
push ebx
call fcn.00489891
add esp, 8
test eax, eax
je 0x45cd85
lea ebx, [eax + 2]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45cd43
cmp eax, 9
jne 0x45cd48
add ebx, 2
jmp 0x45cd36
cmp word [ebx], 0x3e
jne 0x45ccf0
add ebx, 2
je 0x45cd85
mov eax, 0x4b7824
mov ecx, ebx
call fcn.00470140
test eax, eax
je 0x45cd85
mov ecx, ebx
cmp ebx, eax
jae 0x45cd80
lea esp, [esp]
mov dx, word [ecx]
mov word [edi], dx
add ecx, 2
add edi, 2
cmp ecx, eax
jb 0x45cd70
lea esi, [eax + 6]
jmp 0x45cd8e
mov ax, word [esi]
mov word [edi], ax
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x45ccc0
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [edi], cx
cmp word [eax], cx
jne 0x45cdae
mov eax, 0x4b7830
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x204]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00489c4b
add esp, 4
jmp 0x45ce04
mov eax, dword [esp + 0xa64]
cmp word [eax], si
jne 0x45cdeb
mov eax, 0x4b7830
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x204]
push edx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, eax
mov esi, dword [esp + 0x208]
mov eax, dword [esp + 0x94]
sub esi, dword [esp + 0x200]
cmp eax, 0x80000000
je 0x45ce2e
cmp ebx, eax
jle 0x45ce91
cmp byte [esp + 0xa5c], 0xc
je 0x45ce91
mov al, byte [esp + 0xa5c]
mov dword [esp + 0x94], ebx
cmp al, 0xc
jne 0x45ce65
add ebx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x94], ebx
je 0x45ce91
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp 0x45ce91
cmp al, 4
jne 0x45ce91
mov eax, dword [esp + 0xa58]
mov ecx, dword [eax + 0x50]
mov edx, dword [0x4c3f0c]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
lea ecx, [eax + ebx + 2]
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45cea3
cmp esi, eax
jle 0x45ceec
add esi, dword [esp + 0x38]
cmp byte [esp + 0xa5c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x90], esi
jne 0x45ceec
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4c3f0c]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x90], eax
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xa58]
cmp dword [esp + 0x90], 0x80000000
jne case.0x45cf3c.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f0c]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov edx, dword [esp + 0x44]
mov eax, ecx
shl eax, 4
add edx, 0xfffffffd
sub eax, ecx
cmp edx, 0x10
ja case.0x45cf3c.4
movzx edx, byte [edx + 0x45ec58]
jmp dword [edx*4 + 0x45ec38]
mov dword [esp + 0x90], eax
jmp case.0x45cf3c.4
add eax, eax
mov dword [esp + 0x90], eax
jmp case.0x45cf3c.4
test byte [esp + 0x10], 0x40
je 0x45cf67
mov dword [esp + 0x90], eax
jmp case.0x45cf3c.4
add ecx, ecx
mov dword [esp + 0x90], ecx
jmp case.0x45cf3c.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45cf3c.7
mov eax, dword [esp + 0xb4]
push ecx
call fcn.00465510
mov dword [esp + 0x90], eax
jmp case.0x45cf3c.4
test byte [esp + 0x10], 4
je case.0x45cf3c.7
lea edx, [ecx + ecx]
jmp 0x45cfae
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45cfae
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x90], edx
cmp byte [esp + 0xa5c], 0xc
jne 0x45d0bf
mov ebx, dword [esp + 0x10]
test bl, 4
jne 0x45d0bf
fld1
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45d0bf
test edi, edi
jne 0x45d01a
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f0c]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x94]
sub esi, dword [esp + 0x214]
sub esi, 8
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45d054
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45d0b6
mov edx, dword [esp + 0x224]
fild dword [esp + 0x18]
add edx, dword [esp + 0x214]
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x18]
fadd qword [0x4b8c48]
fstp dword [esp + 0x98]
fld dword [0x4b8ce0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45d0bf
mov eax, dword [esp + 0x6c]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45d0bf
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45d0bf
fld1
fstp dword [esp + 0x98]
mov ebx, dword [esp + 0xa58]
cmp byte [esp + 0x1f9], 0
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete byte [esp + 0x31]
push edx
mov byte [esp + 0x2b], 0
add esi, 3
mov byte [esp + 0x22], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45d104
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45d109
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x33], 0
jae 0x45d163
cmp dword [esp + 0x40], 0
je 0x45d15b
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45d15b
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push 0
push 0
push 0x130b
push ecx
call edi
movzx edx, byte [ebp + 7]
cmp eax, edx
jne 0x45d15b
mov al, byte [esp + 0x15]
mov byte [esp + 0x33], al
jmp 0x45d163
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x16
ja case.0x45d171.20
jmp dword [eax*4 + 0x45ec6c]
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa80]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45d171.20
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa80]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4b7834
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45d171.20
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45d236
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45d24d
xor eax, eax
mov dword [esp + 0x94], eax
mov edx, dword [0x4c1e40]
push 0
push edx
mov edx, dword [ebx + 4]
push esi
mov esi, dword [esp + 0xa70]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push esi
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov cl, byte [ebp + 5]
mov eax, dword [esp + 0xd8]
shr cl, 1
and cl, 1
movzx edx, cl
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
push esi
call fcn.004713f0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45d171.20
mov esi, dword [esp + 0x18]
mov edx, dword [ebp]
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff5
add ecx, 0xe
or ecx, dword [esp + 0x10]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp]
push eax
push esi
push 0x172
push ecx
call edi
test esi, esi
jne 0x45d315
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x45d171.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x45d171.20
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45d171.20
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
test byte [esp + 0x10], 1
je case.0x45d171.20
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x10]
jae 0x45d40d
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push eax
mov eax, dword [ebx + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call edi
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 4]
push 0
mov dword [ebx + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call edi
movzx eax, word [esp + 0x10]
mov ecx, dword [ebp]
push 1
push eax
push 0xf4
push ecx
jmp 0x45e752
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je case.0x45d171.20
push 0
push ecx
push 0xf1
jmp 0x45e751
cmp dword [esp + 0xcc], 0
je 0x45d4c1
cmp byte [ebp + 4], 8
jne 0x45d4c1
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
push ecx
mov ecx, dword [0x4c3f0c]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x16], 0
mov byte [esp + 0x1e], 1
je 0x45d5af
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call edi
test byte [esp + 0x10], 1
mov dword [esp + 0x34], eax
je 0x45d568
test byte [esp + 0x10], 2
mov esi, 4
je 0x45d56d
mov esi, 2
lea eax, [esi + eax*2 + 8]
cmp dword [esp + 0x94], eax
jge 0x45d583
mov dword [esp + 0x94], eax
jmp 0x45d5af
fldz
fld dword [esp + 0x98]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45d5ad
fimul dword [esp + 0x34]
call fcn.00497220
lea ecx, [eax + esi + 8]
mov dword [esp + 0x94], ecx
jmp 0x45d5af
fstp st(0)
mov edx, dword [esp + 0x94]
push 1
push edx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x45d171.20
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x49c820
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
je 0x45d654
lea edx, [esp + 0xdc]
push edx
push ecx
push 0x192
push eax
call edi
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f0c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x2e], 1
call esi
mov esi, dword [esp + 0x10]
and esi, 0x100000
mov dword [esp + 0x34], eax
lea edi, [eax + 8]
je 0x45d6b0
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov ecx, dword [esp + 0x94]
cmp ecx, edi
jge 0x45d6cc
mov ecx, edi
push 1
mov dword [esp + 0x98], ecx
push ecx
jmp 0x45d5b9
fldz
fld dword [esp + 0x98]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45d717
fimul dword [esp + 0x34]
call fcn.00497220
lea ecx, [eax + 8]
mov dword [esp + 0x94], ecx
test esi, esi
je 0x45d719
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
push 1
mov dword [esp + 0x98], ecx
push ecx
jmp 0x45d5b9
fstp st(0)
push 1
push ecx
jmp 0x45d5b9
mov eax, dword [esp + 0x7c]
cmp eax, 4
je 0x45d737
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45d74a
mov eax, 0xc8
mov edx, dword [0x4c1e40]
mov ecx, dword [ebx + 4]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45d171.20
push 0x3f8
call fcn.00488b54
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45d7bf
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d171.20
push 0x3f8
mov dword [ebx + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.004917d0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x206]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x45d7f7
or byte [eax + 5], 0x80
cmp dword [esp + 0x7c], 4
jne 0x45d80d
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45d823
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call edi
lea eax, [esp + 0x68]
mov edi, ebp
call fcn.00465660
cmp dword [esp + 0x94], 0x80000000
jne case.0x45d171.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c3f0c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call esi
mov eax, dword [esp + 0x7c]
dec eax
mov byte [esp + 0x1e], 1
je 0x45d9d1
sub eax, 3
je 0x45d9a3
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45d8bc
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c3f0c]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x7c], 0
jne 0x45d967
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call esi
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x45d8f7
fadd dword [0x4b8c80]
fld dword [esp + 0x98]
push 0xc
fsub qword [0x4b8c48]
fnstcw word [esp + 0x1a]
movzx eax, word [esp + 0x1a]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
shr eax, 0x10
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1a]
fild dword [esp + 0x1c]
fstp qword [esp + 0x5c]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x98]
fadd qword [esp + 0x58]
call fcn.00497220
mov ecx, dword [esp + 0x214]
lea eax, [eax + ecx + 0x10]
jmp 0x45da0f
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45d982
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fsub qword [0x4b8c48]
faddp st(1)
call fcn.00497220
add eax, 0xb
jmp 0x45da0f
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call esi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x98]
call fcn.00497220
add eax, 7
jmp 0x45da0f
fld dword [esp + 0x98]
mov ecx, dword [ebp]
fnstcw word [esp + 0x16]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x22]
push ecx
call esi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45d171.20
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45da53
mov eax, 0xc8
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push esi
push edx
mov edx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x49c820
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
cmp dword [esp + 0xd4], 0
mov dword [ebx + 0x4c], ebp
je 0x45dac3
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x68]
mov esi, ebp
call fcn.00465710
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45daed
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x94], 0x80000000
jne case.0x45d171.20
movzx edx, byte [esp + 0x15]
mov ecx, dword [0x4c3f0c]
mov edi, ebx
mov eax, dword [edi + 0x50]
imul eax, eax, 0x94
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x2e], 1
call esi
mov dword [esp + 0x94], eax
cmp eax, 2
jge 0x45db63
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c3f0c]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
fild dword [esp + 0x94]
fmul dword [esp + 0x98]
call fcn.00497220
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45d171.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45dbd5
cmp dword [esp + 0xcc], 0
jge 0x45dbc3
and eax, 0xffefff7f
jmp 0x45dbd1
mov ecx, dword [esp + 0x6c]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0xa64]
cmp word [edx], 0
je 0x45dbf1
test al, 4
je 0x45dbf1
mov edi, edx
call fcn.00470a80
mov edi, eax
jmp 0x45dbf3
mov edi, edx
mov eax, edi
test edi, edi
jne 0x45dc00
mov eax, dword [esp + 0xa64]
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dcb8
test byte [esp + 0x10], 0x20
je 0x45dc71
mov cx, word [esp + 0x1f4]
test cx, cx
je 0x45dc71
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xcc]
test eax, eax
jns 0x45dc85
xor eax, eax
mov dword [esp + 0xcc], eax
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a4]
test eax, eax
je 0x45dcb8
mov edx, dword [ebp]
lea ecx, [esp + 0xdc]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45d171.20
cmp edi, dword [esp + 0xa64]
je case.0x45d171.20
push edi
call fcn.0048a11f
add esp, 4
jmp case.0x45d171.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
mov byte [esp + 0x16], 0
je 0x45dd3f
mov ecx, eax
push str.LongDate
push ecx
call fcn.00488ac9
add esp, 8
test eax, eax
jne 0x45dd11
mov edx, dword [esp + 0x10]
and edx, 0xfffffff6
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x45dd3f
mov eax, dword [esp + 0xa64]
push str.Time
push eax
call fcn.00488ac9
add esp, 8
test eax, eax
jne 0x45dd3a
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x45dd3f
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x9c], eax
jne 0x45dd51
or dword [esp + 0x10], eax
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
cmp byte [esp + 0x16], 0
je 0x45ddbd
mov ecx, dword [esp + 0xa64]
push ecx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45dddc
lea edx, [esp + 0x1c8]
push edx
push eax
mov eax, dword [ebp]
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x45de03
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1a8]
push ecx
push edx
push 0x1002
push eax
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45d171.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
jmp 0x45e752
cmp dword [esp + 0x1e8], 0
jne 0x45de56
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45de56
lea eax, [esp + 0x1a8]
call fcn.0046f800
mov dword [esp + 0x1e8], eax
cmp eax, 3
jne 0x45de56
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45de6a
mov ecx, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x45de7a
mov eax, 0x64
mov edx, dword [0x4c1e40]
push 0
push edx
mov edx, dword [ebx + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov esi, dword [esp + 0x10]
and esi, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45dedd
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45defc
mov edx, dword [ebp]
lea ecx, [esp + 0x1c8]
push ecx
push eax
push 0x1012
push edx
call edi
mov eax, dword [esp + 0x1e8]
test eax, eax
je 0x45df72
test esi, esi
je 0x45df5d
cmp eax, 1
jne 0x45df48
mov eax, dword [esp + 0x1a8]
mov ecx, dword [esp + 0x1ac]
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], edx
mov dword [esp + 0x1c4], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1a8]
push ecx
push 0
push 0x1006
push edx
jmp 0x45df70
mov ecx, dword [ebp]
lea eax, [esp + 0x1a8]
push eax
push 0
push 0x1002
push ecx
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45df8a
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call edi
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f0c]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov eax, SysReAllocString
mov byte [esp + 0x1e], 1
cmp dword [esp + 0x90], eax
je 0x45dfcf
cmp dword [esp + 0x94], eax
jne case.0x45d171.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45d171.20
cmp dword [esp + 0x90], 0
jge 0x45e049
test byte [esp + 0x10], 0x10
je 0x45e000
mov eax, dword [esp + 0x50]
jmp 0x45e01d
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x45e01d
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45e035
mov dword [esp + 0x90], eax
jmp 0x45e049
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45e147
fldz
mov ecx, dword [esp + 0x54]
fld dword [esp + 0x98]
mov dword [esp + 0x94], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45e145
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45e147
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45e0c8
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c3f0c]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x214]
je 0x45e0f7
mov edx, dword [esp + 0x94]
lea eax, [edx + esi + 4]
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.00497220
add esi, 0xfffffffe
mov dword [esp + 0x94], eax
fild dword [esp + 0x94]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fxch st(2)
fsub qword [0x4b8c48]
fmulp st(2)
fsubrp st(1)
call fcn.00497220
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45e147
fstp st(0)
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45d171.20
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45e1eb
push 0
call fcn.004651d0
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xcc]
test eax, eax
jle case.0x45d171.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45d171.20
test byte [esp + 0x10], 0x10
je 0x45e3dc
cmp dword [ebx + 8], 0
jne 0x45e238
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45e3dc
test byte [eax + 5], 0x80
je 0x45e3dc
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x16], 1
mov ecx, dword [0x4c1e40]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x49c820
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
cmp byte [esp + 0x16], 0
je 0x45e2b1
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x10], 0
je 0x45e430
test byte [esp + 0x10], 0x10
jne 0x45e2cd
cmp byte [esp + 0x16], 0
je 0x45e430
mov ecx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x48]
push eax
push ecx
call esi
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [edx]
push ecx
push eax
call esi
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x5c]
push ecx
push edx
push 0
call edi
cmp byte [ebx + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x45e3bd
test bl, 4
je 0x45e38b
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x98]
push eax
push ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add eax, dword [esp + 0x90]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x45e3e6
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
jmp 0x45e3f5
mov byte [esp + 0x16], 0
jmp 0x45e242
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x1f6], 0
jne 0x45e44d
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 4], 9
jne 0x45e43a
mov byte [esp + 0x1f6], 1
test bl, 0x40
je 0x45e423
mov dword [esp + 0xa4], 0x7fff
jmp 0x45e44d
mov dword [esp + 0xa0], 0x7fff
jmp 0x45e44d
cmp byte [esp + 0x1f6], 0
jne 0x45e44d
mov byte [esp + 0x1f6], 1
mov dword [esp + 0xa4], 0x64
lea ecx, [esp + 0x68]
mov eax, ebp
call fcn.004654c0
mov esi, dword [esp + 0xa64]
call fcn.0040cbe0
mov dl, byte [ebp + 5]
mov ecx, dword [ebp]
push eax
and dl, 0x80
movzx eax, dl
neg eax
sbb eax, eax
and eax, 0xa
push 0
add eax, 0x467
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0xa58]
jmp case.0x45d171.20
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
lea eax, [esp + 0x68]
mov esi, ebp
call fcn.00465580
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45d171.20
mov esi, ecx
call fcn.0040cbe0
test byte [ebp + 5], 0x80
je 0x45e517
push eax
mov edi, ebp
call fcn.00465540
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45d171.20
mov eax, dword [0x4c1e40]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x94]
push 0
push eax
mov eax, dword [esp + 0x98]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x49c820
push str.msctls_progress32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
call fcn.00465760
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45e5b7
push 0
mov esi, eax
call fcn.0040cbe0
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45d171.20
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x49c820
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov al, byte [ebx + 0xb8]
mov byte [ebx + 0xb9], al
inc al
push 0x464f60
mov byte [ebx + 0xba], 0
mov byte [ebx + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c1e64], eax
jmp case.0x45d171.20
cmp byte [0x4c5675], 0
jne 0x45e68f
push 0x4b72f8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45e68f
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45e67f
call eax
test eax, eax
setne byte [0x4c5675]
cmp byte [0x4c5675], 0
jne 0x45e68f
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov edx, dword [0x4c1e40]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x94]
push 0
push edx
mov edx, dword [esp + 0x98]
push esi
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0xa80]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.AtlAxWin
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
push eax
call fcn.00455db0
add esp, 4
test eax, eax
jne 0x45e701
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d171.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45e712
mov eax, ecx
call fcn.00412a30
jmp case.0x45d171.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp case.0x45d171.20
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xa64]
mov edx, dword [esp + 0x10]
push esi
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45d171.20
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 8], eax
cmp ecx, 0xffffffff
je case.0x45d171.20
push ecx
push 0
push 0x2001
push eax
call edi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45e777
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45e76c
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45e79e
push 0x49c820
push str.Cant_create_control.
mov ecx, 0x4c3fc0
call fcn.0042f410
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [esp + 0x84]
inc dword [ebx + 0x10]
mov cl, byte [esp + 0x32]
mov byte [ebx + 0xbf], cl
test eax, eax
je 0x45e7c0
mov edx, dword [ebp]
push edx
push eax
call fcn.00472110
cmp byte [ebp + 4], 6
jne 0x45e7e4
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x45e7de
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.00465410
mov byte [ebx + 0x44], 1
jmp 0x45e7e8
mov byte [ebx + 0x44], 0
test dword [esp + 0x6c], 0x10000000
je 0x45e7f6
or byte [ebp + 5], 8
test dword [esp + 0x68], 0x8000000
je 0x45e804
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x45e82f
cmp dword [ebp + 0x10], 0xff000000
je 0x45e823
mov al, byte [ebp + 4]
cmp al, 5
je 0x45e82f
cmp al, 6
je 0x45e82f
cmp al, 3
je 0x45e82f
cmp byte [ebp + 4], 3
jne 0x45e83b
test byte [ebp + 5], 0x40
je 0x45e83b
mov eax, dword [ebp]
push eax
call fcn.00471e80
add esp, 4
cmp byte [esp + 0x1e], 0
jne 0x45e871
cmp byte [esp + 0x1f], 0
je 0x45e871
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c3f0c]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1f0], 4
jne 0x45e88b
mov eax, dword [ebp]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45e8aa
mov edx, dword [esp + 0x9c]
push edx
push ebx
mov eax, ecx
mov edi, ebp
call fcn.00461a30
cmp byte [ebp + 4], 0x13
jne 0x45e968
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45e968
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esp + 0x10], 2
je 0x45eae8
test byte [esp + 0x10], 0x80
jne 0x45eae8
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
and edx, 0xfffffffd
push edx
push 0xfffffffffffffff0
push eax
mov byte [esp + 0x2b], 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x1f], 0
je 0x45e934
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x27], 0
je 0x45e9d7
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
cmp byte [esp + 0xa5c], 9
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
jne 0x45e9d7
test dword [esp + 0x10], 0x100000
je 0x45e9d7
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x45e9c5
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd0], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test edi, edi
je 0x45ea38
cmp byte [esp + 0x33], 0
je 0x45ea1f
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 4]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebx + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [edi + 5], 0x80
je 0x45ea38
mov eax, dword [ebp]
mov ecx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ea4e
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov dl, 0x17
cmp byte [esp + 0xa5c], dl
je 0x45eb0a
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x8c]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
add eax, esi
add ecx, edi
mov dword [ebx + 0x80], esi
mov dword [ebx + 0x84], edi
cmp eax, dword [ebx + 0x90]
jle 0x45eaa3
mov dword [ebx + 0x90], eax
cmp ecx, dword [ebx + 0x94]
jle 0x45eab1
mov dword [ebx + 0x94], ecx
cmp byte [esp + 0x1f8], 0
jne 0x45eaf2
mov ebp, dword [ebx + 0x10]
cmp ebp, 1
je 0x45eaf2
cmp ebp, 2
jne 0x45ead0
mov ebp, dword [ebx + 0x18]
cmp byte [ebp + 4], dl
je 0x45eaf2
cmp eax, dword [ebx + 0xa0]
jle 0x45eade
mov dword [ebx + 0xa0], eax
cmp ecx, dword [ebx + 0xa4]
jle 0x45eb0a
jmp 0x45eb04
mov byte [esp + 0x1f], 0
jmp 0x45e906
mov dword [ebx + 0x98], esi
mov dword [ebx + 0x9c], edi
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa44
ret 0x10