Function at 0x45d070
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 0x45d0ad
push 0x49e828
push str.Too_many_controls.
mov ecx, 0x4c6048
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45d0da
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048ba37
add esp, 8
test eax, eax
je 0x45d08c
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 0x45d110
or byte [ebp + 5], 0x80
mov byte [esp + 0xa5c], 0x13
jmp 0x45d114
cmp al, 0x13
jne 0x45d151
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45d13f
push 0x49e828
push str.Too_many_tab_controls.
mov ecx, 0x4c6048
call fcn.0042f1f0
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 0x45d191
cmp al, 0x18
jne 0x45d182
cmp dword [ebx + 8], 0
je 0x45d17c
push 0x49e828
push str.Too_many_status_bars.
mov ecx, 0x4c6048
call fcn.0042f1f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45d194
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 0x45d21d
cmp dword [ebx + 0x78], edi
jne 0x45d1d9
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bae90]
call fcn.00498ee0
mov ecx, dword [0x4c6008]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45d20d
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4baee8]
call fcn.00498ee0
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.00462fc0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x68], 0x10000000
mov byte [esp + 0x1f9], al
mov al, byte [esp + 0xa5c]
cmp al, 6
jne 0x45d261
or dword [esp + 0x68], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45d27f
or dword [esp + 0x68], 0x20000
jmp 0x45d27f
cmp byte [ebx + 0x44], 0
je 0x45d26f
or dword [esp + 0x68], 0x20000
cmp al, 2
je 0x45d29c
cmp al, 0x10
je 0x45d29c
cmp al, 0x11
je 0x45d29c
cmp al, 0x12
je 0x45d29c
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x1f], 1
je 0x45d290
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc4], edx
jmp 0x45d2ac
mov byte [esp + 0x1f], 0
cmp al, 0x12
jne 0x45d2ac
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x14
ja case.0x45d2c4.6
jmp dword [eax*4 + 0x45fda8]
or dword [esp + 0x68], 0x210000
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x210042
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x210080
or dword [esp + 0x70], 0x200
jmp case.0x45d2c4.6
or dword [esp + 0x78], 0x30
or dword [esp + 0x68], 0x10008
or dword [esp + 0x70], 0x200
mov dword [esp + 0x7c], 1
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x10027
or dword [esp + 0x70], 0x200
jmp case.0x45d2c4.6
or dword [esp + 0x68], esi
or dword [esp + 0x70], 0x200
jmp case.0x45d2c4.6
or dword [esp + 0x68], esi
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x36
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x1000c
jmp case.0x45d2c4.6
or dword [esp + 0x68], 1
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x10200
mov byte [esp + 0x1f9], 0
jmp case.0x45d2c4.6
or dword [esp + 0x68], 0x4000000
jmp case.0x45d2c4.6
test dword [ebx + 0x3c], 0x40000
je 0x45d384
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.004609a0
test eax, eax
jne 0x45d3b3
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 0x45d3c9
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc8]
setne dl
mov byte [esp + 0x1f7], dl
cmp eax, 0xff000000
jne 0x45d3f8
cmp cl, 0xb
je 0x45d419
mov dword [esp + 0xc8], 0xffffffff
jmp 0x45d419
cmp eax, 0xffffffff
jne 0x45d419
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45d419
cmp cl, 0x12
je 0x45d419
cmp cl, 0x18
je 0x45d419
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0x90], 0x80000000
mov edi, dword [esp + 0x6c]
jne 0x45d464
cmp dword [esp + 0x94], 0x80000000
jne 0x45d464
fld dword [0x4baee0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45d464
mov eax, dword [esp + 0xa64]
mov ebx, 0x4b9970
call fcn.00409160
test eax, eax
jne 0x45d464
xor ecx, ecx
jmp 0x45d46e
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.0x45d4a1.10
movzx eax, byte [eax + 0x45fe24]
jmp dword [eax*4 + 0x45fdfc]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0xa58]
cmp byte [esp + 0xa5c], 4
jne 0x45d75a
cmp dword [ebp + 0xc], 0
jne 0x45d75a
test byte [ebp + 5], 1
jne 0x45d75a
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45d638
cmp word [eax + 2], 0
jne 0x45d638
xor edx, edx
mov word [esp + 0x250], dx
jmp 0x45d650
test bl, 1
je 0x45d514
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45d4ae
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45d4ae
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45d538
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45d4a1.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45d4a1.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45d560
test esi, edi
jne 0x45d560
or eax, esi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45d4a1.10
or ebx, 3
jmp 0x45d4ae
mov esi, dword [esp + 0xa58]
test bl, 1
je 0x45d58e
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45d4b9
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45d4b9
or ebx, 1
jmp 0x45d4ae
fld dword [0x4baee0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45d5d3
mov eax, dword [esp + 0xa64]
push 0xa
push eax
call fcn.0048b551
mov edi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x45d5e0
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45d4a1.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45d4ae
mov esi, dword [esp + 0xa58]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45d611
test byte [ebp + 5], 0x20
je 0x45d61a
cmp dword [ebp + 0x10], 0xff000000
je 0x45d629
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45d4b9
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45d4b9
lea edx, [esp + 0x250]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45d641
mov eax, dword [esp + 0xa64]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x258]
call fcn.004717e0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea ecx, [esp + 0x26c]
push 0x4b998c
push ecx
xor eax, eax
call fcn.00471f40
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea edx, [esp + 0x264]
push 0x4a816c
push edx
xor eax, eax
call fcn.00471f40
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea eax, [esp + 0x264]
push 0x4a56d0
push eax
xor eax, eax
call fcn.00471f40
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea ecx, [esp + 0x264]
push 0x4a5a6c
push ecx
xor eax, eax
call fcn.00471f40
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea edx, [esp + 0x264]
push 0x4a89e4
push edx
xor eax, eax
call fcn.00471f40
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x49e828
lea eax, [esp + 0x264]
push 0x4b9990
push eax
xor eax, eax
call fcn.00471f40
add esp, 0x1c
lea edi, [esp + 0x250]
mov eax, 0x4c6048
call fcn.004199e0
mov dword [ebp + 0xc], eax
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.004674a0
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x45d781
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edx, [eax + edx*4 - 0x14]
mov dword [esp + 0x40], edx
jmp 0x45d78c
lea eax, [esp + 0x200]
mov dword [esp + 0x40], eax
mov eax, SysReAllocString
cmp dword [esp + 0x88], eax
jne 0x45d86d
cmp dword [esp + 0x8c], eax
jne 0x45d86d
test ecx, ecx
je 0x45d7f0
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00467620
test eax, eax
jne 0x45d7f0
mov ebx, dword [esp + 0xa58]
mov esi, dword [esp + 0x3c]
push ebx
lea edi, [esp + 0x5c]
call fcn.00467650
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 0x45d81a
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 0x45d829
cmp al, 0x16
jne 0x45d866
cmp dword [ebx + 0x10], 0
je 0x45d866
mov ecx, dword [esp + 0x40]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45d83e
cmp al, 0x16
jne 0x45d866
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45d866
mov al, byte [ecx + 7]
cmp al, byte [ebp + 7]
jne 0x45d866
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 0x45d887
cmp cl, 0xa
je 0x45d887
cmp cl, 0xb
je 0x45d887
xor bl, bl
jmp 0x45d889
mov bl, 1
fld1
test bl, bl
sete byte [esp + 0x16]
cmp dword [esp + 0x94], 0x80000000
jne 0x45da18
fcom dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45da18
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45d8cc.4
movzx edx, byte [eax + 0x45fe64]
jmp dword [edx*4 + 0x45fe38]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4baedc]
fstp dword [esp + 0x98]
test al, 1
je 0x45d8f2
test al, 2
je 0x45da39
cmp byte [0x4c6e8b], 0
je 0x45da39
test eax, 0x400
jne 0x45da39
mov byte [esp + 0x16], 0
jmp 0x45da39
fstp st(0)
fld dword [0x4baed8]
fstp dword [esp + 0x98]
jmp 0x45da39
fstp st(0)
fld dword [0x4baed4]
fstp dword [esp + 0x98]
jmp 0x45da39
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
jne case.0x45d8cc.4
test byte [esp + 0x10], 4
je case.0x45d8cc.13
fstp st(0)
fld dword [0x4baedc]
fstp dword [esp + 0x98]
jmp 0x45da39
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45d916
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c5fac]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
jmp 0x45d9ec
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45d9a9
fld dword [0x4baed8]
fstp dword [esp + 0x98]
jmp 0x45da39
push eax
mov eax, dword [esp + 0xb8]
call fcn.00466cf0
mov dword [esp + 0x94], eax
jmp 0x45da39
test byte [esp + 0x10], 4
fstp st(0)
je 0x45d9d7
fld dword [0x4baed8]
fstp dword [esp + 0x98]
jmp 0x45da39
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 0x45da39
fstp st(0)
fld dword [0x4baed0]
fstp dword [esp + 0x98]
jmp 0x45da39
fstp st(0)
cmp cl, 7
je 0x45da24
cmp cl, 8
jne 0x45da39
cmp byte [0x4c6e8b], 0
je 0x45da39
or dword [esp + 0x10], 0x400
jmp 0x45da39
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 0x45dbd1
mov al, byte [esp + 0xa5c]
cmp al, 3
je 0x45da6e
cmp al, 6
jbe 0x45da7d
cmp al, 8
ja 0x45da7d
fadd qword [0x4bae38]
fstp dword [esp + 0x98]
jmp 0x45da7f
fstp st(0)
cmp byte [esp + 0x16], 0
je 0x45dbb4
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 [0x4bae48]
fadd st(1), st(0)
fxch st(1)
call fcn.00498ee0
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.00498ee0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45db28.5
movzx edx, byte [eax + 0x45fe90]
jmp dword [edx*4 + 0x45fe7c]
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.0x45db28.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp case.0x45db28.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.0x45db28.5
mov edx, dword [esi + 0x7c]
imul edx, ebx
add dword [esp + 0x94], edx
jmp case.0x45db28.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x94], ebx
jmp case.0x45db28.5
test bl, bl
jne case.0x45db28.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.0x45db28.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x32], 0
cmp dword [esp + 0x94], eax
je 0x45dbf3
cmp dword [esp + 0x90], eax
jne case.0x45e07e.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.0x45dc16.2
movzx ecx, byte [eax + 0x45feb4]
jmp dword [ecx*4 + 0x45fea8]
mov edx, dword [esp + 0xa64]
cmp word [edx], bx
je case.0x45dc16.2
test edi, edi
jne 0x45dc63
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 0x45dc98
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 0x45dcd6
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 0x45dcf7
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45dd25
or dword [esp + 0x2c], 0x800
jmp 0x45dd25
cmp al, 5
je 0x45dcff
cmp al, 6
jne 0x45dd25
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 0x45dd38
or dword [esp + 0x2c], 0x10
xor ecx, ecx
mov dword [esp + 0x200], ecx
mov dword [esp + 0x204], ecx
cmp eax, 0x80000000
jne 0x45dd58
mov dword [esp + 0x208], ecx
jmp 0x45dd61
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 0x45defa
test byte [esp + 0x10], 4
je 0x45dd9a
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 0x45dda4
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.0048b5d8
mov esi, dword [esp + 0xa68]
add esp, 4
cmp word [esi], 0
mov dword [esp + 0x18], eax
mov edi, eax
je 0x45debb
cmp word [esi], 0x3c
jne 0x45dea5
mov ax, word [esi + 2]
call fcn.00409130
cmp ax, 0x41
jne 0x45dea5
lea eax, [esi + 4]
call fcn.004091b0
mov ebx, eax
cmp word [ebx], 0x3e
je 0x45de6f
movzx eax, word [ebx]
test eax, 0xffffff80
jne 0x45de32
push 0x107
push eax
call fcn.0048b9ce
add esp, 8
test eax, eax
je 0x45de32
add ebx, 2
jmp 0x45de11
cmp word [ebx], 0x3d
jne 0x45dea5
mov eax, 0x22
cmp ax, word [ebx + 2]
jne 0x45dea5
push eax
add ebx, 4
push ebx
call fcn.0048b551
add esp, 8
test eax, eax
je 0x45dea5
lea ebx, [eax + 2]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45de64
cmp eax, 9
jne 0x45de69
add ebx, 2
jmp 0x45de57
cmp word [ebx], 0x3e
jne 0x45de11
add ebx, 2
je 0x45dea5
mov eax, 0x4b9994
mov ecx, ebx
call fcn.00471b50
test eax, eax
je 0x45dea5
mov ecx, ebx
cmp ebx, eax
jae 0x45dea0
lea ebx, [ebx]
mov dx, word [ecx]
mov word [edi], dx
add ecx, 2
add edi, 2
cmp ecx, eax
jb 0x45de90
lea esi, [eax + 6]
jmp 0x45deae
mov ax, word [esi]
mov word [edi], ax
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x45dde4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [edi], cx
cmp word [eax], cx
jne 0x45dece
mov eax, 0x4b99a0
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.0048b90b
add esp, 4
jmp 0x45df24
mov eax, dword [esp + 0xa64]
cmp word [eax], cx
jne 0x45df0b
mov eax, 0x4b99a0
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 0x45df52
cmp ebx, eax
jle 0x45dfc1
cmp byte [esp + 0xa5c], 0xc
je 0x45dfc1
mov al, byte [esp + 0xa5c]
mov dword [esp + 0x94], ebx
cmp al, 0xc
jne 0x45df96
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 0x45dfc1
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp 0x45dfc1
cmp al, 4
jne 0x45dfc1
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 0x45dfd3
cmp esi, eax
jle 0x45e01c
add esi, dword [esp + 0x34]
cmp byte [esp + 0xa5c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x90], esi
jne 0x45e01c
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.0x45e07e.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.0x45e07e.4
movzx edx, byte [ecx + 0x45feec]
jmp dword [edx*4 + 0x45fecc]
mov dword [esp + 0x90], eax
jmp case.0x45e07e.4
add eax, eax
mov dword [esp + 0x90], eax
jmp case.0x45e07e.4
test byte [esp + 0x10], 0x40
je 0x45e0b2
mov dword [esp + 0x90], eax
jmp case.0x45e07e.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.0x45e07e.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45e07e.7
mov eax, dword [esp + 0xb4]
push ecx
call fcn.00466cf0
mov dword [esp + 0x90], eax
jmp case.0x45e07e.4
test byte [esp + 0x10], 4
je case.0x45e07e.7
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c5fac]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
jmp 0x45e0c8
mov edx, dword [esi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x90], eax
jmp case.0x45e07e.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 0x45e257
test byte [esp + 0x10], 4
jne 0x45e257
fld1
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45e257
test edi, edi
jne 0x45e19e
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 0x45e1ec
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45e24e
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 [0x4bae38]
fstp dword [esp + 0x98]
fld dword [0x4baee0]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45e257
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 0x45e257
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45e257
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 0x45e29c
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45e2a1
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x33], 0
jae 0x45e2fb
cmp dword [esp + 0x3c], 0
je 0x45e2f3
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45e2f3
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 0x45e2f3
mov dl, byte [esp + 0x15]
mov byte [esp + 0x33], dl
jmp 0x45e2fb
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x17
ja case.0x45e309.20
jmp dword [eax*4 + 0x45ff04]
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.0x45e309.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 0x4b99a4
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45e309.20
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45e3cc
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45e3e3
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.0x45e309.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.00472e00
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45e309.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 0x45e4ab
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x45e309.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x45e309.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.0x45e309.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.0x45e309.20
test byte [esp + 0x10], 1
je case.0x45e309.20
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x10]
jae 0x45e5a3
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 0x45f9df
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.0x45e309.20
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je case.0x45e309.20
push 0
push ecx
push 0xf1
jmp 0x45f9de
cmp dword [esp + 0xcc], 0
je 0x45e657
cmp byte [ebp + 4], 8
jne 0x45e657
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.0x45e309.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 0x45e77a
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 0x45e708
test byte [esp + 0x10], 2
mov esi, 4
je 0x45e70d
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 0x45e739
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45e781
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45e781
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.00498ee0
lea ecx, [esi + eax]
add ecx, edi
mov dword [esp + 0x94], ecx
jmp 0x45e781
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.0x45e309.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.0x45e309.20
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
je 0x45e81f
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 0x45e88d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x94]
cmp ecx, esi
jge 0x45e89c
mov ecx, esi
jmp 0x45e8ee
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45e8f5
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.00498ee0
lea ecx, [esi + eax]
mov dword [esp + 0x94], ecx
test edi, edi
je 0x45e8f5
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.0x45e309.20
mov eax, dword [esp + 0x7c]
cmp eax, 4
je 0x45e93a
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 0x45e94d
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.0x45e309.20
push 0x3f8
call fcn.0048a814
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45e9c2
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45e309.20
push 0x3f8
mov dword [ebx + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00493490
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 0x45e9fa
or byte [eax + 5], 0x80
cmp dword [esp + 0x7c], 4
jne 0x45ea10
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45ea26
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call edi
lea eax, [esp + 0x68]
mov edi, ebp
call fcn.00466e60
cmp dword [esp + 0x94], 0x80000000
jne case.0x45e309.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 0x45ebd4
sub eax, 3
je 0x45eba6
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45eabf
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 0x45eb6a
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 0x45eafa
fadd dword [0x4bae70]
fld dword [esp + 0x98]
push 0xc
fsub qword [0x4bae38]
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.00498ee0
mov ecx, dword [esp + 0x214]
lea eax, [eax + ecx + 0x10]
jmp 0x45ec12
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45eb85
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fsub qword [0x4bae38]
faddp st(1)
call fcn.00498ee0
add eax, 0xb
jmp 0x45ec12
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.00498ee0
add eax, 7
jmp 0x45ec12
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.0x45e309.20
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45ec56
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.0x45e309.20
cmp dword [esp + 0xd4], 0
mov dword [ebx + 0x4c], ebp
je 0x45ecc6
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.00466f10
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45ecf0
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x94], 0x80000000
jne case.0x45e309.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 0x45ed66
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.00498ee0
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.0x45e309.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45edd8
cmp dword [esp + 0xcc], 0
jge 0x45edc6
and eax, 0xffefff7f
jmp 0x45edd4
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 0x45edf4
test al, 4
je 0x45edf4
mov edi, edx
call fcn.00472490
mov edi, eax
jmp 0x45edf6
mov edi, edx
mov eax, edi
test edi, edi
jne 0x45ee03
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 0x45eebb
test byte [esp + 0x10], 0x20
je 0x45ee74
mov cx, word [esp + 0x1f4]
test cx, cx
je 0x45ee74
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 0x45ee88
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 0x45eebb
mov edx, dword [ebp]
lea ecx, [esp + 0xdc]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45e309.20
cmp edi, dword [esp + 0xa64]
je case.0x45e309.20
push edi
call fcn.0048bddf
add esp, 4
jmp case.0x45e309.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
mov byte [esp + 0x16], 0
je 0x45ef42
mov ecx, eax
push str.LongDate
push ecx
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x45ef14
mov edx, dword [esp + 0x10]
and edx, 0xfffffff6
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x45ef42
mov eax, dword [esp + 0xa64]
push str.Time
push eax
call fcn.0048a789
add esp, 8
test eax, eax
jne 0x45ef3d
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x45ef42
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x9c], eax
jne 0x45ef54
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.0x45e309.20
cmp byte [esp + 0x16], 0
je 0x45efc0
mov ecx, dword [esp + 0xa64]
push ecx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45efdf
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 0x45f006
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.0x45e309.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
jmp 0x45f9df
cmp dword [esp + 0x1e8], 0
jne 0x45f059
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45f059
lea eax, [esp + 0x1a8]
call fcn.004711f0
mov dword [esp + 0x1e8], eax
cmp eax, 3
jne 0x45f059
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45f06d
mov ecx, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x45f07d
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.0x45e309.20
mov esi, dword [esp + 0x10]
and esi, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45f0e0
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45f0ff
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 0x45f175
test esi, esi
je 0x45f160
cmp eax, 1
jne 0x45f14b
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 0x45f173
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 0x45f18d
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 0x45f1d2
cmp dword [esp + 0x94], eax
jne case.0x45e309.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45e309.20
cmp dword [esp + 0x90], 0
jge 0x45f24c
test byte [esp + 0x10], 0x10
je 0x45f203
mov eax, dword [esp + 0x50]
jmp 0x45f220
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 0x45f220
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45f238
mov dword [esp + 0x90], eax
jmp 0x45f24c
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 0x45f34a
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 0x45f348
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45f34a
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45f2cb
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 0x45f2fa
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.00498ee0
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 [0x4bae38]
fmulp st(2)
fsubrp st(1)
call fcn.00498ee0
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45f34a
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.0x45e309.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.0x45e309.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45f3ee
push 0
call fcn.004669b0
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.0x45e309.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45e309.20
test byte [esp + 0x10], 0x10
je 0x45f5df
cmp dword [ebx + 8], 0
jne 0x45f43b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45f5df
test byte [eax + 5], 0x80
je 0x45f5df
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.0x45e309.20
cmp byte [esp + 0x16], 0
je 0x45f4b4
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 0x45f633
test byte [esp + 0x10], 0x10
jne 0x45f4d0
cmp byte [esp + 0x16], 0
je 0x45f633
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 0x45f5c0
test bl, 4
je 0x45f58e
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 0x45f5e9
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
jmp 0x45f5f8
mov byte [esp + 0x16], 0
jmp 0x45f445
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x1f6], 0
jne 0x45f650
mov ecx, dword [esp + 0x40]
cmp byte [ecx + 4], 9
jne 0x45f63d
mov byte [esp + 0x1f6], 1
test bl, 0x40
je 0x45f626
mov dword [esp + 0xa4], 0x7fff
jmp 0x45f650
mov dword [esp + 0xa0], 0x7fff
jmp 0x45f650
cmp byte [esp + 0x1f6], 0
jne 0x45f650
mov byte [esp + 0x1f6], 1
mov dword [esp + 0xa4], 0x64
lea ecx, [esp + 0x68]
mov eax, ebp
call fcn.00466ca0
mov esi, dword [esp + 0xa64]
call fcn.0040cc70
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.0x45e309.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.0x45e309.20
lea eax, [esp + 0x68]
mov esi, ebp
call fcn.00466d80
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45e309.20
mov esi, ecx
call fcn.0040cc70
test byte [ebp + 5], 0x80
je 0x45f71a
push eax
mov edi, ebp
call fcn.00466d40
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45e309.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.0x45e309.20
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
call fcn.00466f60
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45f7ba
push 0
mov esi, eax
call fcn.0040cc70
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45e309.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.0x45e309.20
mov al, byte [ebx + 0xb8]
mov byte [ebx + 0xb9], al
inc al
push 0x4665a0
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.0x45e309.20
cmp byte [0x4c7715], 0
jne 0x45f892
push 0x4b9458
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45f892
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f882
call eax
test eax, eax
setne byte [0x4c7715]
cmp byte [0x4c7715], 0
jne 0x45f892
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.0x45e309.20
push eax
call fcn.00456cb0
add esp, 4
test eax, eax
jne 0x45f90b
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45e309.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45f91f
mov eax, ecx
call fcn.00412b20
jmp case.0x45e309.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp case.0x45e309.20
mov ax, word [esp + 0x1fc]
test ax, ax
jne 0x45f959
push 0x49e828
push str.A_window_class_is_required.
mov ecx, 0x4c6048
call fcn.0042f1f0
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.0x45e309.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.0x45e309.20
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 8], eax
cmp ecx, 0xffffffff
je case.0x45e309.20
push ecx
push 0
push 0x2001
push eax
call edi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45fa04
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45f9f9
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 0x45fa2b
push 0x49e828
push str.Cant_create_control.
mov ecx, 0x4c6048
call fcn.0042f1f0
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 0x45fa4d
mov ecx, dword [ebp]
push ecx
push eax
call fcn.00473b20
cmp byte [ebp + 4], 6
jne 0x45fa71
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x45fa6b
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.00466bf0
mov byte [ebx + 0x44], 1
jmp 0x45fa75
mov byte [ebx + 0x44], 0
test dword [esp + 0x6c], 0x10000000
je 0x45fa83
or byte [ebp + 5], 8
test dword [esp + 0x68], 0x8000000
je 0x45fa91
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x45fabc
cmp dword [ebp + 0x10], 0xff000000
je 0x45fab0
mov al, byte [ebp + 4]
cmp al, 5
je 0x45fabc
cmp al, 6
je 0x45fabc
cmp al, 3
je 0x45fabc
cmp byte [ebp + 4], 3
jne 0x45fac8
test byte [ebp + 5], 0x40
je 0x45fac8
mov edx, dword [ebp]
push edx
call fcn.00473890
add esp, 4
cmp byte [esp + 0x1e], 0
jne 0x45faff
cmp byte [esp + 0x1f], 0
je 0x45faff
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 0x45fb19
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 0x45fb36
mov ecx, dword [esp + 0x9c]
push ecx
push ebx
mov edi, ebp
call fcn.00463020
cmp byte [ebp + 4], 0x13
jne 0x45fbf4
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45fbf4
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 0x45fd74
test byte [esp + 0x10], 0x80
jne 0x45fd74
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 0x45fbc0
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 0x45fc63
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 0x45fc63
test dword [esp + 0x10], 0x100000
je 0x45fc63
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x45fc51
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 0x45fcc4
cmp byte [esp + 0x33], 0
je 0x45fcab
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 0x45fcc4
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 0x45fcda
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 0x45fd96
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 0x45fd2f
mov dword [ebx + 0x90], eax
cmp ecx, dword [ebx + 0x94]
jle 0x45fd3d
mov dword [ebx + 0x94], ecx
cmp byte [esp + 0x1f8], 0
jne 0x45fd7e
mov ebp, dword [ebx + 0x10]
cmp ebp, 1
je 0x45fd7e
cmp ebp, 2
jne 0x45fd5c
mov ebp, dword [ebx + 0x18]
cmp byte [ebp + 4], dl
je 0x45fd7e
cmp eax, dword [ebx + 0xa0]
jle 0x45fd6a
mov dword [ebx + 0xa0], eax
cmp ecx, dword [ebx + 0xa4]
jle 0x45fd96
jmp 0x45fd90
mov byte [esp + 0x1f], 0
jmp 0x45fb92
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