Function at 0x45c350
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 0x45c38d
push 0x4a6b2c
push str.Too_many_controls.
mov ecx, 0x4c4040
call fcn.0042f750
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45c3ba
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048a0c7
add esp, 8
test eax, eax
je 0x45c36c
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 0x45c3f0
or byte [ebp + 5], 0x80
mov byte [esp + 0xa5c], 0x13
jmp 0x45c3f4
cmp al, 0x13
jne 0x45c431
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45c41f
push 0x4a6b2c
push str.Too_many_tab_controls.
mov ecx, 0x4c4040
call fcn.0042f750
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 0x45c471
cmp al, 0x17
jne 0x45c462
cmp dword [ebx + 8], 0
je 0x45c45c
push 0x4a6b2c
push str.Too_many_status_bars.
mov ecx, 0x4c4040
call fcn.0042f750
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45c474
mov dl, byte [ebx + 0xb9]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0xba]
mov byte [ebp + 7], cl
cmp dword [ebx + 0x10], 0
mov edi, SysReAllocString
jne 0x45c4db
mov esi, dword [0x4c3f8c]
cmp dword [ebx + 0x78], edi
jne 0x45c4a8
mov edx, dword [ebx + 0x50]
imul edx, edx, 0x94
fild dword [edx + esi + 0x84]
fmul qword [0x4b8d68]
call fcn.00497570
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45c4cb
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x94
fild dword [eax + esi + 0x84]
fmul qword [0x4b8db0]
call fcn.00497570
mov dword [ebx + 0x7c], eax
mov ecx, dword [ebx + 0x78]
mov al, byte [esp + 0xa5c]
mov dword [ebx + 0x80], ecx
mov edi, ebp
lea esi, [esp + 0x68]
mov byte [ebp + 4], al
call fcn.00461d90
mov al, byte [esp + 0xa5c]
or dword [esp + 0x68], 0x10000000
mov dl, byte [ebx + 0x45]
mov byte [esp + 0x1f9], dl
cmp al, 6
jne 0x45c51e
or dword [esp + 0x68], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45c53c
or dword [esp + 0x68], 0x20000
jmp 0x45c53c
cmp byte [ebx + 0x44], 0
je 0x45c52c
or dword [esp + 0x68], 0x20000
cmp al, 2
je 0x45c559
cmp al, 0x10
je 0x45c559
cmp al, 0x11
je 0x45c559
cmp al, 0x12
je 0x45c559
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x1f], 1
je 0x45c54d
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc4], edx
jmp 0x45c569
mov byte [esp + 0x1f], 0
cmp al, 0x12
jne 0x45c569
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x13
ja case.0x45c581.6
jmp dword [eax*4 + 0x45eedc]
or dword [esp + 0x68], 0x210000
jmp case.0x45c581.6
or dword [esp + 0x68], 0x210042
jmp case.0x45c581.6
or dword [esp + 0x68], 0x210080
or dword [esp + 0x70], 0x200
jmp case.0x45c581.6
or dword [esp + 0x78], 0x30
or dword [esp + 0x68], 0x10008
or dword [esp + 0x70], 0x200
mov dword [esp + 0x7c], 1
jmp case.0x45c581.6
or dword [esp + 0x68], 0x10027
or dword [esp + 0x70], 0x200
jmp case.0x45c581.6
or dword [esp + 0x68], esi
or dword [esp + 0x70], 0x200
jmp case.0x45c581.6
or dword [esp + 0x68], esi
jmp case.0x45c581.6
or dword [esp + 0x68], 0x36
jmp case.0x45c581.6
or dword [esp + 0x68], 0x1000c
jmp case.0x45c581.6
or dword [esp + 0x68], 1
jmp case.0x45c581.6
or dword [esp + 0x68], 0x10200
mov byte [esp + 0x1f9], 0
jmp case.0x45c581.6
or dword [esp + 0x68], 0x4000000
jmp case.0x45c581.6
test dword [ebx + 0x3c], 0x40000
je 0x45c641
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.0045fa30
test eax, eax
jne 0x45c670
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 0x45c686
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc8]
setne dl
mov byte [esp + 0x1f7], dl
cmp eax, 0xff000000
jne 0x45c6b5
cmp cl, 0xb
je 0x45c6d6
mov dword [esp + 0xc8], 0xffffffff
jmp 0x45c6d6
cmp eax, 0xffffffff
jne 0x45c6d6
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45c6d6
cmp cl, 0x12
je 0x45c6d6
cmp cl, 0x17
je 0x45c6d6
mov dword [esp + 0xc8], ebx
cmp dword [esp + 0x90], 0x80000000
mov edi, dword [esp + 0x6c]
jne 0x45c721
cmp dword [esp + 0x94], 0x80000000
jne 0x45c721
fld dword [0x4b8da8]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45c721
mov eax, dword [esp + 0xa64]
mov ebx, 0x4b78d8
call fcn.00409140
test eax, eax
jne 0x45c721
xor ecx, ecx
jmp 0x45c72b
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.0x45c75e.10
movzx eax, byte [eax + 0x45ef54]
jmp dword [eax*4 + 0x45ef2c]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0xa58]
cmp byte [esp + 0xa5c], 4
jne 0x45ca19
cmp dword [ebp + 0xc], 0
jne 0x45ca19
test byte [ebp + 5], 1
jne 0x45ca19
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45c8f5
cmp word [eax + 2], 0
jne 0x45c8f5
xor edx, edx
mov word [esp + 0x250], dx
jmp 0x45c90f
test bl, 1
je 0x45c7d1
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45c76b
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45c76b
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45c7f5
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45c75e.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45c75e.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45c81d
test esi, edi
jne 0x45c81d
or eax, esi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45c75e.10
or ebx, 3
jmp 0x45c76b
mov esi, dword [esp + 0xa58]
test bl, 1
je 0x45c84b
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x45c776
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x10], ebx
jmp 0x45c776
or ebx, 1
jmp 0x45c76b
fld dword [0x4b8da8]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jnp 0x45c890
mov eax, dword [esp + 0xa64]
push 0xa
push eax
call fcn.00489be1
mov edi, dword [esp + 0x74]
add esp, 8
test eax, eax
je 0x45c89d
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45c75e.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45c76b
mov esi, dword [esp + 0xa58]
or ebx, 0x4000000
cmp dword [esi + 0x60], 0
je 0x45c8ce
test byte [ebp + 5], 0x20
je 0x45c8d7
cmp dword [ebp + 0x10], 0xff000000
je 0x45c8e6
or ebx, 0x2000
mov dword [esp + 0x10], ebx
jmp 0x45c776
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
jmp 0x45c776
lea edx, [esp + 0x250]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x45c900
mov eax, dword [esp + 0xa64]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x258]
call fcn.004700e0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea ecx, [esp + 0x26c]
push 0x4b78f4
push ecx
xor eax, eax
call fcn.00470840
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea edx, [esp + 0x264]
push 0x4a6154
push edx
xor eax, eax
call fcn.00470840
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea eax, [esp + 0x264]
push 0x4a3938
push eax
xor eax, eax
call fcn.00470840
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea ecx, [esp + 0x264]
push 0x4a3cd4
push ecx
xor eax, eax
call fcn.00470840
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea edx, [esp + 0x264]
push 0x4a695c
push edx
xor eax, eax
call fcn.00470840
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a6b2c
lea eax, [esp + 0x264]
push 0x4b78f8
push eax
xor eax, eax
call fcn.00470840
add esp, 0x1c
lea edi, [esp + 0x250]
mov eax, 0x4c4040
call fcn.00419d50
mov dword [ebp + 0xc], eax
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.00466040
mov ecx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], ecx
test eax, eax
je 0x45ca40
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x18]
lea edx, [eax + edx*4 - 0x14]
mov dword [esp + 0x34], edx
jmp 0x45ca4b
lea eax, [esp + 0x200]
mov dword [esp + 0x34], eax
mov eax, SysReAllocString
cmp dword [esp + 0x88], eax
jne 0x45cb1b
cmp dword [esp + 0x8c], eax
jne 0x45cb1b
test ecx, ecx
je 0x45caa8
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.004661c0
test eax, eax
jne 0x45caa8
mov ebx, dword [esp + 0xa58]
mov esi, dword [esp + 0x40]
push ebx
lea edi, [esp + 0x5c]
call fcn.004661f0
mov ecx, dword [ebx + 0x78]
add ecx, dword [esp + 0x58]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x88], ecx
jmp 0x45cacb
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
add eax, dword [esi + 0x7c]
mov ebx, dword [esp + 0xa58]
mov dword [esp + 0x88], edx
mov cl, byte [esp + 0xa5c]
mov dword [esp + 0x8c], eax
cmp cl, 1
je 0x45cae3
cmp cl, 0x16
jne 0x45cb14
cmp dword [ebx + 0x10], 0
je 0x45cb14
mov edx, dword [esp + 0x34]
mov cl, byte [edx + 4]
cmp cl, 1
je 0x45cafa
cmp cl, 0x16
jne 0x45cb14
mov cl, byte [edx + 6]
cmp cl, byte [ebp + 6]
jne 0x45cb14
mov dl, byte [edx + 7]
cmp dl, byte [ebp + 7]
jne 0x45cb14
add eax, 8
mov dword [esp + 0x8c], eax
mov esi, dword [esp + 0xa58]
mov al, byte [esp + 0xa5c]
cmp al, 0xe
je 0x45cb32
cmp al, 0xa
je 0x45cb32
cmp al, 0xb
je 0x45cb32
xor dl, dl
jmp 0x45cb34
mov dl, 1
mov ecx, dword [esp + 0x94]
fld1
mov edi, dword [0x4c3f8c]
test dl, dl
sete bl
mov byte [esp + 0x16], bl
cmp ecx, 0x80000000
jne 0x45ccc1
fcom dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45ccba
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45cb7a.4
jmp dword [eax*4 + 0x45ef68]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4b8da4]
fstp dword [esp + 0x98]
test al, 1
je 0x45cba0
test al, 2
je 0x45cce0
cmp byte [0x4c4e63], 0
je 0x45cce0
test eax, 0x400
jne 0x45cce0
xor bl, bl
mov byte [esp + 0x16], bl
jmp 0x45cce0
fstp st(0)
fld dword [0x4b8da0]
fstp dword [esp + 0x98]
jmp 0x45cce0
fstp st(0)
fld dword [0x4b8d9c]
fstp dword [esp + 0x98]
jmp 0x45cce0
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
jne case.0x45cb7a.4
test byte [esp + 0x10], 4
je case.0x45cb7a.13
fstp st(0)
fld dword [0x4b8da4]
fstp dword [esp + 0x98]
jmp 0x45cce0
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45cbc5
mov ecx, dword [esi + 0x50]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edi + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
jmp 0x45cce0
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45cc5e
fld dword [0x4b8da0]
fstp dword [esp + 0x98]
jmp 0x45cce0
push eax
mov eax, dword [esp + 0xb8]
call fcn.004658b0
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45cce0
test byte [esp + 0x10], 4
fstp st(0)
je 0x45cc8e
fld dword [0x4b8da0]
fstp dword [esp + 0x98]
jmp 0x45cce0
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov ecx, dword [eax + edi + 0x84]
add ecx, ecx
mov dword [esp + 0x94], ecx
jmp 0x45cce0
fstp st(0)
fld dword [0x4b8d98]
fstp dword [esp + 0x98]
jmp 0x45cce0
mov al, byte [esp + 0xa5c]
fstp st(0)
cmp al, 7
je 0x45cccb
cmp al, 8
jne 0x45cce0
cmp byte [0x4c4e63], 0
je 0x45cce0
or dword [esp + 0x10], 0x400
jmp 0x45cce0
fstp st(0)
fldz
xor edi, edi
fld dword [esp + 0x98]
mov dword [esp + 0x28], edi
fcom st(1)
mov dword [esp + 0x3c], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ce58
mov al, byte [esp + 0xa5c]
cmp al, 3
je 0x45cd15
cmp al, 6
jbe 0x45cd24
cmp al, 8
ja 0x45cd24
fadd qword [0x4b8d10]
fstp dword [esp + 0x98]
jmp 0x45cd26
fstp st(0)
test bl, bl
je 0x45ce46
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f8c]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x214]
push edx
push edi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x98]
fld st(0)
fld qword [0x4b8d20]
fadd st(1), st(0)
fxch st(1)
call fcn.00497570
fild dword [esp + 0x214]
mov ebx, eax
lea eax, [ebx - 1]
imul eax, dword [esp + 0x224]
fmulp st(2)
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.00497570
mov ecx, eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
mov dword [esp + 0x94], ecx
cmp eax, 0x10
ja case.0x45cdcd.5
movzx edx, byte [eax + 0x45efc0]
jmp dword [edx*4 + 0x45efac]
add ecx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x94], ecx
je case.0x45cdcd.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x94], ecx
jmp case.0x45cdcd.5
mov eax, dword [esi + 0x50]
mov edx, dword [0x4c3f8c]
imul eax, eax, 0x94
mov eax, dword [eax + edx + 0x84]
lea ecx, [ecx + eax + 2]
mov dword [esp + 0x94], ecx
jmp case.0x45cdcd.5
mov edx, dword [esi + 0x7c]
imul edx, ebx
add ecx, edx
mov dword [esp + 0x94], ecx
jmp case.0x45cdcd.5
inc ebx
imul ebx, dword [esi + 0x7c]
add ecx, ebx
mov dword [esp + 0x94], ecx
jmp case.0x45cdcd.5
test dl, dl
jne case.0x45cdcd.5
mov ecx, 0x1e
mov dword [esp + 0x94], ecx
jmp case.0x45cdcd.5
fstp st(0)
mov byte [esp + 0x32], 0
cmp ecx, 0x80000000
je 0x45ce78
cmp dword [esp + 0x90], 0x80000000
jne case.0x45d2fc.4
mov eax, dword [esp + 0x44]
dec eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45ce9d.2
movzx eax, byte [eax + 0x45efe0]
jmp dword [eax*4 + 0x45efd4]
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45ce9d.2
test edi, edi
jne 0x45ceeb
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c3f8c]
mov edi, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [esp + 0x228]
add ecx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x38], ecx
je 0x45cf1e
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], 0x2c40
test edi, edi
jne 0x45cf6a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c3f8c]
mov edi, eax
mov eax, dword [esi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov bl, byte [esp + 0xa5c]
cmp bl, 1
jne 0x45cf8c
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45cfc7
or dword [esp + 0x2c], 0x800
jmp 0x45cfc7
cmp bl, 5
je 0x45cf96
cmp bl, 6
jne 0x45cfc7
lea eax, [esp + 0x214]
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x38]
add eax, dword [esp + 0x228]
lea edx, [ecx + eax + 2]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45cfda
or dword [esp + 0x2c], 0x10
xor esi, esi
mov dword [esp + 0x200], esi
mov dword [esp + 0x204], esi
cmp eax, 0x80000000
jne 0x45cffa
mov dword [esp + 0x208], esi
jmp 0x45d005
sub eax, dword [esp + 0x38]
mov dword [esp + 0x208], eax
mov eax, ecx
sub eax, 0x80000000
neg eax
sbb eax, eax
and eax, ecx
mov dword [esp + 0x20c], eax
cmp bl, 0x16
jne 0x45d19a
test byte [esp + 0x10], 4
je 0x45d031
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0xa64]
lea edx, [eax + 2]
jmp 0x45d040
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x45d040
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.00489c68
mov esi, dword [esp + 0xa68]
add esp, 4
cmp word [esi], 0
mov dword [esp + 0x18], eax
mov edi, eax
je 0x45d15b
cmp word [esi], 0x3c
jne 0x45d145
mov ax, word [esi + 2]
call fcn.00409110
cmp ax, 0x41
jne 0x45d145
lea eax, [esi + 4]
call fcn.00409190
mov ebx, eax
cmp word [ebx], 0x3e
je 0x45d10e
lea ecx, [ecx]
movzx eax, word [ebx]
test eax, 0xffffff80
jne 0x45d0d1
push 0x107
push eax
call fcn.0048a05e
add esp, 8
test eax, eax
je 0x45d0d1
add ebx, 2
jmp 0x45d0b0
cmp word [ebx], 0x3d
jne 0x45d145
mov eax, 0x22
cmp ax, word [ebx + 2]
jne 0x45d145
push eax
add ebx, 4
push ebx
call fcn.00489be1
add esp, 8
test eax, eax
je 0x45d145
lea ebx, [eax + 2]
movzx eax, word [ebx]
cmp eax, 0x20
je 0x45d103
cmp eax, 9
jne 0x45d108
add ebx, 2
jmp 0x45d0f6
cmp word [ebx], 0x3e
jne 0x45d0b0
add ebx, 2
je 0x45d145
mov eax, 0x4b78fc
mov ecx, ebx
call fcn.00470450
test eax, eax
je 0x45d145
mov ecx, ebx
cmp ebx, eax
jae 0x45d140
lea esp, [esp]
mov dx, word [ecx]
mov word [edi], dx
add ecx, 2
add edi, 2
cmp ecx, eax
jb 0x45d130
lea esi, [eax + 6]
jmp 0x45d14e
mov ax, word [esi]
mov word [edi], ax
add edi, 2
add esi, 2
cmp word [esi], 0
jne 0x45d080
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov word [edi], cx
cmp word [eax], cx
jne 0x45d16e
mov eax, 0x4b7908
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.00489f9b
add esp, 4
jmp 0x45d1c4
mov eax, dword [esp + 0xa64]
cmp word [eax], si
jne 0x45d1ab
mov eax, 0x4b7908
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 0x45d1ee
cmp ebx, eax
jle 0x45d251
cmp byte [esp + 0xa5c], 0xc
je 0x45d251
mov al, byte [esp + 0xa5c]
mov dword [esp + 0x94], ebx
cmp al, 0xc
jne 0x45d225
add ebx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x94], ebx
je 0x45d251
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x94], eax
jmp 0x45d251
cmp al, 4
jne 0x45d251
mov eax, dword [esp + 0xa58]
mov ecx, dword [eax + 0x50]
mov edx, dword [0x4c3f8c]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
lea ecx, [eax + ebx + 2]
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x90]
cmp eax, 0x80000000
je 0x45d263
cmp esi, eax
jle 0x45d2ac
add esi, dword [esp + 0x38]
cmp byte [esp + 0xa5c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x90], esi
jne 0x45d2ac
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0xa58]
mov edx, dword [ecx + 0x50]
mov ecx, dword [0x4c3f8c]
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.0x45d2fc.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f8c]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov edx, dword [esp + 0x44]
mov eax, ecx
shl eax, 4
add edx, 0xfffffffd
sub eax, ecx
cmp edx, 0x10
ja case.0x45d2fc.4
movzx edx, byte [edx + 0x45f018]
jmp dword [edx*4 + 0x45eff8]
mov dword [esp + 0x90], eax
jmp case.0x45d2fc.4
add eax, eax
mov dword [esp + 0x90], eax
jmp case.0x45d2fc.4
test byte [esp + 0x10], 0x40
je 0x45d327
mov dword [esp + 0x90], eax
jmp case.0x45d2fc.4
add ecx, ecx
mov dword [esp + 0x90], ecx
jmp case.0x45d2fc.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45d2fc.7
mov eax, dword [esp + 0xb4]
push ecx
call fcn.004658b0
mov dword [esp + 0x90], eax
jmp case.0x45d2fc.4
test byte [esp + 0x10], 4
je case.0x45d2fc.7
lea edx, [ecx + ecx]
jmp 0x45d36e
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45d36e
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 0x45d47f
mov ebx, dword [esp + 0x10]
test bl, 4
jne 0x45d47f
fld1
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 0x41
jne 0x45d47f
test edi, edi
jne 0x45d3da
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f8c]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x94]
sub esi, dword [esp + 0x214]
sub esi, 8
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45d414
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45d476
mov edx, dword [esp + 0x224]
fild dword [esp + 0x18]
add edx, dword [esp + 0x214]
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x18]
fadd qword [0x4b8d10]
fstp dword [esp + 0x98]
fld dword [0x4b8da8]
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45d47f
mov eax, dword [esp + 0x6c]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45d47f
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45d47f
fld1
fstp dword [esp + 0x98]
mov ebx, dword [esp + 0xa58]
cmp byte [esp + 0x1f9], 0
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 0x10]
sete byte [esp + 0x31]
push edx
mov byte [esp + 0x2b], 0
add esi, 3
mov byte [esp + 0x22], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45d4c4
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x15], 1
test eax, eax
je 0x45d4c9
mov byte [esp + 0x15], 0
cmp byte [ebp + 6], 0xff
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x33], 0
jae 0x45d523
cmp dword [esp + 0x40], 0
je 0x45d51b
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45d51b
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push 0
push 0
push 0x130b
push ecx
call edi
movzx edx, byte [ebp + 7]
cmp eax, edx
jne 0x45d51b
mov al, byte [esp + 0x15]
mov byte [esp + 0x33], al
jmp 0x45d523
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x16
ja case.0x45d531.20
jmp dword [eax*4 + 0x45f02c]
mov ecx, dword [0x4c1ec0]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa80]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.static
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45d531.20
mov ecx, dword [0x4c1ec0]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x94]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa80]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4b790c
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45d531.20
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45d5f6
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45d60d
xor eax, eax
mov dword [esp + 0x94], eax
mov edx, dword [0x4c1ec0]
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.0x45d531.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.00471700
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45d531.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 0x45d6d5
and byte [ebp + 5], 0x7f
mov byte [esp + 0x27], 1
jmp case.0x45d531.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x27], 1
jmp case.0x45d531.20
mov edx, dword [0x4c1ec0]
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.0x45d531.20
mov edx, dword [0x4c1ec0]
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.0x45d531.20
test byte [esp + 0x10], 1
je case.0x45d531.20
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebx + 0x10]
jae 0x45d7cd
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 0x45eb12
mov edx, dword [0x4c1ec0]
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.0x45d531.20
mov ecx, dword [esp + 0xd4]
test ecx, ecx
je case.0x45d531.20
push 0
push ecx
push 0xf1
jmp 0x45eb11
cmp dword [esp + 0xcc], 0
je 0x45d881
cmp byte [ebp + 4], 8
jne 0x45d881
and dword [esp + 0x10], 0xffffffbf
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.Combobox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
push ecx
mov ecx, dword [0x4c3f8c]
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 0x45d96f
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call edi
test byte [esp + 0x10], 1
mov dword [esp + 0x34], eax
je 0x45d928
test byte [esp + 0x10], 2
mov esi, 4
je 0x45d92d
mov esi, 2
lea eax, [esi + eax*2 + 8]
cmp dword [esp + 0x94], eax
jge 0x45d943
mov dword [esp + 0x94], eax
jmp 0x45d96f
fldz
fld dword [esp + 0x98]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45d96d
fimul dword [esp + 0x34]
call fcn.00497570
lea ecx, [eax + esi + 8]
mov dword [esp + 0x94], ecx
jmp 0x45d96f
fstp st(0)
mov edx, dword [esp + 0x94]
push 1
push edx
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x27], 1
jmp case.0x45d531.20
mov ecx, dword [0x4c1ec0]
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 0x4a6b2c
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov ecx, dword [esp + 0x1a4]
test ecx, ecx
je 0x45da14
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 [0x4c3f8c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x2e], 1
call esi
mov esi, dword [esp + 0x10]
and esi, 0x100000
mov dword [esp + 0x34], eax
lea edi, [eax + 8]
je 0x45da70
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov ecx, dword [esp + 0x94]
cmp ecx, edi
jge 0x45da8c
mov ecx, edi
push 1
mov dword [esp + 0x98], ecx
push ecx
jmp 0x45d979
fldz
fld dword [esp + 0x98]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45dad7
fimul dword [esp + 0x34]
call fcn.00497570
lea ecx, [eax + 8]
mov dword [esp + 0x94], ecx
test esi, esi
je 0x45dad9
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x94]
add ecx, eax
push 1
mov dword [esp + 0x98], ecx
push ecx
jmp 0x45d979
fstp st(0)
push 1
push ecx
jmp 0x45d979
mov eax, dword [esp + 0x7c]
cmp eax, 4
je 0x45daf7
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 0x45db0a
mov eax, 0xc8
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45d531.20
push 0x3f8
call fcn.00488ea4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45db7f
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d531.20
push 0x3f8
mov dword [ebx + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00491b20
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x206]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x45dbb7
or byte [eax + 5], 0x80
cmp dword [esp + 0x7c], 4
jne 0x45dbcd
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call edi
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45dbe3
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call edi
lea eax, [esp + 0x68]
mov edi, ebp
call fcn.00465a00
cmp dword [esp + 0x94], 0x80000000
jne case.0x45d531.20
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c3f8c]
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 0x45dd91
sub eax, 3
je 0x45dd63
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45dc7c
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c3f8c]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x7c], 0
jne 0x45dd27
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 0x45dcb7
fadd dword [0x4b8d48]
fld dword [esp + 0x98]
push 0xc
fsub qword [0x4b8d10]
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.00497570
mov ecx, dword [esp + 0x214]
lea eax, [eax + ecx + 0x10]
jmp 0x45ddcf
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x214]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45dd42
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x98]
fld st(0)
fmulp st(2)
fsub qword [0x4b8d10]
faddp st(1)
call fcn.00497570
add eax, 0xb
jmp 0x45ddcf
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.00497570
add eax, 7
jmp 0x45ddcf
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.0x45d531.20
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
jne 0x45de13
mov eax, 0xc8
mov ecx, dword [0x4c1ec0]
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 0x4a6b2c
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
cmp dword [esp + 0xd4], 0
mov dword [ebx + 0x4c], ebp
je 0x45de83
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.00465ab0
mov eax, dword [esp + 0x80]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45dead
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x94], 0x80000000
jne case.0x45d531.20
movzx edx, byte [esp + 0x15]
mov ecx, dword [0x4c3f8c]
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 0x45df23
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c3f8c]
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.00497570
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.0x45d531.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45df95
cmp dword [esp + 0xcc], 0
jge 0x45df83
and eax, 0xffefff7f
jmp 0x45df91
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 0x45dfb1
test al, 4
je 0x45dfb1
mov edi, edx
call fcn.00470d90
mov edi, eax
jmp 0x45dfb3
mov edi, edx
mov eax, edi
test edi, edi
jne 0x45dfc0
mov eax, dword [esp + 0xa64]
mov ecx, dword [0x4c1ec0]
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 0x45e078
test byte [esp + 0x10], 0x20
je 0x45e031
mov cx, word [esp + 0x1f4]
test cx, cx
je 0x45e031
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 0x45e045
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 0x45e078
mov edx, dword [ebp]
lea ecx, [esp + 0xdc]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je case.0x45d531.20
cmp edi, dword [esp + 0xa64]
je case.0x45d531.20
push edi
call fcn.0048a46f
add esp, 4
jmp case.0x45d531.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
mov byte [esp + 0x16], 0
je 0x45e0ff
mov ecx, eax
push str.LongDate
push ecx
call fcn.00488e19
add esp, 8
test eax, eax
jne 0x45e0d1
mov edx, dword [esp + 0x10]
and edx, 0xfffffff6
or edx, 4
mov dword [esp + 0x10], edx
jmp 0x45e0ff
mov eax, dword [esp + 0xa64]
push str.Time
push eax
call fcn.00488e19
add esp, 8
test eax, eax
jne 0x45e0fa
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x10], ecx
jmp 0x45e0ff
mov byte [esp + 0x16], 1
mov eax, 2
cmp dword [esp + 0x9c], eax
jne 0x45e111
or dword [esp + 0x10], eax
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
cmp byte [esp + 0x16], 0
je 0x45e17d
mov ecx, dword [esp + 0xa64]
push ecx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45e19c
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 0x45e1c3
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.0x45d531.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
jmp 0x45eb12
cmp dword [esp + 0x1e8], 0
jne 0x45e216
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45e216
lea eax, [esp + 0x1a8]
call fcn.0046fb10
mov dword [esp + 0x1e8], eax
cmp eax, 3
jne 0x45e216
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45e22a
mov ecx, 0x64
mov eax, dword [esp + 0x90]
test eax, eax
jns 0x45e23a
mov eax, 0x64
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov esi, dword [esp + 0x10]
and esi, 2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45e29d
push 0
push 0x16e
push 0x1004
push eax
call edi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45e2bc
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 0x45e332
test esi, esi
je 0x45e31d
cmp eax, 1
jne 0x45e308
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 0x45e330
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 0x45e34a
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 [0x4c3f8c]
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 0x45e38f
cmp dword [esp + 0x94], eax
jne case.0x45d531.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call edi
test eax, eax
je case.0x45d531.20
cmp dword [esp + 0x90], 0
jge 0x45e409
test byte [esp + 0x10], 0x10
je 0x45e3c0
mov eax, dword [esp + 0x50]
jmp 0x45e3dd
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 0x45e3dd
mov eax, ecx
mov ecx, dword [esp + 0x90]
cmp ecx, 0x80000000
jne 0x45e3f5
mov dword [esp + 0x90], eax
jmp 0x45e409
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 0x45e507
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 0x45e505
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45e507
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45e488
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebx + 0x50]
mov edx, dword [0x4c3f8c]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x214]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x214]
je 0x45e4b7
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.00497570
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 [0x4b8d10]
fmulp st(2)
fsubrp st(1)
call fcn.00497570
mov ecx, eax
mov dword [esp + 0x94], ecx
jmp 0x45e507
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.0x45d531.20
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45e5ab
push 0
call fcn.00465570
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.0x45d531.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45d531.20
test byte [esp + 0x10], 0x10
je 0x45e79c
cmp dword [ebx + 8], 0
jne 0x45e5f8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45e79c
test byte [eax + 5], 0x80
je 0x45e79c
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x16], 1
mov ecx, dword [0x4c1ec0]
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 0x4a6b2c
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
cmp byte [esp + 0x16], 0
je 0x45e671
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push 0
push edx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x10], 0
je 0x45e7f0
test byte [esp + 0x10], 0x10
jne 0x45e68d
cmp byte [esp + 0x16], 0
je 0x45e7f0
mov ecx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x48]
push eax
push ecx
call esi
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call edi
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x54]
sub eax, ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov dword [esp + 0x94], eax
mov eax, dword [edx]
push ecx
push eax
call esi
mov edx, dword [ebx + 4]
push 2
lea ecx, [esp + 0x5c]
push ecx
push edx
push 0
call edi
cmp byte [ebx + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x45e77d
test bl, 4
je 0x45e74b
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x88]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x98]
push eax
push ecx
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
add eax, dword [esp + 0x90]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x68], eax
sub eax, edx
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x45e7a6
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
sub edx, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], edx
jmp 0x45e7b5
mov byte [esp + 0x16], 0
jmp 0x45e602
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x90], eax
cmp byte [esp + 0x1f6], 0
jne 0x45e80d
mov ecx, dword [esp + 0x34]
cmp byte [ecx + 4], 9
jne 0x45e7fa
mov byte [esp + 0x1f6], 1
test bl, 0x40
je 0x45e7e3
mov dword [esp + 0xa4], 0x7fff
jmp 0x45e80d
mov dword [esp + 0xa0], 0x7fff
jmp 0x45e80d
cmp byte [esp + 0x1f6], 0
jne 0x45e80d
mov byte [esp + 0x1f6], 1
mov dword [esp + 0xa4], 0x64
lea ecx, [esp + 0x68]
mov eax, ebp
call fcn.00465860
mov esi, dword [esp + 0xa64]
call fcn.0040cbe0
mov dl, byte [ebp + 5]
mov ecx, dword [ebp]
push eax
and dl, 0x80
movzx eax, dl
neg eax
sbb eax, eax
and eax, 0xa
push 0
add eax, 0x467
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0xa58]
jmp case.0x45d531.20
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.msctls_trackbar32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
lea eax, [esp + 0x68]
mov esi, ebp
call fcn.00465920
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je case.0x45d531.20
mov esi, ecx
call fcn.0040cbe0
test byte [ebp + 5], 0x80
je 0x45e8d7
push eax
mov edi, ebp
call fcn.004658e0
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45d531.20
mov eax, dword [0x4c1ec0]
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 0x4a6b2c
push str.msctls_progress32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov edx, dword [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x70]
mov ecx, ebp
call fcn.00465b00
mov eax, dword [esp + 0xa64]
cmp word [eax], 0
je 0x45e977
push 0
mov esi, eax
call fcn.0040cbe0
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45d531.20
mov edx, dword [0x4c1ec0]
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 0x4a6b2c
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov al, byte [ebx + 0xb8]
mov byte [ebx + 0xb9], al
inc al
push 0x465300
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 [0x4c1ee4], eax
jmp case.0x45d531.20
cmp byte [0x4c56f5], 0
jne 0x45ea4f
push 0x4b73d0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45ea4f
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ea3f
call eax
test eax, eax
setne byte [0x4c56f5]
cmp byte [0x4c56f5], 0
jne 0x45ea4f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4c1ec0]
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.0x45d531.20
push eax
call fcn.00456180
add esp, 4
test eax, eax
jne 0x45eac1
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45d531.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45ead2
mov eax, ecx
call fcn.00412a40
jmp case.0x45d531.20
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp case.0x45d531.20
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0xa64]
mov edx, dword [esp + 0x10]
push esi
push eax
push ecx
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45d531.20
mov ecx, dword [esp + 0xc8]
mov dword [ebx + 8], eax
cmp ecx, 0xffffffff
je case.0x45d531.20
push ecx
push 0
push 0x2001
push eax
call edi
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45eb37
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45eb2c
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45eb5e
push 0x4a6b2c
push str.Cant_create_control.
mov ecx, 0x4c4040
call fcn.0042f750
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa44
ret 0x10
mov eax, dword [esp + 0x84]
inc dword [ebx + 0x10]
mov cl, byte [esp + 0x32]
mov byte [ebx + 0xbf], cl
test eax, eax
je 0x45eb80
mov edx, dword [ebp]
push edx
push eax
call fcn.00472420
cmp byte [ebp + 4], 6
jne 0x45eba4
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x45eb9e
push eax
mov eax, dword [ebx + 0x10]
dec eax
push ebp
mov ecx, ebx
call fcn.004657b0
mov byte [ebx + 0x44], 1
jmp 0x45eba8
mov byte [ebx + 0x44], 0
test dword [esp + 0x6c], 0x10000000
je 0x45ebb6
or byte [ebp + 5], 8
test dword [esp + 0x68], 0x8000000
je 0x45ebc4
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x45ebef
cmp dword [ebp + 0x10], 0xff000000
je 0x45ebe3
mov al, byte [ebp + 4]
cmp al, 5
je 0x45ebef
cmp al, 6
je 0x45ebef
cmp al, 3
je 0x45ebef
cmp byte [ebp + 4], 3
jne 0x45ebfb
test byte [ebp + 5], 0x40
je 0x45ebfb
mov eax, dword [ebp]
push eax
call fcn.00472190
add esp, 4
cmp byte [esp + 0x1e], 0
jne 0x45ec31
cmp byte [esp + 0x1f], 0
je 0x45ec31
mov edx, dword [ebx + 0x50]
movzx ecx, byte [esp + 0x15]
imul edx, edx, 0x94
mov eax, dword [0x4c3f8c]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1f0], 4
jne 0x45ec4b
mov eax, dword [ebp]
push 0
push 0
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xa64]
cmp word [ecx], 0
je 0x45ec6a
mov edx, dword [esp + 0x9c]
push edx
push ebx
mov eax, ecx
mov edi, ebp
call fcn.00461df0
cmp byte [ebp + 4], 0x13
jne 0x45ed28
fldz
fcomp dword [esp + 0x98]
fnstsw ax
test ah, 5
jp 0x45ed28
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
test byte [esp + 0x10], 2
je 0x45eea8
test byte [esp + 0x10], 0x80
jne 0x45eea8
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
and edx, 0xfffffffd
push edx
push 0xfffffffffffffff0
push eax
mov byte [esp + 0x2b], 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp]
lea ecx, [esp + 0x48]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esp + 0x1f], 0
je 0x45ecf4
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
push 1
push eax
push edx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x98]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x27], 0
je 0x45ed97
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
cmp byte [esp + 0xa5c], 9
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
jne 0x45ed97
test dword [esp + 0x10], 0x100000
je 0x45ed97
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x45ed85
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd0], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [esp + 0x40]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test edi, edi
je 0x45edf8
cmp byte [esp + 0x33], 0
je 0x45eddf
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 4]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [ebx + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [edi + 5], 0x80
je 0x45edf8
mov eax, dword [ebp]
mov ecx, dword [edi]
push 0x13
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
mov eax, dword [ebx + 8]
test eax, eax
je 0x45ee0e
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov dl, 0x17
cmp byte [esp + 0xa5c], dl
je 0x45eeca
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 0x45ee63
mov dword [ebx + 0x90], eax
cmp ecx, dword [ebx + 0x94]
jle 0x45ee71
mov dword [ebx + 0x94], ecx
cmp byte [esp + 0x1f8], 0
jne 0x45eeb2
mov ebp, dword [ebx + 0x10]
cmp ebp, 1
je 0x45eeb2
cmp ebp, 2
jne 0x45ee90
mov ebp, dword [ebx + 0x18]
cmp byte [ebp + 4], dl
je 0x45eeb2
cmp eax, dword [ebx + 0xa0]
jle 0x45ee9e
mov dword [ebx + 0xa0], eax
cmp ecx, dword [ebx + 0xa4]
jle 0x45eeca
jmp 0x45eec4
mov byte [esp + 0x1f], 0
jmp 0x45ecc6
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