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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x49d48b
push eax
mov dword fs:[0], esp
sub esp, 0xa70
push ebx
mov ebx, dword [esp + 0xa84]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45e31a
push 0x4ab02c
push str.Too_many_controls.
mov ecx, 0x4c8640
call fcn.0042e1d0
jmp 0x46110d
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45e347
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.0048e007
add esp, 8
test eax, eax
je 0x45e301
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 + 0xa94]
cmp al, 0x14
jne 0x45e37d
or byte [ebp + 5], 0x80
mov byte [esp + 0xa94], 0x13
jmp 0x45e381
cmp al, 0x13
jne 0x45e3b6
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45e3a4
push 0x4ab02c
push str.Too_many_tab_controls.
mov ecx, 0x4c8640
call fcn.0042e1d0
jmp 0x46110d
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0xa94]
jmp 0x45e3ee
cmp al, 0x18
jne 0x45e3df
cmp dword [ebx + 8], 0
je 0x45e3d9
push 0x4ab02c
push str.Too_many_status_bars.
mov ecx, 0x4c8640
call fcn.0042e1d0
jmp 0x46110d
mov byte [ebp + 6], 0xff
jmp 0x45e3f1
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 0x45e47a
cmp dword [ebx + 0x78], edi
jne 0x45e436
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c8574]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bd4c8]
call fcn.0049b670
mov ecx, dword [0x4c85d0]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45e46a
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4c8574]
imul edx, edx, 0x94
fild dword [edx + eax + 0x84]
fmul qword [0x4bd4e8]
call fcn.0049b670
mov ecx, dword [0x4c85d0]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0xa94]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x6c]
mov byte [ebp + 4], al
call fcn.00464220
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x6c], 0x10000000
mov byte [esp + 0x1fd], al
mov al, byte [esp + 0xa94]
cmp al, 6
jne 0x45e4be
or dword [esp + 0x6c], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45e4dc
or dword [esp + 0x6c], 0x20000
jmp 0x45e4dc
cmp byte [ebx + 0x44], 0
je 0x45e4cc
or dword [esp + 0x6c], 0x20000
cmp al, 2
je 0x45e4f9
cmp al, 0x10
je 0x45e4f9
cmp al, 0x11
je 0x45e4f9
cmp al, 0x12
je 0x45e4f9
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x30], 1
je 0x45e4ed
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc8], edx
jmp 0x45e509
mov byte [esp + 0x30], 0
cmp al, 0x12
jne 0x45e509
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x40], eax
add eax, 0xfffffffc
mov esi, 0x10000
cmp eax, 0x14
ja case.0x45e521.6
jmp dword [eax*4 + 0x461128]
or dword [esp + 0x6c], 0x210000
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x210042
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x210080
or dword [esp + 0x74], 0x200
jmp case.0x45e521.6
or dword [esp + 0x7c], 0x30
or dword [esp + 0x6c], 0x10008
or dword [esp + 0x74], 0x200
mov dword [esp + 0x80], 1
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x10027
or dword [esp + 0x74], 0x200
jmp case.0x45e521.6
or dword [esp + 0x6c], esi
or dword [esp + 0x74], 0x200
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x36
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x1000c
jmp case.0x45e521.6
or dword [esp + 0x6c], 1
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x10200
mov byte [esp + 0x1fd], 0
jmp case.0x45e521.6
or dword [esp + 0x6c], 0x4000000
jmp case.0x45e521.6
test dword [ebx + 0x3c], 0x40000
je 0x45e5de
or dword [esp + 0x6c], 0x100
or dword [esp + 0x6c], 0x800
jmp case.0x45e521.6
cmp byte [0x4c92ce], 0
je case.0x45e521.6
or dword [esp + 0x6c], esi
mov edx, dword [esp + 0xa98]
push 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.00461d30
test eax, eax
je 0x46110d
mov cl, byte [esp + 0xa94]
mov eax, dword [esp + 0xc8]
cmp cl, 0xa
je 0x45e62a
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xcc]
setne dl
mov byte [esp + 0x1fb], dl
cmp eax, 0xff000000
jne 0x45e659
cmp cl, 0xb
je 0x45e67a
mov dword [esp + 0xcc], 0xffffffff
jmp 0x45e67a
cmp eax, 0xffffffff
jne 0x45e67a
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45e67a
cmp cl, 0x12
je 0x45e67a
cmp cl, 0x18
je 0x45e67a
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x94], 0x80000000
mov edi, dword [esp + 0x70]
jne 0x45e6c9
cmp dword [esp + 0x98], 0x80000000
jne 0x45e6c9
fld dword [0x4bd4e0]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45e6c9
mov eax, dword [esp + 0xa9c]
mov ebx, 0x4bbec4
call fcn.004095d0
test eax, eax
jne 0x45e6c9
xor ecx, ecx
mov dword [esp + 0x68], ecx
jmp 0x45e6d8
mov eax, edi
not eax
and eax, 0x2000
mov dword [esp + 0x68], eax
mov ecx, eax
mov eax, dword [esp + 0x78]
not eax
and eax, dword [esp + 0x74]
mov ebx, edi
not ebx
and ebx, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp eax, 0x10
ja case.0x45e70b.10
movzx eax, byte [eax + 0x4611a4]
jmp dword [eax*4 + 0x46117c]
and ebx, 0xfffffff7
or ebx, 7
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0xa90]
cmp byte [esp + 0xa94], 4
jne 0x45ea21
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jne 0x45ea21
test byte [ebp + 5], 1
jne 0x45ea21
mov edi, dword [edi]
cmp word [edi], 0x31
jne 0x45e8a5
cmp word [edi + 2], 0
jne 0x45e8a5
xor edx, edx
mov word [esp + 0x27c], dx
jmp 0x45e8bf
test bl, 1
je 0x45e781
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
or ebx, ecx
jmp 0x45e718
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45e718
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45e7a5
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45e70b.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45e70b.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45e7cd
test esi, edi
jne 0x45e7cd
or eax, esi
or eax, ecx
mov dword [esp + 0x14], eax
jmp case.0x45e70b.10
or ebx, 3
jmp 0x45e718
mov edi, dword [esp + 0xa90]
test bl, 1
je 0x45e7fb
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
jmp 0x45e723
and ebx, 0xfffffff2
or ebx, 2
mov dword [esp + 0x14], ebx
jmp 0x45e723
or ebx, 1
jmp 0x45e718
fld dword [0x4bd4e0]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45e840
mov eax, dword [esp + 0xa9c]
push 0xa
push eax
call fcn.0048db21
mov edi, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x45e84d
mov ecx, edi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je case.0x45e70b.10
not edi
and edi, 0x201040
or ebx, edi
jmp 0x45e718
mov edi, dword [esp + 0xa90]
or ebx, 0x4000000
cmp dword [edi + 0x60], 0
je 0x45e87e
test byte [ebp + 5], 0x20
je 0x45e887
cmp dword [ebp + 0x10], 0xff000000
je 0x45e896
or ebx, 0x2000
mov dword [esp + 0x14], ebx
jmp 0x45e723
and ebx, 0xffffdfff
mov dword [esp + 0x14], ebx
jmp 0x45e723
lea edx, [esp + 0x27c]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x45e8b0
mov eax, dword [esp + 0xa9c]
push eax
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x284]
call fcn.00473910
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea ecx, [esp + 0x298]
push 0x4bbee0
push ecx
xor eax, eax
call fcn.004740c0
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea edx, [esp + 0x290]
push 0x4aa5e4
push edx
xor eax, eax
call fcn.004740c0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea eax, [esp + 0x290]
push 0x4a7bf0
push eax
xor eax, eax
call fcn.004740c0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea ecx, [esp + 0x290]
push 0x4a7f8c
push ecx
xor eax, eax
call fcn.004740c0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea edx, [esp + 0x290]
push 0x4aae60
push edx
xor eax, eax
call fcn.004740c0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ab02c
lea eax, [esp + 0x290]
push 0x4bbee4
push eax
xor eax, eax
call fcn.004740c0
add esp, 0x1c
cmp word [esp + 0x27c], 0
je 0x45ea13
mov edi, dword [0x4c8650]
test edi, edi
je 0x45e9ef
lea ebx, [ebx]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x27c]
push ecx
push edx
call fcn.0048cd49
add esp, 8
test eax, eax
je 0x45ea15
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45e9d0
push 0
push 0
lea eax, [esp + 0x284]
push eax
mov ecx, 0x4c8640
call fcn.0041fa50
test eax, eax
je 0x45ea13
cmp dword [eax + 0x14], 4
jg 0x45ea13
mov edi, eax
jmp 0x45ea15
xor edi, edi
call fcn.00409760
mov edi, dword [esp + 0xa90]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00468930
xor edx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x274], edx
mov dword [esp + 0xa88], edx
mov ecx, dword [edi + 0x10]
cmp ecx, edx
je 0x45ea52
mov esi, dword [edi + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4 - 0x14]
jmp 0x45ea59
lea ecx, [esp + 0x268]
mov dword [esp + 0x58], ecx
mov ecx, SysReAllocString
cmp dword [esp + 0x8c], ecx
jne 0x45eb3e
cmp dword [esp + 0x90], ecx
jne 0x45eb3e
cmp eax, edx
je 0x45eac1
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.00468ab0
test eax, eax
jne 0x45eac1
mov ebx, dword [esp + 0xa90]
mov esi, dword [esp + 0x54]
push ebx
lea edi, [esp + 0x60]
call fcn.00468ae0
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x60]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
jmp 0x45eaeb
mov edx, dword [edi + 0x8c]
add edx, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
add edx, dword [edi + 0x7c]
mov ebx, dword [esp + 0xa90]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov al, byte [esp + 0xa94]
cmp al, 1
je 0x45eafa
cmp al, 0x16
jne 0x45eb37
cmp dword [ebx + 0x10], 0
je 0x45eb37
mov ecx, dword [esp + 0x58]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45eb0f
cmp al, 0x16
jne 0x45eb37
mov al, byte [ecx + 6]
cmp al, byte [ebp + 6]
jne 0x45eb37
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45eb37
mov edx, dword [0x4c85d0]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
mov edi, dword [esp + 0xa90]
mov cl, byte [esp + 0xa94]
cmp cl, 0xe
je 0x45eb58
cmp cl, 0xa
je 0x45eb58
cmp cl, 0xb
je 0x45eb58
xor al, al
jmp 0x45eb5a
mov al, 1
fld1
test al, al
sete byte [esp + 0x22]
cmp dword [esp + 0x98], 0x80000000
mov byte [esp + 0x1b], al
jne 0x45ecd2
fcom dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45ecd2
mov eax, dword [esp + 0x40]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45eba1.4
movzx eax, byte [eax + 0x4611e4]
jmp dword [eax*4 + 0x4611b8]
mov eax, dword [esp + 0x14]
fstp st(0)
fld dword [0x4bd4dc]
fstp dword [esp + 0x9c]
test al, 1
je 0x45ebc7
test al, 2
je 0x45ecf3
cmp byte [0x4c92ca], 0
je 0x45ecf3
test eax, 0x400
jne 0x45ecf3
mov byte [esp + 0x22], 0
jmp 0x45ecf3
fstp st(0)
fld dword [0x4bd4d8]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
fstp st(0)
fld dword [0x4bd4d4]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
mov ecx, dword [esp + 0xa9c]
cmp word [ecx], 0
jne case.0x45eba1.4
test byte [esp + 0x14], 4
je case.0x45eba1.13
fstp st(0)
fld dword [0x4bd4dc]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
test byte [esp + 0x14], 0x40
fstp st(0)
je 0x45ebeb
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c8574]
imul edx, edx, 0x94
mov eax, dword [edx + eax + 0x84]
mov ecx, dword [0x4c85d0]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp 0x45ecf3
mov eax, dword [esp + 0x14]
fstp st(0)
test al, 2
je 0x45ec93
fld dword [0x4bd4d8]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
push eax
mov eax, dword [esp + 0xbc]
call fcn.004681b0
mov dword [esp + 0x98], eax
jmp 0x45ecf3
test byte [esp + 0x14], 4
fstp st(0)
je 0x45ec4a
fld dword [0x4bd4d8]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
fstp st(0)
fld dword [0x4bd4d0]
fstp dword [esp + 0x9c]
jmp 0x45ecf3
fstp st(0)
cmp cl, 7
je 0x45ecde
cmp cl, 8
jne 0x45ecf3
cmp byte [0x4c92ca], 0
je 0x45ecf3
or dword [esp + 0x14], 0x400
jmp 0x45ecf3
fstp st(0)
fldz
xor ebx, ebx
fld dword [esp + 0x9c]
mov dword [esp + 0x2c], ebx
fcom st(1)
mov dword [esp + 0x3c], ebx
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ee90
mov al, byte [esp + 0xa94]
cmp al, 3
je 0x45ed28
cmp al, 6
jbe 0x45ed37
cmp al, 8
ja 0x45ed37
fadd qword [0x4bd478]
fstp dword [esp + 0x9c]
jmp 0x45ed39
fstp st(0)
cmp byte [esp + 0x22], bl
je 0x45ee71
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4c8574]
mov ebx, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x90]
push edx
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x22c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x9c]
fld st(0)
fld qword [0x4bd488]
fadd st(1), st(0)
fxch st(1)
call fcn.0049b670
fild dword [esp + 0x22c]
mov esi, eax
lea ecx, [esi - 1]
imul ecx, dword [esp + 0x23c]
fmulp st(2)
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
faddp st(2)
faddp st(1)
call fcn.0049b670
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffffd
mov dword [esp + 0x98], eax
cmp ecx, 0x14
ja case.0x45ede1.5
movzx edx, byte [ecx + 0x461210]
jmp dword [edx*4 + 0x4611fc]
mov eax, dword [0x4c85d0]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x14], 0x100000
je case.0x45ede1.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp case.0x45ede1.5
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov eax, dword [ecx + edx + 0x84]
mov ecx, dword [0x4c85d0]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
jmp case.0x45ede1.5
mov edx, dword [edi + 0x7c]
imul edx, esi
add eax, edx
mov dword [esp + 0x98], eax
jmp case.0x45ede1.5
inc esi
imul esi, dword [edi + 0x7c]
add eax, esi
mov dword [esp + 0x98], eax
jmp case.0x45ede1.5
cmp byte [esp + 0x1b], bl
jne case.0x45ede1.5
mov eax, dword [0x4c85d0]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp case.0x45ede1.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x33], 0
cmp dword [esp + 0x98], eax
je 0x45eeb2
cmp dword [esp + 0x94], eax
jne case.0x45f458.4
mov eax, dword [esp + 0x40]
xor esi, esi
dec eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x28], 0x400
cmp eax, 0x15
ja case.0x45eed9.2
movzx ecx, byte [eax + 0x461234]
jmp dword [ecx*4 + 0x461228]
mov edx, dword [esp + 0xa9c]
cmp word [edx], si
je case.0x45eed9.2
cmp ebx, esi
jne 0x45ef26
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x22c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov esi, dword [esp + 0x240]
add esi, 4
test dword [esp + 0x14], 0x200000
mov dword [esp + 0x38], esi
je 0x45ef5b
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0xa9c]
cmp word [edx], 0
je 0x45ef9e
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ef71
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp word [edx + eax*2 - 2], 0xa
jne 0x45ef9e
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 0x22c]
add edx, eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], 0x2c40
test ebx, ebx
jne 0x45efdb
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [edi + 0x50]
imul edx, edx, 0x94
mov ebx, eax
mov eax, dword [0x4c8574]
mov ecx, dword [edx + eax + 0x90]
push ecx
push ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0xa94]
cmp al, 1
jne 0x45effc
or dword [esp + 0x28], 0x40
test byte [esp + 0x14], 0x80
je 0x45f02a
or dword [esp + 0x28], 0x800
jmp 0x45f02a
cmp al, 5
je 0x45f004
cmp al, 6
jne 0x45f02a
lea edx, [esp + 0x22c]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x240]
lea esi, [esi + eax + 2]
mov dword [esp + 0x38], esi
test dword [esp + 0x14], 0x800000
je 0x45f061
mov al, byte [esp + 0xa94]
cmp al, 1
je 0x45f043
cmp al, 0x16
jne 0x45f061
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
add esi, esi
push 6
mov dword [esp + 0x3c], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45f074
or dword [esp + 0x28], 0x10
xor ecx, ecx
mov dword [esp + 0x21c], ecx
mov dword [esp + 0x220], ecx
cmp eax, 0x80000000
jne 0x45f094
mov dword [esp + 0x224], ecx
jmp 0x45f09d
sub eax, esi
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x98]
mov ecx, eax
sub ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, eax
xor esi, esi
cmp byte [esp + 0xa94], 0x16
mov dword [esp + 0x228], ecx
mov dword [esp + 0x1c], esi
jne 0x45f276
test byte [esp + 0x14], 4
je 0x45f0dc
or dword [esp + 0x28], 0x800
mov eax, dword [esp + 0xa9c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f0e6
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.0048dba8
mov ecx, eax
mov eax, dword [esp + 0xaa0]
add esp, 4
mov dword [esp + 0x208], ecx
mov ebx, eax
mov dword [esp + 0x34], ecx
cmp word [eax], si
je 0x45f217
mov edi, edi
cmp word [ebx], 0x3c
jne 0x45f1f9
mov ax, word [ebx + 2]
call fcn.004095a0
cmp ax, 0x41
jne 0x45f1f9
lea eax, [ebx + 4]
call fcn.00409620
mov esi, eax
cmp word [esi], 0x3e
je 0x45f1be
lea ecx, [ecx]
movzx eax, word [esi]
test eax, 0xffffff80
jne 0x45f181
push 0x107
push eax
call fcn.0048df9e
add esp, 8
test eax, eax
je 0x45f181
add esi, 2
jmp 0x45f160
cmp word [esi], 0x3d
jne 0x45f1f9
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x45f1f9
push eax
add esi, 4
push esi
call fcn.0048db21
add esp, 8
test eax, eax
je 0x45f1f9
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45f1b3
cmp eax, 9
jne 0x45f1b8
add esi, 2
jmp 0x45f1a6
cmp word [esi], 0x3e
jne 0x45f160
add esi, 2
je 0x45f1f9
mov eax, 0x4bbee8
mov ecx, esi
call fcn.00473c80
test eax, eax
je 0x45f1f9
mov ecx, esi
cmp esi, eax
jae 0x45f1f4
mov edx, dword [esp + 0x34]
lea ecx, [ecx]
mov si, word [ecx]
mov word [edx], si
add ecx, 2
add edx, 2
cmp ecx, eax
jb 0x45f1e0
mov dword [esp + 0x34], edx
lea ebx, [eax + 6]
jmp 0x45f20a
mov eax, dword [esp + 0x34]
mov cx, word [ebx]
mov word [eax], cx
add eax, 2
mov dword [esp + 0x34], eax
add ebx, 2
cmp word [ebx], 0
jne 0x45f130
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x208]
xor edx, edx
mov word [ecx], dx
cmp ecx, eax
jbe 0x45f233
movzx ecx, word [ecx - 2]
mov dword [esp + 0x1c], ecx
cmp word [eax], dx
jne 0x45f23d
mov eax, 0x4bbef4
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x220]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x208]
push eax
call fcn.0048dedb
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
add esp, 4
jmp 0x45f2c7
mov eax, dword [esp + 0xa9c]
cmp word [eax], si
jne 0x45f287
mov eax, 0x4bbef4
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x220]
push edx
push 0xffffffffffffffff
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa9c]
cmp word [eax], si
je 0x45f2c7
mov esi, eax
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45f2b3
sub eax, edx
sar eax, 1
movzx esi, word [esi + eax*2 - 2]
mov eax, dword [esp + 0x224]
sub eax, dword [esp + 0x21c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
dec eax
je 0x45f2f3
sub eax, 3
je 0x45f2ec
sub eax, 8
je 0x45f2f3
jmp 0x45f31f
cmp dword [esp + 0x68], 0
jne 0x45f31f
test si, si
je 0x45f31f
movzx eax, si
lea ecx, [esp + 0x20c]
push ecx
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x45f31f
mov eax, dword [esp + 0x214]
test eax, eax
jns 0x45f31f
sub dword [esp + 0x34], eax
mov eax, dword [esp + 0x98]
mov bl, byte [esp + 0xa94]
cmp eax, 0x80000000
je 0x45f33f
cmp dword [esp + 0x28], eax
jle 0x45f3ac
cmp bl, 0xc
je 0x45f3ac
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x64]
mov dword [esp + 0x98], eax
cmp bl, 0xc
jne 0x45f386
mov ecx, dword [0x4c85d0]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x14], 0x100000
je 0x45f3ac
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp 0x45f3ac
cmp bl, 4
jne 0x45f3ac
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4c8574]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [eax + edx + 2]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45f3c0
cmp dword [esp + 0x34], eax
jle case.0x45eed9.2
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x38]
mov byte [esp + 0x33], 1
mov dword [esp + 0x94], edx
cmp bl, 4
jne case.0x45eed9.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
lea edx, [ecx + eax*2]
add dword [esp + 0x94], edx
cmp dword [esp + 0x94], 0x80000000
jne case.0x45f458.4
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4c8574]
imul eax, eax, 0x94
mov ecx, dword [eax + ecx + 0x84]
mov edx, dword [0x4c85d0]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
push 0x60
shl eax, 4
sub eax, ecx
push edx
push eax
call esi
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45f458.4
movzx ecx, byte [ecx + 0x46126c]
jmp dword [ecx*4 + 0x46124c]
mov dword [esp + 0x94], eax
jmp case.0x45f458.4
lea edx, [eax + eax]
jmp 0x45f4e4
test byte [esp + 0x14], 0x40
je 0x45f4a6
mov dword [esp + 0x94], eax
jmp case.0x45f458.4
mov ecx, dword [esp + 0x14]
test cl, 2
je case.0x45f458.7
mov eax, dword [esp + 0xb8]
push ecx
call fcn.004681b0
mov dword [esp + 0x94], eax
jmp case.0x45f458.4
test byte [esp + 0x14], 4
je case.0x45f458.7
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4c8574]
imul eax, eax, 0x94
mov eax, dword [eax + ecx + 0x84]
mov edx, dword [0x4c85d0]
push 0x60
add eax, eax
push edx
push eax
call esi
mov dword [esp + 0x94], eax
jmp case.0x45f458.4
mov ecx, dword [edi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45f4e4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x94], edx
cmp byte [esp + 0xa94], 0xc
jne 0x45f60c
test byte [esp + 0x14], 4
jne 0x45f60c
fld1
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45f60c
cmp dword [esp + 0x2c], 0
jne 0x45f54f
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x90]
push ecx
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x22c]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ecx, dword [0x4c85d0]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x14]
sub esi, eax
sub esi, dword [esp + 0x22c]
mov dword [esp + 0x1c], esi
test ebx, 0x100000
je 0x45f5a1
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x45f603
mov edx, dword [esp + 0x23c]
fild dword [esp + 0x1c]
add edx, dword [esp + 0x22c]
mov dword [esp + 0x1c], edx
fidiv dword [esp + 0x1c]
fadd qword [0x4bd478]
fstp dword [esp + 0x9c]
fld dword [0x4bd4e0]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45f60c
mov eax, dword [esp + 0x70]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je 0x45f60c
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x45f60c
fld1
fstp dword [esp + 0x9c]
cmp byte [esp + 0x1fd], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x31]
push edx
mov byte [esp + 0x1f], 0
add esi, 3
mov byte [esp + 0x25], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45f64a
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x1a], 1
test eax, eax
je 0x45f64f
mov byte [esp + 0x1a], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x32], 0
jae 0x45f6a0
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x45f698
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45f698
mov edx, dword [ebx]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45f698
mov dl, byte [esp + 0x1a]
mov byte [esp + 0x32], dl
jmp 0x45f6a0
and dword [esp + 0x14], 0xefffffff
mov eax, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongW]
dec eax
cmp eax, 0x17
ja case.0x45f6b4.20
jmp dword [eax*4 + 0x461284]
mov eax, dword [0x4c64b0]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xab8]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f6b4.20
mov eax, dword [0x4c64b0]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xab8]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push 0x4bbef8
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f6b4.20
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45f777
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45f78e
xor eax, eax
mov dword [esp + 0x98], eax
mov edx, dword [0x4c64b0]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa9c]
push edx
mov edx, dword [esp + 0xe0]
push eax
push ecx
mov esi, ebp
call fcn.00464500
test eax, eax
je case.0x45f6b4.20
mov byte [esp + 0x1b], 1
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push str.button
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x44]
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.0x45f6b4.20
test byte [esp + 0x14], 1
je case.0x45f6b4.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x45f900
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + edx*4]
push 1
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [edi + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + edx*4]
push 0xf4
push ecx
call esi
jmp 0x45f906
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 4]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push edx
call esi
movzx eax, word [esp + 0x14]
mov ecx, dword [ebp]
push 1
push eax
push 0xf4
push ecx
call esi
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x44]
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.0x45f6b4.20
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je case.0x45f6b4.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45f6b4.20
cmp dword [esp + 0xd0], 0
je 0x45f9c3
cmp byte [ebp + 4], 8
jne 0x45f9c3
and dword [esp + 0x14], 0xffffffbf
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x14]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push ebx
push 0x4ab02c
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov edx, dword [edi + 0x50]
movzx ecx, byte [esp + 0x1a]
imul edx, edx, 0x94
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4c8574]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call esi
cmp byte [esp + 0x22], 0
mov byte [esp + 0x21], 1
je 0x45fae3
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call esi
mov dword [esp + 0x38], eax
test bl, 1
je 0x45fa70
mov esi, 4
test bl, 2
je 0x45fa75
mov esi, 2
mov ecx, dword [0x4c85d0]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push ecx
push 8
call ebx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x98]
add eax, esi
lea eax, [eax + edx*2]
cmp ecx, eax
jge 0x45faa7
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45faea
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45faea
mov eax, dword [0x4c85d0]
push 0x60
push eax
push 8
call ebx
fild dword [esp + 0x38]
mov ebx, eax
fmul dword [esp + 0x9c]
call fcn.0049b670
lea ecx, [esi + eax]
add ecx, ebx
mov dword [esp + 0x98], ecx
jmp 0x45faea
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x1b], 1
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.Listbox
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x45fb8c
lea edx, [esp + 0xe0]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x94
mov edx, dword [0x4c8574]
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 + 0x31], 1
call esi
mov ebx, eax
mov eax, dword [0x4c85d0]
push 0x60
push eax
push 8
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [ebx + eax]
mov ebx, dword [esp + 0x14]
and ebx, 0x100000
je 0x45fbfa
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jge 0x45fc09
mov ecx, esi
jmp 0x45fc5b
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45fc62
mov ecx, dword [0x4c85d0]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x38]
mov esi, eax
fmul dword [esp + 0x9c]
call fcn.0049b670
lea ecx, [esi + eax]
mov dword [esp + 0x98], ecx
test ebx, ebx
je 0x45fc62
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x98]
add ecx, eax
mov dword [esp + 0x98], ecx
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x1b], 1
jmp case.0x45f6b4.20
mov eax, dword [esp + 0x80]
cmp eax, 4
je 0x45fcaa
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45fcbd
mov eax, 0xc8
mov edx, dword [0x4c64b0]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45f6b4.20
push 0x3f8
call fcn.0048cdd4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45fd32
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45f6b4.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00495c20
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x20a]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x45fd6a
or byte [eax + 5], 0x80
cmp dword [esp + 0x80], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x45fd89
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45fd9f
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x6c]
mov edi, ebp
call fcn.00468320
cmp dword [esp + 0x98], 0x80000000
jne 0x460263
mov esi, dword [esp + 0xa90]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x1a]
imul edx, edx, 0x94
mov eax, dword [0x4c8574]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x80]
dec eax
mov byte [esp + 0x21], 1
je 0x45ff54
sub eax, 3
je 0x45ff26
mov edi, dword [esp + 0x2c]
test edi, edi
jne 0x45fe3c
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x22c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x80], 0
jne 0x45feea
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x45fe7a
fadd dword [0x4bd4b0]
fld dword [esp + 0x9c]
push 0xc
fsub qword [0x4bd478]
fnstcw word [esp + 0x26]
movzx eax, word [esp + 0x26]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
shr eax, 0x10
mov dword [esp + 0x20], eax
fldcw word [esp + 0x26]
fild dword [esp + 0x20]
fstp qword [esp + 0x60]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x9c]
fadd qword [esp + 0x5c]
call fcn.0049b670
mov ecx, dword [esp + 0x22c]
lea eax, [eax + ecx + 0x10]
jmp 0x45ff92
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x22c]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jg 0x45ff05
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fsub qword [0x4bd478]
faddp st(1)
call fcn.0049b670
add eax, 0xb
jmp 0x45ff92
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x9c]
call fcn.0049b670
add eax, 7
jmp 0x45ff92
fld dword [esp + 0x9c]
mov ecx, dword [ebp]
fnstcw word [esp + 0x22]
push 0xffffffffffffffff
movzx eax, word [esp + 0x26]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x2e]
push ecx
call ebx
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push 1
push eax
push edx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x9c]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45f6b4.20
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45ffd8
mov eax, 0xc8
mov ecx, dword [0x4c64b0]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x98]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4ab02c
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x460263
cmp dword [esp + 0xd8], 0
mov edx, dword [esp + 0xa90]
mov dword [edx + 0x4c], ebp
je 0x46004a
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push ecx
call ebx
lea edi, [esp + 0x6c]
mov esi, ebp
call fcn.004683d0
mov eax, dword [esp + 0x84]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x460074
mov edx, dword [ebp]
push eax
push 0
push 0x1109
push edx
call edi
cmp dword [esp + 0x98], 0x80000000
jne 0x460263
mov esi, dword [esp + 0xa90]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x94
mov edx, dword [0x4c8574]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov edx, dword [ebp]
push 0
push 0
push 0x111c
push edx
mov byte [esp + 0x31], 1
call edi
mov dword [esp + 0x98], eax
cmp eax, 2
jge 0x4600f0
mov eax, dword [esi + 0x50]
mov ecx, dword [0x4c8574]
imul eax, eax, 0x94
mov edx, dword [eax + ecx + 0x84]
add edx, edx
mov dword [esp + 0x98], edx
fild dword [esp + 0x98]
fmul dword [esp + 0x9c]
call fcn.0049b670
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push 1
add eax, 4
push eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45f6b4.20
mov ecx, dword [esp + 0x14]
test cl, 4
jne 0x460166
cmp dword [esp + 0xd0], 0
jge 0x460154
and ecx, 0xffefff7f
jmp 0x460162
mov edx, dword [esp + 0x70]
not edx
and edx, 0x80
or ecx, edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xa9c]
cmp word [eax], 0
je 0x46017f
test cl, 4
je 0x46017f
mov edi, eax
call fcn.00474610
mov edi, eax
test edi, edi
jne 0x46018c
mov eax, dword [esp + 0xa9c]
mov ecx, dword [0x4c64b0]
mov edx, dword [esp + 0xa90]
mov ebx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x40]
push ecx
push ebx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x46024d
test bl, 0x20
je 0x460206
mov cx, word [esp + 0x1f8]
test cx, cx
je 0x460206
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call esi
jmp 0x46020c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x460220
xor eax, eax
mov dword [esp + 0xd0], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1a8]
test eax, eax
je 0x46024d
mov edx, dword [ebp]
lea ecx, [esp + 0xe0]
push ecx
push eax
push 0xcb
push edx
call esi
test edi, edi
je 0x460263
cmp edi, dword [esp + 0xa9c]
je 0x460263
push edi
call fcn.0048e3af
add esp, 4
mov edi, dword [esp + 0xa90]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x46028d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x460282
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x460da8
push 0x4ab02c
push str.Cant_create_control.
mov ecx, 0x4c8640
call fcn.0042e1d0
jmp 0x46110d
mov ebx, dword [esp + 0xa9c]
cmp word [ebx], 0
mov byte [esp + 0x22], 0
je 0x46030b
push str.LongDate
push ebx
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x4602e4
mov eax, dword [esp + 0x14]
and eax, 0xfffffff6
or eax, 4
mov dword [esp + 0x14], eax
jmp 0x46030b
push str.Time
push ebx
call fcn.0048cd49
add esp, 8
test eax, eax
jne 0x460306
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffb
or ecx, 9
mov dword [esp + 0x14], ecx
jmp 0x46030b
mov byte [esp + 0x22], 1
mov eax, 2
cmp dword [esp + 0xa0], eax
jne 0x46031d
or dword [esp + 0x14], eax
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.SysDateTimePick32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
cmp byte [esp + 0x22], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x460388
push ebx
push 0
push 0x1032
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x4603a7
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4603ce
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1ac]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45f6b4.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45f6b4.20
cmp dword [esp + 0x1ec], 0
jne 0x460423
mov ecx, dword [esp + 0xa9c]
cmp word [ecx], 0
je 0x460423
lea eax, [esp + 0x1ac]
call fcn.00473320
mov dword [esp + 0x1ec], eax
cmp eax, 3
jne 0x460423
or dword [esp + 0x14], 2
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x460437
mov ecx, 0x64
mov eax, dword [esp + 0x94]
test eax, eax
jns 0x460447
mov eax, 0x64
mov edx, dword [0x4c64b0]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov ebx, dword [esp + 0x14]
and ebx, 2
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4604aa
push 0
push 0x16e
push 0x1004
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x4604c9
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1012
push edx
call esi
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x46053f
test ebx, ebx
je 0x46052a
cmp eax, 1
jne 0x460515
mov eax, dword [esp + 0x1ac]
mov ecx, dword [esp + 0x1b0]
mov edx, dword [esp + 0x1b4]
mov dword [esp + 0x1bc], eax
mov eax, dword [esp + 0x1b8]
mov dword [esp + 0x1c0], ecx
mov dword [esp + 0x1c4], edx
mov dword [esp + 0x1c8], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0x1006
push edx
jmp 0x46053d
mov ecx, dword [ebp]
lea eax, [esp + 0x1ac]
push eax
push 0
push 0x1002
push ecx
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x460557
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call esi
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x94
mov edx, dword [0x4c8574]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call esi
mov eax, SysReAllocString
mov byte [esp + 0x21], 1
cmp dword [esp + 0x94], eax
je 0x46059c
cmp dword [esp + 0x98], eax
jne case.0x45f6b4.20
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1009
push eax
call esi
test eax, eax
je case.0x45f6b4.20
cmp dword [esp + 0x94], 0
jge 0x460616
test byte [esp + 0x14], 0x10
je 0x4605cd
mov eax, dword [esp + 0x4c]
jmp 0x4605ea
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x4605ea
mov eax, ecx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x460602
mov dword [esp + 0x94], eax
jmp 0x460616
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x460714
fldz
mov ecx, dword [esp + 0x50]
fld dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x460712
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x460714
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x460695
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4c8574]
imul ecx, ecx, 0x94
mov esi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push esi
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x22c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x14], 0x10
mov esi, dword [esp + 0x22c]
je 0x4606c4
mov edx, dword [esp + 0x98]
lea eax, [edx + esi + 4]
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0049b670
add esi, 0xfffffffe
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
fxch st(2)
fsub qword [0x4bd478]
fmulp st(2)
fsubrp st(1)
call fcn.0049b670
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x460714
fstp st(0)
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov eax, dword [esp + 0xa9c]
cmp word [eax], 0
je 0x4607b8
push 0
call fcn.00467e70
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xd0]
test eax, eax
jle case.0x45f6b4.20
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45f6b4.20
test byte [esp + 0x14], 0x10
je 0x4609b2
cmp dword [edi + 8], 0
jne 0x460805
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4609b2
test byte [eax + 5], 0x80
je 0x4609b2
and dword [esp + 0x14], 0xffffffef
mov bl, 1
mov ecx, dword [0x4c64b0]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x98]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4ab02c
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov esi, dword [esp + 0x58]
test bl, bl
je 0x460878
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x10], 0
je 0x460a02
test byte [esp + 0x14], 0x10
jne 0x460891
test bl, bl
je 0x460a02
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x44]
push edx
push eax
call ebx
mov edx, dword [edi + 4]
push 2
lea ecx, [esp + 0x48]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub edx, eax
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], ecx
sub eax, ecx
lea ecx, [esp + 0x20c]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
mov ecx, dword [edi + 4]
push 2
lea eax, [esp + 0x210]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
mov bl, byte [esp + 0x14]
je 0x460990
test bl, 4
je 0x460953
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x8c]
add dword [esp + 0x4c], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x9c]
push eax
push ecx
mov dword [esp + 0xa0], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x210]
mov eax, dword [esp + 0x214]
mov edx, dword [esp + 0x218]
add eax, dword [esp + 0x94]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x214]
mov dword [esp + 0x21c], eax
sub eax, edx
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
test bl, 4
je 0x4609b9
mov eax, dword [esp + 0x20c]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
jmp 0x4609cb
xor bl, bl
jmp 0x46080c
mov edx, dword [esp + 0x214]
sub edx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x1fa], 0
jne 0x460a1f
cmp byte [esi + 4], 9
jne 0x460a0c
mov byte [esp + 0x1fa], 1
test bl, 0x40
je 0x4609f5
mov dword [esp + 0xa8], 0x7fff
jmp 0x460a1f
mov dword [esp + 0xa4], 0x7fff
jmp 0x460a1f
cmp byte [esp + 0x1fa], 0
jne 0x460a1f
mov byte [esp + 0x1fa], 1
mov dword [esp + 0xa8], 0x64
lea ecx, [esp + 0x6c]
mov eax, ebp
call fcn.00468160
mov esi, dword [esp + 0xa9c]
call fcn.0040d260
mov edx, dword [ebp]
push eax
mov al, byte [ebp + 5]
and al, 0x80
movzx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0xa
push 0
add ecx, 0x467
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45f6b4.20
mov eax, dword [0x4c64b0]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4ab02c
push str.msctls_trackbar32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
lea eax, [esp + 0x6c]
mov esi, ebp
call fcn.00468240
mov esi, dword [esp + 0xa9c]
cmp word [esi], 0
je case.0x45f6b4.20
call fcn.0040d260
test byte [ebp + 5], 0x80
je 0x460adf
push eax
mov edi, ebp
call fcn.00468200
mov edx, dword [ebp]
push eax
push 1
push 0x405
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x460263
mov eax, dword [0x4c64b0]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x98]
push 0
push eax
mov eax, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push esi
push 0x4ab02c
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
push esi
push edi
lea eax, [esp + 0x74]
mov ecx, ebp
call fcn.00468420
mov esi, dword [esp + 0xa9c]
cmp word [esi], 0
je 0x460b79
push 0
call fcn.0040d260
mov ecx, dword [ebp]
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x31], 0
jmp case.0x45f6b4.20
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4ab02c
push str.SysTabControl32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x4679d0
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov ecx, dword [ebp]
push 0xfffffffffffffffc
push ecx
call ebx
mov dword [0x4c64d4], eax
jmp case.0x45f6b4.20
cmp byte [0x4c9b54], 0
jne 0x460c4d
push 0x4bb8f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x460c4d
push str.AtlAxWinInit
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x460c3d
call eax
test eax, eax
setne byte [0x4c9b54]
cmp byte [0x4c9b54], 0
jne 0x460c4d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, dword [0x4c64b0]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x98]
push 0
push edx
mov edx, dword [esp + 0x9c]
push esi
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0xab8]
push ecx
mov ecx, dword [esp + 0x44]
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.0x45f6b4.20
push eax
call fcn.004577e0
add esp, 4
test eax, eax
jne 0x460cc6
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45f6b4.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x460cd9
mov edi, eax
call fcn.004769b0
jmp 0x460263
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45f6b4.20
mov ax, word [esp + 0x200]
test ax, ax
jne 0x460d0c
push 0x4ab02c
push str.A_window_class_is_required.
mov ecx, 0x4c8640
call fcn.0042e1d0
jmp 0x46110d
mov ecx, dword [0x4c64b0]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0xabc]
push ecx
mov ecx, dword [esp + 0x48]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45f6b4.20
mov edx, dword [edi + 4]
mov eax, dword [esp + 0xa9c]
mov ecx, dword [esp + 0x14]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x45f6b4.20
mov ecx, dword [esp + 0xcc]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x45f6b4.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45f6b4.20
mov al, byte [esp + 0x33]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x460dca
mov ecx, dword [ebp]
push ecx
push eax
call fcn.00475de0
cmp byte [ebp + 4], 6
jne 0x460dee
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x460de8
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.004680b0
mov byte [edi + 0x44], 1
jmp 0x460df2
mov byte [edi + 0x44], 0
test dword [esp + 0x70], 0x10000000
je 0x460e00
or byte [ebp + 5], 8
test dword [esp + 0x6c], 0x8000000
je 0x460e0e
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x460e39
cmp dword [ebp + 0x10], 0xff000000
je 0x460e2d
mov al, byte [ebp + 4]
cmp al, 5
je 0x460e39
cmp al, 6
je 0x460e39
cmp al, 3
je 0x460e39
cmp byte [ebp + 4], 3
jne 0x460e45
test byte [ebp + 5], 0x40
je 0x460e45
mov edx, dword [ebp]
push edx
call fcn.00475af0
add esp, 4
cmp byte [esp + 0x21], 0
jne 0x460e7c
cmp byte [esp + 0x30], 0
je 0x460e7c
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x94
mov edx, dword [0x4c8574]
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 + 0x1f4], 4
jne 0x460e96
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa9c]
cmp word [eax], 0
je 0x460eb3
mov ecx, dword [esp + 0xa0]
push ecx
push edi
mov esi, ebp
call fcn.00464280
cmp byte [ebp + 4], 0x13
jne 0x460f69
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x460f69
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x14]
test al, 2
je 0x4610e9
test al, al
js 0x4610e9
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
push edx
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push 1
push 0x1328
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x460f35
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 1
push eax
push ecx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x1b], 0
je 0x460fd8
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
cmp byte [esp + 0xa94], 9
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jne 0x460fd8
test dword [esp + 0x14], 0x100000
je 0x460fd8
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x460fc6
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd4], eax
mov ecx, dword [ebp]
push 0
push eax
push 0x194
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x54]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x461039
cmp byte [esp + 0x32], 0
je 0x461020
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 4]
push 2
lea ecx, [esp + 0x48]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x461039
mov edx, dword [ebp]
mov eax, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push edx
push eax
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x46104f
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0xa94], 0x18
je 0x461108
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x90]
mov dword [edi + 0x88], eax
mov dword [edi + 0x8c], ecx
add eax, edx
add ecx, esi
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], esi
cmp eax, dword [edi + 0x90]
jle 0x4610a3
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x4610b1
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1fc], 0
jne 0x4610f0
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x4610f0
cmp ebx, 2
jne 0x4610d1
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x18
je 0x4610f0
cmp eax, dword [edi + 0xa0]
jle 0x4610df
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x461108
jmp 0x461102
xor bl, bl
jmp 0x460f0a
mov dword [edi + 0x98], edx
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ecx
mov eax, 1
mov ecx, dword [esp + 0xa80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa7c
ret 0x10