Function at 0x45d970
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 0x45d9ad
push 0x49e828
push str.Too_many_controls.
mov ecx, 0x4c6048
call fcn.0042f670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45d9da
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048c6c7
add esp, 8
test eax, eax
je 0x45d98c
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 0x45da10
or byte [ebp + 5], 0x80
mov byte [esp + 0xa5c], 0x13
jmp 0x45da14
cmp al, 0x13
jne 0x45da51
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45da3f
push 0x49e828
push str.Too_many_tab_controls.
mov ecx, 0x4c6048
call fcn.0042f670
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 0x45da91
cmp al, 0x18
jne 0x45da82
cmp dword [ebx + 8], 0
je 0x45da7c
push 0x49e828
push str.Too_many_status_bars.
mov ecx, 0x4c6048
call fcn.0042f670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45da94
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 esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, SysReAllocString
jne 0x45db1d
cmp dword [ebx + 0x78], edi
jne 0x45dad9
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4baf80]
call fcn.00499b70
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45db0d
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bafd8]
call fcn.00499b70
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0xa5c]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x68]
mov byte [ebp + 4], al
call fcn.004638c0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x68], 0x10000000
mov byte [esp + 0x1f9], al
mov al, byte [esp + 0xa5c]
cmp al, 6
jne 0x45db61
or dword [esp + 0x68], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45db7f
or dword [esp + 0x68], 0x20000
jmp 0x45db7f
cmp byte [ebx + 0x44], 0
je 0x45db6f
or dword [esp + 0x68], 0x20000
cmp al, 2
je 0x45db9c
cmp al, 0x10
je 0x45db9c
cmp al, 0x11
je 0x45db9c
cmp al, 0x12
je 0x45db9c
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x1f], 1
je 0x45db90
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc4], edx
jmp 0x45dbac
mov byte [esp + 0x1f], 0
cmp al, 0x12
jne 0x45dbac
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x14
ja case.0x45dbc4.6
jmp dword [eax*4 + 0x4606a8]
or dword [esp + 0x68], 0x210000
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x210042
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x210080
or dword [esp + 0x70], 0x200
jmp case.0x45dbc4.6
or dword [esp + 0x78], 0x30
or dword [esp + 0x68], 0x10008
or dword [esp + 0x70], 0x200
mov dword [esp + 0x7c], 1
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x10027
or dword [esp + 0x70], 0x200
jmp case.0x45dbc4.6
or dword [esp + 0x68], esi
or dword [esp + 0x70], 0x200
jmp case.0x45dbc4.6
or dword [esp + 0x68], esi
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x36
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x1000c
jmp case.0x45dbc4.6
or dword [esp + 0x68], 1
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x10200
mov byte [esp + 0x1f9], 0
jmp case.0x45dbc4.6
or dword [esp + 0x68], 0x4000000
jmp case.0x45dbc4.6
test dword [ebx + 0x3c], 0x40000
je 0x45dc84
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.004612a0
test eax, eax
jne 0x45dcb3
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 0x45dcc9
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc8]
setne dl
mov byte [esp + 0x1f7], dl
cmp eax, 0xff000000
jne 0x45dcf8
cmp cl, 0xb
je 0x45dd19
mov dword [esp + 0xc8], 0xffffffff
jmp 0x45dd19
cmp eax, 0xffffffff
jne 0x45dd19
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45dd19
cmp cl, 0x12
je 0x45dd19
cmp cl, 0x18
je 0x45dd19
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0x90], 0x80000000
mov edi, dword [esp + 0x6c]
jne 0x45dd64
cmp dword [esp + 0x94], 0x80000000
jne 0x45dd64
fld dword [0x4bafd0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45dd64
mov eax, dword [esp + 0xa64]
mov ebx, 0x4b9a60
call fcn.00409140
test eax, eax
jne 0x45dd64
xor ecx, ecx
jmp 0x45dd6e
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.0x45dda1.10
movzx eax, byte [eax + 0x460724]
jmp dword [eax*4 + 0x4606fc]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0xa58]
cmp byte [esp + 0xa5c], 4
jne 0x45e05a
cmp dword [ebp + 0xc], 0
jne 0x45e05a
test byte [ebp + 5], 1
jne 0x45e05a
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45df38
cmp word [eax + 2], 0
jne 0x45df38
xor edx, edx
mov word [esp + 0x250], dx
jmp 0x45df50
test bl, 1
je 0x45de14
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45ddae
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45ddae
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45de38
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45dda1.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45dda1.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45de60
test esi, edi
jne 0x45de60
or eax, esi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45dda1.10
or ebx, 3
jmp 0x45ddae
mov esi, dword [esp + 0xa58]
test bl, 1
je 0x45de8e
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45ddb9
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45ddb9
or ebx, 1
jmp 0x45ddae
fld dword [0x4bafd0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45ded3
mov eax, dword [esp + 0xa64]
push 0xa
push eax
call fcn.0048c1e1
mov edi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x45dee0
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45dda1.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45ddae
mov esi, dword [esp + 0xa58]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45df11
test byte [ebp + 5], 0x20
je 0x45df1a
cmp dword [ebp + 0x10], 0xff000000
je 0x45df29
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45ddb9
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45ddb9
lea edx, [esp + 0x250]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45df41
mov eax, dword [esp + 0xa64]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x258]
call fcn.004722f0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea ecx, [esp + 0x26c]
push 0x4b9a7c
push ecx
xor eax, eax
call fcn.00472a50
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea edx, [esp + 0x264]
push 0x4a824c
push edx
xor eax, eax
call fcn.00472a50
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea eax, [esp + 0x264]
push 0x4a57c8
push eax
xor eax, eax
call fcn.00472a50
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea ecx, [esp + 0x264]
push 0x4a5b64
push ecx
xor eax, eax
call fcn.00472a50
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea edx, [esp + 0x264]
push 0x4a8ad4
push edx
xor eax, eax
call fcn.00472a50
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea eax, [esp + 0x264]
push 0x4b9a80
push eax
xor eax, eax
call fcn.00472a50
add esp, 0x1c
lea edi, [esp + 0x250]
mov eax, 0x4c6048
call fcn.004199b0
mov dword [ebp + 0xc], eax
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00467dc0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x45e081
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edx, [eax + edx*4 - 0x14]
mov dword [esp + 0x40], edx
jmp 0x45e08c
lea eax, [esp + 0x200]
mov dword [esp + 0x40], eax
mov eax, SysReAllocString
cmp dword [esp + 0x88], eax
jne 0x45e16d
cmp dword [esp + 0x8c], eax
jne 0x45e16d
test ecx, ecx
je 0x45e0f0
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00467f40
test eax, eax
jne 0x45e0f0
mov ebx, dword [esp + 0xa58]
mov esi, dword [esp + 0x3c]
push ebx
lea edi, [esp + 0x5c]
call fcn.00467f70
mov ecx, dword [ebx + 0x78]
add ecx, dword [esp + 0x58]
mov edx, dword [ebx + 0x7c]
add edx, dword [esp + 0x5c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
jmp 0x45e11a
mov ecx, dword [esi + 0x8c]
add ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x80]
add ecx, dword [esi + 0x7c]
mov ebx, dword [esp + 0xa58]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov al, byte [esp + 0xa5c]
cmp al, 1
je 0x45e129
cmp al, 0x16
jne 0x45e166
cmp dword [ebx + 0x10], 0
je 0x45e166
mov ecx, dword [esp + 0x40]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45e13e
cmp al, 0x16
jne 0x45e166
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45e166
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x45e166
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x8c], eax
mov esi, dword [esp + 0xa58]
mov cl, byte [esp + 0xa5c]
cmp cl, 0xe
je 0x45e187
cmp cl, 0xa
je 0x45e187
cmp cl, 0xb
je 0x45e187
xor bl, bl
jmp 0x45e189
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x16]
cmp dword [esp + 0x94], 0x80000000
jne 0x45e318
fcom dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45e318
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45e1cc.4
movzx edx, byte [eax + 0x460764]
jmp dword [edx*4 + 0x460738]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4bafcc]
fstp dword [esp + 0x98]
test al, 1
je 0x45e1f2
test al, 2
je 0x45e339
cmp byte [0x4c6e8b], 0
je 0x45e339
test eax, 0x400
jne 0x45e339
mov byte [esp + 0x16], 0
jmp 0x45e339
fstp st(0)
fld dword [0x4bafc8]
fstp dword [esp + 0x98]
jmp 0x45e339
fstp st(0)
fld dword [0x4bafc4]
fstp dword [esp + 0x98]
jmp 0x45e339
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
jne case.0x45e1cc.4
test byte [esp + 0x10], 4
je case.0x45e1cc.13
fstp st(0)
fld dword [0x4bafcc]
fstp dword [esp + 0x98]
jmp 0x45e339
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45e216
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
jmp 0x45e2ec
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45e2a9
fld dword [0x4bafc8]
fstp dword [esp + 0x98]
jmp 0x45e339
push eax
mov eax, dword [esp + 0xb8]
call fcn.00467610
mov dword [esp + 0x94], eax
jmp 0x45e339
test byte [esp + 0x10], 4
fstp st(0)
je 0x45e2d7
fld dword [0x4bafc8]
fstp dword [esp + 0x98]
jmp 0x45e339
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
mov ecx, dword [0x4c6008]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x94], eax
jmp 0x45e339
fstp st(0)
fld dword [0x4bafc0]
fstp dword [esp + 0x98]
jmp 0x45e339
fstp st(0)
cmp cl, 7
je 0x45e324
cmp cl, 8
jne 0x45e339
cmp byte [0x4c6e8b], 0
je 0x45e339
or dword [esp + 0x10], 0x400
jmp 0x45e339
fstp st(0)
fldz
xor edi, edi
fld dword [esp + 0x98]
mov dword [esp + 0x28], edi
fcom st(1)
mov dword [esp + 0x38], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45e4d1
mov al, byte [esp + 0xa5c]
cmp al, 3
je 0x45e36e
cmp al, 6
jbe 0x45e37d
cmp al, 8
ja 0x45e37d
fadd qword [0x4baf28]
fstp dword [esp + 0x98]
jmp 0x45e37f
fstp st(0)
cmp byte [esp + 0x16], 0
je 0x45e4b4
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c5fac]
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 + 0x38], eax
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x98]
fld st(0)
fld qword [0x4baf38]
fadd st(1), st(0)
fxch st(1)
call fcn.00499b70
fild dword [esp + 0x214]
mov ebx, eax
lea ecx, [ebx - 1]
imul ecx, dword [esp + 0x224]
fmulp st(2)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.00499b70
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45e428.5
movzx edx, byte [eax + 0x460790]
jmp dword [edx*4 + 0x46077c]
mov eax, dword [0x4c6008]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
test dword [esp + 0x10], 0x100000
je case.0x45e428.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp case.0x45e428.5
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c6008]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
jmp case.0x45e428.5
mov edx, dword [esi + 0x7c]
imul edx, ebx
add dword [esp + 0x94], edx
jmp case.0x45e428.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x94], ebx
jmp case.0x45e428.5
test bl, bl
jne case.0x45e428.5
mov eax, dword [0x4c6008]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x94], eax
jmp case.0x45e428.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x32], 0
cmp dword [esp + 0x94], eax
je 0x45e4f3
cmp dword [esp + 0x90], eax
jne case.0x45e97e.4
mov eax, dword [esp + 0x44]
xor ebx, ebx
dec eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45e516.2
movzx ecx, byte [eax + 0x4607b4]
jmp dword [ecx*4 + 0x4607a8]
mov edx, dword [esp + 0xa64]
cmp word [edx], bx
je case.0x45e516.2
test edi, edi
jne 0x45e563
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebx, dword [esp + 0x228]
add ebx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x34], ebx
je 0x45e598
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x2c40
test edi, edi
jne 0x45e5d6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c5fac]
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 + 0x38], eax
mov al, byte [esp + 0xa5c]
cmp al, 1
jne 0x45e5f7
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45e625
or dword [esp + 0x2c], 0x800
jmp 0x45e625
cmp al, 5
je 0x45e5ff
cmp al, 6
jne 0x45e625
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x228]
lea ebx, [ebx + eax + 2]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45e638
or dword [esp + 0x2c], 0x10
xor ecx, ecx
mov dword [esp + 0x200], ecx
mov dword [esp + 0x204], ecx
cmp eax, 0x80000000
jne 0x45e658
mov dword [esp + 0x208], ecx
jmp 0x45e661
sub eax, ebx
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x94]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
cmp byte [esp + 0xa5c], 0x16
mov dword [esp + 0x20c], edx
jne 0x45e7fa
test byte [esp + 0x10], 4
je 0x45e69a
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0xa64]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e6a4
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.0048c268
mov esi, dword [esp + 0xa68]
add esp, 4
cmp word [esi], 0
mov dword [esp + 0x18], eax
mov edi, eax
je 0x45e7bb
cmp word [esi], 0x3c
jne 0x45e7a5
mov ax, word [esi + 2]
call fcn.00409110
cmp ax, 0x41
jne 0x45e7a5
lea eax, [esi + 4]
call fcn.00409190
mov ebx, eax
cmp word [ebx], 0x3e
je 0x45e76f
movzx eax, word [ebx]
test eax, 0xffffff80
jne 0x45e732
push 0x107
push eax
call fcn.0048c65e
add esp, 8
test eax, eax
je 0x45e732
add ebx, 2
jmp 0x45e711
cmp word [ebx], 0x3d
jne 0x45e7a5
mov eax, 0x22
cmp ax, word [ebx + 2]
jne 0x45e7a5
push eax
add ebx, 4
push ebx
call fcn.0048c1e1
add esp, 8
test eax, eax
je 0x45e7a5
lea ebx, [eax + 2]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45e764
cmp eax, 9
jne 0x45e769
add ebx, 2
jmp 0x45e757
cmp word [ebx], 0x3e
jne 0x45e711
add ebx, 2
je 0x45e7a5
mov eax, 0x4b9a84
mov ecx, ebx
call fcn.00472660
test eax, eax
je 0x45e7a5
mov ecx, ebx
cmp ebx, eax
jae 0x45e7a0
lea ebx, [ebx]
mov dx, word [ecx]
mov word [edi], dx
add ecx, 2
add edi, 2
cmp ecx, eax
jb 0x45e790
lea esi, [eax + 6]
jmp 0x45e7ae
mov ax, word [esi]
mov word [edi], ax
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x45e6e4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [edi], cx
cmp word [eax], cx
jne 0x45e7ce
mov eax, 0x4b9a90
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.0048c59b
add esp, 4
jmp 0x45e824
mov eax, dword [esp + 0xa64]
cmp word [eax], cx
jne 0x45e80b
mov eax, 0x4b9a90
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 0x45e852
cmp ebx, eax
jle 0x45e8c1
cmp byte [esp + 0xa5c], 0xc
je 0x45e8c1
mov al, byte [esp + 0xa5c]
mov dword [esp + 0x94], ebx
cmp al, 0xc
jne 0x45e896
mov eax, dword [0x4c6008]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
test dword [esp + 0x10], 0x100000
je 0x45e8c1
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp 0x45e8c1
cmp al, 4
jne 0x45e8c1
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
lea edx, [ecx + ebx + 2]
mov dword [esp + 0x94], edx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45e8d3
cmp esi, eax
jle 0x45e91c
add esi, dword [esp + 0x34]
cmp byte [esp + 0xa5c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x90], esi
jne 0x45e91c
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4c5fac]
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.0x45e97e.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push eax
call ebx
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45e97e.4
movzx edx, byte [ecx + 0x4607ec]
jmp dword [edx*4 + 0x4607cc]
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
add eax, eax
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
test byte [esp + 0x10], 0x40
je 0x45e9b2
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c6008]
push 0x60
add eax, eax
push ecx
push eax
call ebx
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45e97e.7
mov eax, dword [esp + 0xb4]
push ecx
call fcn.00467610
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
test byte [esp + 0x10], 4
je case.0x45e97e.7
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
jmp 0x45e9c8
mov edx, dword [esi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x90], eax
jmp case.0x45e97e.4
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 0x45eb57
test byte [esp + 0x10], 4
jne 0x45eb57
fld1
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45eb57
test edi, edi
jne 0x45ea9e
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edx, dword [0x4c6008]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x94]
mov ebx, dword [esp + 0x10]
sub esi, eax
sub esi, dword [esp + 0x214]
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45eaec
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45eb4e
mov eax, dword [esp + 0x224]
fild dword [esp + 0x18]
add eax, dword [esp + 0x214]
mov dword [esp + 0x18], eax
fidiv dword [esp + 0x18]
fadd qword [0x4baf28]
fstp dword [esp + 0x98]
fld dword [0x4bafd0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45eb57
mov eax, dword [esp + 0x6c]
not eax
mov edx, eax
and edx, 4
or ebx, edx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45eb57
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45eb57
fld1
fstp dword [esp + 0x98]
mov ebx, dword [esp + 0xa58]
cmp byte [esp + 0x1f9], 0
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete byte [esp + 0x31]
push eax
mov byte [esp + 0x2b], 0
add esi, 3
mov byte [esp + 0x22], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45eb9c
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45eba1
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x33], 0
jae 0x45ebfb
cmp dword [esp + 0x3c], 0
je 0x45ebf3
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45ebf3
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
push 0
push 0
push 0x130b
push edx
call edi
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45ebf3
mov dl, byte [esp + 0x15]
mov byte [esp + 0x33], dl
jmp 0x45ebfb
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x17
ja case.0x45ec09.20
jmp dword [eax*4 + 0x460804]
mov eax, dword [0x4c3ee0]
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 + 0xa80]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45ec09.20
mov eax, dword [0x4c3ee0]
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 + 0xa80]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4b9a94
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45ec09.20
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45eccc
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45ece3
xor eax, eax
mov dword [esp + 0x94], eax
mov edx, dword [0x4c3ee0]
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.0x45ec09.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.00473910
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45ec09.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 0x45edab
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x45ec09.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x45ec09.20
mov edx, dword [0x4c3ee0]
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.0x45ec09.20
mov edx, dword [0x4c3ee0]
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.0x45ec09.20
test byte [esp + 0x10], 1
je case.0x45ec09.20
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x10]
jae 0x45eea3
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 0x4602df
mov edx, dword [0x4c3ee0]
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.0x45ec09.20
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je case.0x45ec09.20
push 0
push ecx
push 0xf1
jmp 0x4602de
cmp dword [esp + 0xcc], 0
je 0x45ef57
cmp byte [ebp + 4], 8
jne 0x45ef57
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
push ecx
mov ecx, dword [0x4c5fac]
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 0x45f07a
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test byte [esp + 0x10], 1
mov edi, eax
mov dword [esp + 0x34], edi
je 0x45f008
test byte [esp + 0x10], 2
mov esi, 4
je 0x45f00d
mov esi, 2
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [esp + 0x94]
add eax, esi
lea eax, [eax + edi*2]
cmp ecx, eax
jge 0x45f039
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45f081
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45f081
mov edx, dword [0x4c6008]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x34]
mov edi, eax
fmul dword [esp + 0x98]
call fcn.00499b70
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0x94], ecx
jmp 0x45f081
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
push 1
push ecx
mov ecx, dword [esp + 0x94]
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.0x45ec09.20
mov ecx, dword [0x4c3ee0]
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 0x49e828
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
je 0x45f11f
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 [0x4c5fac]
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 edi, eax
mov eax, dword [0x4c6008]
push 0x60
push eax
push 8
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [edi + eax]
mov edi, dword [esp + 0x10]
and edi, 0x100000
je 0x45f18d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x94]
cmp ecx, esi
jge 0x45f19c
mov ecx, esi
jmp 0x45f1ee
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45f1f5
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x34]
mov esi, eax
fmul dword [esp + 0x98]
call fcn.00499b70
lea ecx, [esi + eax]
mov dword [esp + 0x94], ecx
test edi, edi
je 0x45f1f5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x90]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x45ec09.20
mov eax, dword [esp + 0x7c]
cmp eax, 4
je 0x45f23a
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 0x45f24d
mov eax, 0xc8
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45ec09.20
push 0x3f8
call fcn.0048b4a4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45f2c2
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45ec09.20
push 0x3f8
mov dword [ebx + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00494120
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 + 0x48]
add esp, 0xc
test eax, eax
je 0x45f2fa
or byte [eax + 5], 0x80
cmp dword [esp + 0x7c], 4
jne 0x45f310
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45f326
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call edi
lea eax, [esp + 0x68]
mov edi, ebp
call fcn.00467780
cmp dword [esp + 0x94], 0x80000000
jne case.0x45ec09.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c5fac]
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 0x45f4d4
sub eax, 3
je 0x45f4a6
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45f3bf
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c5fac]
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 + 0x38], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x7c], 0
jne 0x45f46a
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 0x45f3fa
fadd dword [0x4baf60]
fld dword [esp + 0x98]
push 0xc
fsub qword [0x4baf28]
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.00499b70
mov ecx, dword [esp + 0x214]
lea eax, [eax + ecx + 0x10]
jmp 0x45f512
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45f485
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fsub qword [0x4baf28]
faddp st(1)
call fcn.00499b70
add eax, 0xb
jmp 0x45f512
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.00499b70
add eax, 7
jmp 0x45f512
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.0x45ec09.20
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45f556
mov eax, 0xc8
mov ecx, dword [0x4c3ee0]
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 0x49e828
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
cmp dword [esp + 0xd4], 0
mov dword [ebx + 0x4c], ebp
je 0x45f5c6
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.00467830
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45f5f0
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x94], 0x80000000
jne case.0x45ec09.20
movzx edx, byte [esp + 0x15]
mov ecx, dword [0x4c5fac]
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 0x45f666
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c5fac]
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.00499b70
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.0x45ec09.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45f6d8
cmp dword [esp + 0xcc], 0
jge 0x45f6c6
and eax, 0xffefff7f
jmp 0x45f6d4
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 0x45f6f4
test al, 4
je 0x45f6f4
mov edi, edx
call fcn.00472fa0
mov edi, eax
jmp 0x45f6f6
mov edi, edx
mov eax, edi
test edi, edi
jne 0x45f703
mov eax, dword [esp + 0xa64]
mov ecx, dword [0x4c3ee0]
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 0x45f7bb
test byte [esp + 0x10], 0x20
je 0x45f774
mov cx, word [esp + 0x1f4]
test cx, cx
je 0x45f774
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 0x45f788
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 0x45f7bb
mov edx, dword [ebp]
lea ecx, [esp + 0xdc]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45ec09.20
cmp edi, dword [esp + 0xa64]
je case.0x45ec09.20
push edi
call fcn.0048ca6f
add esp, 4
jmp case.0x45ec09.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
mov byte [esp + 0x16], 0
je 0x45f842
mov ecx, eax
push str.LongDate
push ecx
call fcn.0048b419
add esp, 8
test eax, eax
jne 0x45f814
mov edx, dword [esp + 0x10]
and edx, 0xfffffff6
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x45f842
mov eax, dword [esp + 0xa64]
push str.Time
push eax
call fcn.0048b419
add esp, 8
test eax, eax
jne 0x45f83d
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x45f842
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x9c], eax
jne 0x45f854
or dword [esp + 0x10], eax
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
cmp byte [esp + 0x16], 0
je 0x45f8c0
mov ecx, dword [esp + 0xa64]
push ecx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45f8df
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 0x45f906
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.0x45ec09.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
jmp 0x4602df
cmp dword [esp + 0x1e8], 0
jne 0x45f959
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45f959
lea eax, [esp + 0x1a8]
call fcn.00471d00
mov dword [esp + 0x1e8], eax
cmp eax, 3
jne 0x45f959
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45f96d
mov ecx, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x45f97d
mov eax, 0x64
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov esi, dword [esp + 0x10]
and esi, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45f9e0
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45f9ff
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 0x45fa75
test esi, esi
je 0x45fa60
cmp eax, 1
jne 0x45fa4b
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 0x45fa73
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 0x45fa8d
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 [0x4c5fac]
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 0x45fad2
cmp dword [esp + 0x94], eax
jne case.0x45ec09.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45ec09.20
cmp dword [esp + 0x90], 0
jge 0x45fb4c
test byte [esp + 0x10], 0x10
je 0x45fb03
mov eax, dword [esp + 0x50]
jmp 0x45fb20
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 0x45fb20
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45fb38
mov dword [esp + 0x90], eax
jmp 0x45fb4c
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 0x45fc4a
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 0x45fc48
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45fc4a
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45fbcb
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c5fac]
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 + 0x38], 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 0x45fbfa
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.00499b70
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 [0x4baf28]
fmulp st(2)
fsubrp st(1)
call fcn.00499b70
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45fc4a
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.0x45ec09.20
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45fcee
push 0
call fcn.004672d0
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.0x45ec09.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45ec09.20
test byte [esp + 0x10], 0x10
je 0x45fedf
cmp dword [ebx + 8], 0
jne 0x45fd3b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45fedf
test byte [eax + 5], 0x80
je 0x45fedf
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x16], 1
mov ecx, dword [0x4c3ee0]
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 0x49e828
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
cmp byte [esp + 0x16], 0
je 0x45fdb4
mov ecx, dword [esp + 0x40]
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 0x45ff33
test byte [esp + 0x10], 0x10
jne 0x45fdd0
cmp byte [esp + 0x16], 0
je 0x45ff33
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 + 0x40]
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 0x45fec0
test bl, 4
je 0x45fe8e
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 + 0x4c]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x45fee9
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
jmp 0x45fef8
mov byte [esp + 0x16], 0
jmp 0x45fd45
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x1f6], 0
jne 0x45ff50
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 4], 9
jne 0x45ff3d
mov byte [esp + 0x1f6], 1
test bl, 0x40
je 0x45ff26
mov dword [esp + 0xa4], 0x7fff
jmp 0x45ff50
mov dword [esp + 0xa0], 0x7fff
jmp 0x45ff50
cmp byte [esp + 0x1f6], 0
jne 0x45ff50
mov byte [esp + 0x1f6], 1
mov dword [esp + 0xa4], 0x64
lea ecx, [esp + 0x68]
mov eax, ebp
call fcn.004675c0
mov esi, dword [esp + 0xa64]
call fcn.0040cd10
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.0x45ec09.20
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
lea eax, [esp + 0x68]
mov esi, ebp
call fcn.004676a0
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45ec09.20
mov esi, ecx
call fcn.0040cd10
test byte [ebp + 5], 0x80
je 0x46001a
push eax
mov edi, ebp
call fcn.00467660
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45ec09.20
mov eax, dword [0x4c3ee0]
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 0x49e828
push str.msctls_progress32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
call fcn.00467880
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x4600ba
push 0
mov esi, eax
call fcn.0040cd10
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45ec09.20
mov edx, dword [0x4c3ee0]
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 0x49e828
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov al, byte [ebx + 0xb8]
mov byte [ebx + 0xb9], al
inc al
push 0x466ec0
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 [0x4c3f04], eax
jmp case.0x45ec09.20
cmp byte [0x4c7715], 0
jne 0x460192
push 0x4b9548
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x460192
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x460182
call eax
test eax, eax
setne byte [0x4c7715]
cmp byte [0x4c7715], 0
jne 0x460192
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4c3ee0]
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.0x45ec09.20
push eax
call fcn.00457750
add esp, 4
test eax, eax
jne 0x46020b
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45ec09.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x46021f
mov eax, ecx
call fcn.00412bd0
jmp case.0x45ec09.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp case.0x45ec09.20
mov ax, word [esp + 0x1fc]
test ax, ax
jne 0x460259
push 0x49e828
push str.A_window_class_is_required.
mov ecx, 0x4c6048
call fcn.0042f670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov ecx, dword [0x4c3ee0]
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 + 0xa84]
push ecx
mov ecx, dword [esp + 0x44]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45ec09.20
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0xa64]
mov ecx, dword [esp + 0x10]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45ec09.20
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 8], eax
cmp ecx, 0xffffffff
je case.0x45ec09.20
push ecx
push 0
push 0x2001
push eax
call edi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x460304
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4602f9
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x46032b
push 0x49e828
push str.Cant_create_control.
mov ecx, 0x4c6048
call fcn.0042f670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov al, byte [esp + 0x32]
inc dword [ebx + 0x10]
mov byte [ebx + 0xbf], al
mov eax, dword [esp + 0x84]
test eax, eax
je 0x46034d
mov ecx, dword [ebp]
push ecx
push eax
call fcn.00474690
cmp byte [ebp + 4], 6
jne 0x460371
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x46036b
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.00467510
mov byte [ebx + 0x44], 1
jmp 0x460375
mov byte [ebx + 0x44], 0
test dword [esp + 0x6c], 0x10000000
je 0x460383
or byte [ebp + 5], 8
test dword [esp + 0x68], 0x8000000
je 0x460391
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x4603bc
cmp dword [ebp + 0x10], 0xff000000
je 0x4603b0
mov al, byte [ebp + 4]
cmp al, 5
je 0x4603bc
cmp al, 6
je 0x4603bc
cmp al, 3
je 0x4603bc
cmp byte [ebp + 4], 3
jne 0x4603c8
test byte [ebp + 5], 0x40
je 0x4603c8
mov edx, dword [ebp]
push edx
call fcn.004743a0
add esp, 4
cmp byte [esp + 0x1e], 0
jne 0x4603ff
cmp byte [esp + 0x1f], 0
je 0x4603ff
mov ecx, dword [ebx + 0x50]
movzx eax, byte [esp + 0x15]
imul ecx, ecx, 0x94
mov edx, dword [0x4c5fac]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1f0], 4
jne 0x460419
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x460436
mov ecx, dword [esp + 0x9c]
push ecx
push ebx
mov edi, ebp
call fcn.00463920
cmp byte [ebp + 4], 0x13
jne 0x4604f4
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x4604f4
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esp + 0x10], 2
je 0x460674
test byte [esp + 0x10], 0x80
jne 0x460674
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
mov byte [esp + 0x2b], 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x1f], 0
je 0x4604c0
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push 1
push eax
push ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x27], 0
je 0x460563
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
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 0x460563
test dword [esp + 0x10], 0x100000
je 0x460563
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x460551
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd0], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x3c]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test edi, edi
je 0x4605c4
cmp byte [esp + 0x33], 0
je 0x4605ab
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebx + 4]
push 0
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [edi + 5], 0x80
je 0x4605c4
mov edx, dword [ebp]
mov eax, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push edx
push eax
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x4605da
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov dl, 0x18
cmp byte [esp + 0xa5c], dl
je 0x460696
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 0x46062f
mov dword [ebx + 0x90], eax
cmp ecx, dword [ebx + 0x94]
jle 0x46063d
mov dword [ebx + 0x94], ecx
cmp byte [esp + 0x1f8], 0
jne 0x46067e
mov ebp, dword [ebx + 0x10]
cmp ebp, 1
je 0x46067e
cmp ebp, 2
jne 0x46065c
mov ebp, dword [ebx + 0x18]
cmp byte [ebp + 4], dl
je 0x46067e
cmp eax, dword [ebx + 0xa0]
jle 0x46066a
mov dword [ebx + 0xa0], eax
cmp ecx, dword [ebx + 0xa4]
jle 0x460696
jmp 0x460690
mov byte [esp + 0x1f], 0
jmp 0x460492
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