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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa6c
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x10]
cmp eax, 0x2af8
jb 0x45cfe3
push 0x4ac22c
push str.Too_many_controls.
mov ecx, 0x4d3ee0
call fcn.0042d580
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x14]
cmp eax, ecx
jb 0x45d013
add ecx, 0x3e8
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
push dword [esi + 0x18]
call fcn.00492d20
add esp, 8
test eax, eax
je 0x45cfbe
add dword [esi + 0x14], 0x3e8
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x10]
lea ecx, [eax + eax*4]
xorps xmm0, xmm0
mov eax, dword [esi + 0x18]
push edi
movups xmmword [eax + ecx*4], xmm0
mov dword [eax + ecx*4 + 0x10], 0
lea edi, [eax + ecx*4]
mov ecx, esi
push edi
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x10], edi
push eax
call fcn.00462e20
mov cl, byte [ebp + 8]
cmp cl, 0x14
jne 0x45d054
or byte [edi + 5], 0x80
mov byte [ebp - 0x28], 0x13
mov byte [ebp - 0x1a], 0x13
jmp 0x45d075
cmp cl, 0x15
jne 0x45d05f
mov word [ebp - 0x69], 0x301
mov edx, 0x13
movzx eax, cl
cmovne edx, eax
mov dword [ebp - 0x28], edx
mov byte [ebp - 0x1a], dl
cmp dl, 0x13
jne 0x45d0ce
cmp byte [esi + 0xb8], 0xff
jne 0x45d0a4
push 0x4ac22c
push str.Too_many_tab_controls.
mov ecx, 0x4d3ee0
call fcn.0042d580
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [edi + 6], 0xff
mov ecx, esi
mov al, byte [esi + 0xb8]
mov byte [edi + 7], al
movzx eax, byte [esi + 0xb9]
push eax
call fcn.00467630
test eax, eax
je 0x45d11a
push eax
mov ecx, esi
call fcn.00467a90
jmp 0x45d11a
cmp dl, 0x19
jne 0x45d105
cmp dword [esi + 8], 0
je 0x45d0ff
push 0x4ac22c
push str.Too_many_status_bars.
mov ecx, 0x4d3ee0
call fcn.0042d580
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov byte [edi + 6], 0xff
jmp 0x45d117
mov al, byte [esi + 0xb9]
mov byte [edi + 6], al
mov al, byte [esi + 0xba]
mov byte [edi + 7], al
mov dword [ebp - 0x28], edx
cmp dword [esi + 0x10], 0
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
jne 0x45d1b1
cmp dword [esi + 0x78], 0x80000000
jne 0x45d16c
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4c95a8]
cvttsd2si eax, xmm0
push eax
call edx
mov edx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esi + 0x78], eax
cmp dword [esi + 0x7c], 0x80000000
jne 0x45d1a8
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
movd xmm0, dword [ecx + eax + 0x84]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x4c9590]
cvttsd2si eax, xmm0
push eax
call edx
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0x80], eax
mov eax, dword [ebp - 0x28]
mov byte [edi + 4], al
mov edx, dword [ebp - 0x1fc]
mov al, byte [esi + 0x45]
or edx, 0x10000000
mov byte [ebp - 0x6b], al
mov ecx, edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1fc], ecx
cmp al, 6
jne 0x45d1fa
or ecx, 0x4000
cmp byte [esi + 0x44], 0
mov dword [ebp - 0x1fc], ecx
jne 0x45d21c
mov ecx, edx
or ecx, 0x24000
mov dword [ebp - 0x1fc], ecx
jmp 0x45d21c
cmp byte [esi + 0x44], 0
je 0x45d20c
or ecx, 0x20000
mov dword [ebp - 0x1fc], ecx
cmp al, 2
je 0x45d240
cmp al, 0x10
je 0x45d240
cmp al, 0x11
je 0x45d240
cmp al, 0x12
je 0x45d240
cmp byte [edi + 4], 0xa
mov byte [ebp - 0x2f], 1
je 0x45d232
mov eax, dword [esi + 0x54]
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x1fc]
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x28]
jmp 0x45d255
mov byte [ebp - 0x2f], 0
cmp al, 0x12
jne 0x45d255
mov dword [edi + 0x10], 0xff000000
mov ecx, dword [ebp - 0x1fc]
movzx eax, al
mov dword [ebp - 0x3c], eax
add eax, 0xfffffffc
cmp eax, 0x15
ja case.0x45d267.6
jmp dword [eax*4 + 0x45fc0c]
or ecx, 0x210000
jmp 0x45d337
or ecx, 0x210042
jmp 0x45d337
or ecx, 0x210080
or dword [ebp - 0x1f4], 0x200
jmp 0x45d337
or dword [ebp - 0x1ec], 0x30
or ecx, 0x10008
or dword [ebp - 0x1f4], 0x200
mov dword [ebp - 0x1e8], 1
jmp 0x45d337
or ecx, 0x10027
or dword [ebp - 0x1f4], 0x200
jmp 0x45d337
or ecx, 0x10000
or dword [ebp - 0x1f4], 0x200
jmp 0x45d337
or ecx, 0x36
jmp 0x45d337
or ecx, 0x1000c
jmp 0x45d337
or ecx, 1
jmp 0x45d337
movzx eax, byte [ebp - 0x6b]
xor edx, edx
cmp byte [ebp - 0x69], dl
cmove eax, edx
or ecx, 0x10200
mov byte [ebp - 0x6b], al
jmp 0x45d337
or ecx, 0x4000000
jmp 0x45d337
test dword [esi + 0x3c], 0x40000
je 0x45d320
or ecx, 0x100
or ecx, 0x800
jmp 0x45d337
cmp byte [0x4d4b73], 0
je case.0x45d267.6
or ecx, 0x10000
mov dword [ebp - 0x1fc], ecx
push 0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
push dword [ebp + 0xc]
call fcn.00460860
test eax, eax
jne 0x45d369
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1a0]
cmp dl, 0xa
je 0x45d37a
mov eax, dword [edi + 0x10]
cmp eax, 0xff000000
mov eax, dword [ebp - 0x19c]
setne byte [ebp - 0x6d]
cmp eax, 0xff000000
jne 0x45d3a1
cmp dl, 0xb
je 0x45d3c2
mov dword [ebp - 0x19c], 0xffffffff
jmp 0x45d3c2
cmp eax, 0xffffffff
jne 0x45d3c2
mov ecx, dword [esi + 0x5c]
cmp ecx, 0xff000000
je 0x45d3c2
cmp dl, 0x12
je 0x45d3c2
cmp dl, 0x19
cmovne eax, ecx
mov dword [ebp - 0x19c], eax
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1f8]
movss xmm0, dword [ebp - 0x1cc]
movss xmm1, dword [0x4c9578]
cmp esi, 0x80000000
jne 0x45d45d
cmp dword [ebp - 0x1d0], 0x80000000
jne 0x45d45d
comiss xmm0, xmm1
ja 0x45d45d
mov eax, dword [ebp + 0x10]
mov edi, eax
test eax, eax
je 0x45d44d
movzx eax, word [eax]
test ax, ax
je 0x45d44d
mov esi, eax
nop word [eax + eax]
mov ecx, 0x4c7f4c
mov edx, 0xa
nop word [eax + eax]
cmp si, dx
je 0x45d451
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x45d420
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x45d410
mov ecx, dword [ebp - 0x1f8]
mov esi, dword [ebp - 0x1d4]
xor edi, edi
jmp 0x45d467
mov ecx, dword [ebp - 0x1f8]
mov esi, dword [ebp - 0x1d4]
mov edi, ecx
not edi
and edi, 0x2000
mov eax, dword [ebp - 0x1f0]
mov edx, ecx
not eax
mov dword [ebp - 0x60], edi
and eax, dword [ebp - 0x1f4]
not edx
and edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x2c], eax
or edx, 0x40000000
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffffd
mov dword [ebp - 0x18], edx
cmp eax, 0x10
ja case.0x45d4a0.10
movzx eax, byte [eax + 0x45fc8c]
jmp dword [eax*4 + 0x45fc64]
and edx, 0xfffffff7
or edx, 7
jmp 0x45d4bc
test dl, 1
je 0x45d508
and edx, 0xfffffff1
or edx, 1
or edx, edi
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp byte [ebp - 0x28], 4
jne 0x45d750
cmp dword [edi + 0xc], 0
jne 0x45d750
test byte [edi + 5], 1
jne 0x45d750
mov ecx, dword [ecx]
cmp word [ecx], 0x31
jne 0x45d62b
cmp word [ecx + 2], 0
jne 0x45d62b
xor eax, eax
mov word [ebp - 0xa78], ax
jmp 0x45d643
and edx, 0xfffffff0
jmp 0x45d4ba
mov eax, edx
and eax, 6
cmp al, 6
jne 0x45d51e
and edx, 0xfffffff6
or edx, 6
jmp 0x45d4ba
and edx, 0xfffffff3
or edx, 3
jmp 0x45d4ba
and edx, 0xfffffff9
or edx, 9
test edx, 0x20000
je 0x45d4ba
test ecx, 0x10000
jne 0x45d4ba
or edx, 0x10000
jmp 0x45d4ba
or edx, 3
jmp 0x45d4bc
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
test dl, 1
je 0x45d56c
and edx, 0xfffffff1
or edx, 1
mov dword [ebp - 0x18], edx
jmp 0x45d4c5
and edx, 0xfffffff2
or edx, 2
mov dword [ebp - 0x18], edx
jmp 0x45d4c5
or edx, 1
jmp 0x45d4bc
comiss xmm0, xmm1
ja 0x45d5a1
push 0xa
push dword [ebp + 0x10]
call fcn.0048c759
mov ecx, dword [ebp - 0x1f8]
add esp, 8
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x45d5ad
mov eax, ecx
not eax
and eax, 4
or edx, eax
mov dword [ebp - 0x18], edx
mov edi, dword [ebp - 0x10]
test dl, 4
je 0x45d4c2
not ecx
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x18], edx
jmp 0x45d4c2
mov ecx, dword [ebp - 0x14]
or edx, 0x4000000
mov edi, dword [ebp - 0x10]
cmp dword [ecx + 0x60], 0
je 0x45d5e3
test byte [edi + 5], 0x20
je 0x45d5ec
cmp dword [edi + 0x10], 0xff000000
je 0x45d5f8
or edx, 0x2000
mov byte [ebp - 0x6b], 0
jmp 0x45d5fe
and edx, 0xffffdfff
mov al, byte [ebp - 0x68]
mov dword [ebp - 0x18], edx
cmp esi, 0x80000000
je 0x45d611
and al, 0xfe
mov byte [ebp - 0x68], al
cmp dword [ebp - 0x1d0], 0x80000000
je 0x45d4c5
and al, 0xfd
mov byte [ebp - 0x68], al
jmp 0x45d4c5
lea edx, [ebp - 0xa78]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45d633
push dword [ebp + 0x10]
lea eax, [ebp - 0xa78]
push str.Button_s
push 0x400
push eax
call fcn.00472d30
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
mov edx, 0x4c7f68
lea ecx, [ebp - 0xa78]
call fcn.004734a0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
mov edx, 0x4c6ab4
lea ecx, [ebp - 0xa78]
call fcn.004734a0
add esp, 0x40
lea ecx, [ebp - 0xa78]
mov edx, 0x4c4508
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
call fcn.004734a0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
mov edx, 0x4c48a4
lea ecx, [ebp - 0xa78]
call fcn.004734a0
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
mov edx, 0x4c7670
lea ecx, [ebp - 0xa78]
call fcn.004734a0
add esp, 0x48
lea ecx, [ebp - 0xa78]
mov edx, 0x4c7f6c
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4ac22c
call fcn.004734a0
add esp, 0x18
lea eax, [ebp - 0xa78]
mov ecx, 0x4d3ee0
push 4
push 0
push eax
call fcn.0041a020
mov esi, eax
test esi, esi
je 0x45d740
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x45d74d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0xc], esi
movzx eax, byte [edi + 6]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00467630
mov ecx, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x10]
mov dword [ebp + 0xc], edi
test edi, edi
je 0x45d78d
mov eax, dword [esi + 0x18]
lea edx, [edi + edi*4]
add eax, 0xffffffec
lea eax, [eax + edx*4]
jmp 0x45d793
lea eax, [ebp - 0x278]
cmp dword [ebp - 0x1dc], 0x80000000
mov dword [ebp - 0x4c], eax
jne 0x45d88e
cmp dword [ebp - 0x1d8], 0x80000000
jne 0x45d88e
test ecx, ecx
je 0x45d825
xor edx, edx
test edi, edi
je 0x45d7f9
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x18]
mov esi, edi
mov edi, dword [ebp - 0x10]
mov cl, byte [ecx + 7]
mov byte [ebp + 0xb], cl
lea ecx, [eax + 6]
mov ah, byte [ebp + 0xb]
cmp byte [ecx + 1], ah
jne 0x45d7e4
mov al, byte [ecx]
cmp al, byte [edi + 6]
jne 0x45d7e4
inc edx
add ecx, 0x14
sub esi, 1
jne 0x45d7d7
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
test edx, edx
jne 0x45d825
mov ecx, dword [ebp - 0x38]
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004678c0
mov eax, dword [esi + 0x78]
add eax, dword [ebp - 0x20c]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x1dc], eax
mov eax, dword [esi + 0x7c]
add eax, dword [ebp - 0x208]
jmp 0x45d840
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x1dc], eax
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
add eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1d8], eax
cmp cl, 1
je 0x45d853
cmp cl, 0x17
jne 0x45d891
test edi, edi
je 0x45d891
mov edx, dword [ebp - 0x4c]
mov al, byte [edx + 4]
cmp al, 1
je 0x45d865
cmp al, 0x17
jne 0x45d891
mov ecx, dword [ebp - 0x10]
mov al, byte [edx + 6]
cmp al, byte [ecx + 6]
jne 0x45d88e
mov al, byte [edx + 7]
cmp al, byte [ecx + 7]
jne 0x45d88e
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x28]
cmp cl, 0xe
je 0x45d8a4
cmp cl, 0xa
je 0x45d8a4
cmp cl, 0xb
je 0x45d8a4
xor dl, dl
jmp 0x45d8a6
mov dl, 1
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dh, dl
xor dh, 1
mov byte [ebp + 0xb], dl
cmp dword [ebp - 0x1d0], 0x80000000
mov byte [ebp - 0x19], dh
jne 0x45da09
movss xmm1, dword [0x4c9568]
comiss xmm1, dword [ebp - 0x1cc]
jbe 0x45da09
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffffd
cmp eax, 0x15
ja case.0x45d8f2.4
movzx eax, byte [eax + 0x45fccc]
jmp dword [eax*4 + 0x45fca0]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
and al, 3
mov dword [ebp - 0x1cc], 0x40400000
cmp al, 1
je 0x45da3e
test ecx, 0x400
jne 0x45da3e
xor dh, dh
mov byte [ebp - 0x19], dh
jmp 0x45da3e
mov dword [ebp - 0x1cc], 0x40000000
jmp 0x45da3e
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
jne case.0x45d8f2.4
test byte [ebp - 0x18], 4
je 0x45d959
mov dword [ebp - 0x1cc], 0x40400000
jmp 0x45da3e
mov dword [ebp - 0x1cc], 0x3f800000
jmp case.0x45d8f2.4
mov dword [ebp - 0x1cc], 0x3f800000
jmp 0x45da3e
test byte [ebp - 0x18], 0x40
je 0x45d9af
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dl, byte [ebp + 0xb]
mov dh, byte [ebp - 0x19]
mov dword [ebp - 0x1d0], eax
jmp case.0x45d8f2.4
mov dword [ebp - 0x1cc], 0x40a00000
jmp case.0x45d8f2.4
mov ecx, dword [ebp - 0x18]
test cl, 2
je 0x45d9cf
mov dword [ebp - 0x1cc], 0x40a00000
jmp 0x45da3e
push dword [ebp - 0x1b0]
push ecx
mov ecx, esi
call fcn.00466e90
mov dl, byte [ebp + 0xb]
mov dh, byte [ebp - 0x19]
mov dword [ebp - 0x1d0], eax
jmp case.0x45d8f2.4
test byte [ebp - 0x18], 4
je 0x45d97d
mov dword [ebp - 0x1cc], 0x40a00000
jmp 0x45da3e
mov dword [ebp - 0x1cc], 0x41200000
jmp case.0x45d8f2.4
cmp cl, 7
je 0x45da13
cmp cl, 8
jne case.0x45d8f2.4
or dword [ebp - 0x18], 0x400
movss xmm0, dword [ebp - 0x1cc]
xor ecx, ecx
xorps xmm1, xmm1
mov dword [ebp - 0x20], ecx
comiss xmm0, xmm1
mov dword [ebp - 0x34], ecx
jbe 0x45db3b
movss xmm1, dword [0x4c9568]
cmp byte [ebp - 0x28], 3
je 0x45da4d
mov al, byte [ebp - 0x1a]
sub al, 7
cmp al, 1
ja 0x45da61
movss xmm0, dword [ebp - 0x1cc]
addss xmm0, xmm1
movss dword [ebp - 0x1cc], xmm0
test dh, dh
je 0x45dbd3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [0x4d3e40]
mov dword [ebp - 0x20], eax
push dword [edx + ecx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
movss xmm2, dword [ebp - 0x1cc]
cvtps2pd xmm0, xmm2
mov esi, dword [ebp - 0x14]
addsd xmm0, qword [0x4c9588]
cvttsd2si ecx, xmm0
movd xmm0, dword [ebp - 0x264]
cvtdq2ps xmm0, xmm0
lea eax, [ecx - 1]
imul eax, dword [ebp - 0x254]
mulss xmm0, xmm2
movd xmm1, eax
mov eax, dword [ebp - 0x3c]
cvtdq2ps xmm1, xmm1
add eax, 0xfffffffd
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
addsd xmm0, qword [0x4c9588]
cvttsd2si edx, xmm0
mov dword [ebp - 0x1d0], edx
cmp eax, 0x15
ja case.0x45db08.5
movzx eax, byte [eax + 0x45fcf8]
jmp dword [eax*4 + 0x45fce4]
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1d0], eax
test dword [ebp - 0x18], 0x100000
je case.0x45db08.5
push 3
call edi
add dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x1d0], 0x80000000
mov edx, dword [ebp - 0x1d4]
mov byte [ebp - 0x2d], 0
je 0x45db5d
cmp edx, 0x80000000
jne case.0x45e1ad.4
mov eax, dword [ebp - 0x3c]
xor edi, edi
dec eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x64], edi
mov esi, 0x400
cmp eax, 0x16
ja case.0x45db7e.2
movzx eax, byte [eax + 0x45fd1c]
jmp dword [eax*4 + 0x45fd10]
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x45db32
mov eax, dword [esi + 0x7c]
imul eax, ecx
add eax, edx
mov dword [ebp - 0x1d0], eax
jmp case.0x45db08.5
lea eax, [ecx + 1]
imul eax, dword [esi + 0x7c]
add eax, edx
mov dword [ebp - 0x1d0], eax
jmp case.0x45db08.5
xor ecx, ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], ecx
test dl, dl
jne 0x45db3b
push 0x60
push dword [0x4d3e70]
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ecx, ecx
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], ecx
jmp 0x45db3b
mov esi, dword [ebp + 0x10]
cmp word [esi], di
je case.0x45db7e.2
test ecx, ecx
jne 0x45dc52
mov esi, dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4d3e40]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x264]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov edi, dword [ebp - 0x250]
add edi, 4
test dword [ebp - 0x18], 0x200000
mov dword [ebp + 8], edi
je 0x45dc82
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov dword [ebp + 8], edi
cmp word [esi], 0
je 0x45dcb6
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dc90
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0xa
jne 0x45dcb6
mov eax, dword [ebp - 0x254]
add eax, dword [ebp - 0x264]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x1d4]
mov esi, 0x2c40
mov ecx, dword [ebp - 0x20]
mov edi, esi
test ecx, ecx
jne 0x45dd04
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4d3e40]
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
cmp al, 1
jne 0x45dd20
mov ecx, dword [ebp - 0x18]
mov esi, ecx
and esi, 0x80
or esi, 4
shl esi, 4
or esi, edi
jmp 0x45dd60
cmp al, 5
je 0x45dd28
cmp al, 6
jne 0x45dd5d
lea eax, [ebp - 0x264]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, dword [ebp + 8]
add eax, dword [ebp - 0x250]
add edi, 2
mov edx, dword [ebp - 0x1d4]
add edi, eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov dword [ebp + 8], edi
jmp 0x45dd63
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
test ecx, 0x800000
je 0x45dd95
cmp al, 1
je 0x45dd73
cmp al, 0x17
jne 0x45dd95
push 5
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
add edi, edi
push 6
mov dword [ebp + 8], edi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x1d4]
add eax, eax
mov dword [ebp - 0x64], eax
cmp edx, 0x80000000
je 0x45dda0
or esi, 0x10
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
cmp edx, 0x80000000
jne 0x45ddc8
mov dword [ebp - 0x21c], 0
jmp 0x45ddd0
sub edx, edi
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x1d0]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebp - 0x218], eax
xor eax, eax
cmp byte [ebp - 0x28], 0x17
mov dword [ebp - 0x204], eax
jne 0x45dfe3
mov eax, dword [ebp - 0x18]
mov ecx, esi
or ecx, 0x800
and al, 4
cmove ecx, esi
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45de11
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048b1c4
mov edx, eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov edi, edx
mov esi, eax
mov dword [ebp - 0x200], edx
mov dword [ebp - 0x24], esi
mov dword [ebp + 0xc], edi
movzx ecx, word [eax]
test cx, cx
je 0x45df96
nop dword [eax]
cmp cx, 0x3c
jne 0x45df67
mov cx, word [esi + 2]
call fcn.0040ab40
cmp ax, 0x41
jne 0x45df67
add esi, 4
movzx eax, word [esi]
cmp eax, 0x20
je 0x45de8d
cmp eax, 9
jne 0x45de92
add esi, 2
jmp 0x45de80
cmp eax, 0x3e
je 0x45df0e
nop word [eax + eax]
movzx ecx, word [esi]
mov eax, ecx
test eax, 0xffffff80
jne 0x45dec6
push 0x107
push eax
call fcn.00491ac4
movzx ecx, word [esi]
add esp, 8
test eax, eax
je 0x45dec6
add esi, 2
jmp 0x45dea0
cmp cx, 0x3d
jne 0x45df67
mov eax, 0x22
cmp ax, word [esi + 2]
jne 0x45df67
push eax
lea eax, [esi + 4]
push eax
call fcn.0048c759
add esp, 8
test eax, eax
je 0x45df67
lea esi, [eax + 2]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45df04
cmp eax, 9
jne 0x45df09
add esi, 2
jmp 0x45def7
cmp eax, 0x3e
jne 0x45dea0
add esi, 2
je 0x45df67
mov edx, 0x4c7f70
mov ecx, esi
call fcn.004730c0
mov edi, eax
mov dword [ebp - 0x228], edi
test edi, edi
je 0x45df64
mov edx, edi
xor eax, eax
sub edx, esi
xor ecx, ecx
inc edx
shr edx, 1
cmp esi, edi
cmova edx, eax
test edx, edx
je 0x45df5c
mov edi, dword [ebp + 0xc]
sub esi, edi
mov ax, word [edi + esi]
inc ecx
mov word [edi], ax
add edi, 2
cmp ecx, edx
jb 0x45df44
mov dword [ebp + 0xc], edi
mov edi, dword [ebp - 0x228]
lea eax, [edi + 6]
mov edi, dword [ebp + 0xc]
jmp 0x45df79
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x24]
mov ax, word [eax]
mov word [edi], ax
add edi, 2
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0xc], edi
add eax, 2
mov dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
movzx eax, word [eax]
mov ecx, eax
test ax, ax
jne 0x45de60
mov edx, dword [ebp - 0x200]
xor eax, eax
mov word [edi], ax
cmp edi, edx
jbe 0x45dfa9
movzx eax, word [edi - 2]
mov dword [ebp - 0x204], eax
push dword [ebp - 0x40]
cmp word [edx], 0
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
mov eax, 0x4c7f7c
cmovne eax, edx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x200]
mov edi, eax
call fcn.0048b1bf
mov ecx, dword [ebp - 0x204]
add esp, 4
jmp 0x45e02a
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
mov eax, 0x4c7f7c
cmp word [esi], cx
cmovne eax, esi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_DrawTextW]
cmp word [esi], 0
mov edi, eax
je 0x45e028
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45e012
sub ecx, edx
sar ecx, 1
movzx ecx, word [esi + ecx*2 - 2]
jmp 0x45e02a
xor ecx, ecx
mov esi, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x3c]
sub esi, dword [ebp - 0x224]
sub eax, 1
je 0x45e050
sub eax, 3
je 0x45e04a
sub eax, 8
je 0x45e050
jmp 0x45e074
cmp dword [ebp - 0x60], 0
jne 0x45e074
test cx, cx
je 0x45e074
movzx eax, cx
lea ecx, [ebp - 0x48]
push ecx
push eax
push eax
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
test eax, eax
je 0x45e074
mov eax, dword [ebp - 0x40]
test eax, eax
jns 0x45e074
sub esi, eax
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x80000000
je 0x45e094
cmp edi, eax
mov eax, dword [ebp - 0x28]
jle 0x45e0fd
cmp al, 0xc
je 0x45e0fd
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
add edx, edi
mov dword [ebp - 0x1d0], edx
cmp al, 0xc
jne 0x45e0d5
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [ebp - 0x1d0], eax
test dword [ebp - 0x18], 0x100000
je 0x45e0fa
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [ebp - 0x1d0], eax
jmp 0x45e0fa
cmp al, 4
jne 0x45e0fd
mov eax, dword [ebp - 0x14]
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4d3e40]
mov eax, dword [ecx + eax + 0x84]
add eax, 2
add eax, edx
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1d4]
cmp edx, 0x80000000
je 0x45e10f
cmp esi, edx
jle case.0x45db7e.2
mov edx, dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add edx, esi
mov byte [ebp - 0x2d], 1
mov dword [ebp - 0x1d4], edx
cmp al, 4
jne 0x45e15d
push 0x2d
call edi
mov esi, dword [ebp - 0x14]
add eax, eax
mov ecx, dword [0x4d3e40]
imul edx, dword [esi + 0x50], 0x94
mov ecx, dword [edx + ecx + 0x84]
mov edx, dword [ebp - 0x1d4]
add ecx, eax
add edx, ecx
mov dword [ebp - 0x1d4], edx
jmp 0x45e160
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [ebp - 0x14]
cmp edx, 0x80000000
jne case.0x45e1ad.4
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
mov eax, dword [ecx + eax + 0x84]
mov ecx, eax
shl ecx, 4
sub ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x3c]
mov edx, eax
lea eax, [ecx - 3]
cmp eax, 0x15
ja case.0x45e1ad.4
movzx ecx, byte [eax + 0x45fd54]
jmp dword [ecx*4 + 0x45fd34]
mov dword [ebp - 0x1d4], edx
jmp case.0x45e1ad.4
lea eax, [edx + edx]
jmp 0x45e228
mov eax, dword [ebp - 0x18]
test al, 0x40
je 0x45e1f1
mov dword [ebp - 0x1d4], edx
jmp 0x45e231
mov eax, dword [ebp - 0x18]
test al, 2
je 0x45e1cb
push dword [ebp - 0x1b0]
mov ecx, esi
push eax
call fcn.00466e90
jmp 0x45e228
mov eax, dword [ebp - 0x18]
test al, 4
je 0x45e1cb
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
push 0x60
push dword [0x4d3e70]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x45e228
mov eax, dword [esi + 0x78]
lea eax, [edx + eax*2]
jmp 0x45e228
mov eax, dword [esi + 0x78]
lea eax, [eax + eax*2]
lea eax, [eax + edx*2]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x18]
cmp byte [ebp - 0x28], 0xc
jne 0x45e33a
test al, 4
jne 0x45e33a
movss xmm0, dword [0x4c9568]
comiss xmm0, dword [ebp - 0x1cc]
jbe 0x45e33a
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45e28d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4d3e40]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x264]
sub esi, eax
mov edx, dword [ebp - 0x18]
sub esi, ecx
test edx, 0x100000
je 0x45e2d5
push 3
call edi
mov ecx, dword [ebp - 0x264]
sub esi, eax
mov edx, dword [ebp - 0x18]
test esi, esi
jle 0x45e330
mov eax, dword [ebp - 0x254]
add eax, ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
addss xmm1, dword [0x4c9568]
comiss xmm1, dword [0x4c9578]
movss dword [ebp - 0x1cc], xmm1
jbe 0x45e33a
mov ecx, dword [ebp - 0x1f8]
not ecx
mov eax, ecx
and eax, 4
or edx, eax
mov dword [ebp - 0x18], edx
test dl, 4
je 0x45e33a
and ecx, 0x201040
or edx, ecx
mov dword [ebp - 0x18], edx
jmp 0x45e33a
mov dword [ebp - 0x1cc], 0x3f800000
mov edi, dword [ebp - 0x14]
cmp byte [ebp - 0x6b], 0
mov byte [ebp - 0x1a], 0
sete byte [ebp - 0x2e]
mov byte [ebp + 0xf], 0
mov eax, dword [edi + 4]
mov esi, dword [edi + 0x10]
push eax
add esi, 3
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45e375
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [ebp + 0xb], 1
test eax, eax
je 0x45e379
mov byte [ebp + 0xb], 0
mov eax, dword [ebp - 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 0x30], 0
cmp byte [eax + 6], 0xff
jae 0x45e41b
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45e42e
push 0x4c7f80
push dword [eax]
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0x45e3e6
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x1d8]
push 1
mov dword [ebp - 0x40], ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1dc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x38]
push 0xfffffffffffffff0
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45e42e
mov eax, dword [ebp - 0x38]
push 0
push 0
push 0x130b
push dword [eax]
call edi
mov edx, dword [ebp - 0x10]
movzx ecx, byte [edx + 7]
cmp eax, ecx
jne 0x45e42e
mov al, byte [ebp + 0xb]
mov byte [ebp - 0x30], al
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
dec eax
cmp eax, 0x18
ja case.0x45e427.20
jmp dword [eax*4 + 0x45fd6c]
mov edx, dword [ebp - 0x18]
and edx, 0xefffffff
mov dword [ebp - 0x18], edx
jmp 0x45e41e
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push str.static
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x45e49d
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x45e493
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x20]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x45f84c
push 0x4ac22c
push str.Cant_create_control.
mov ecx, 0x4d3ee0
call fcn.0042d580
jmp 0x45fbf9
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push str.SysLink
jmp 0x45e469
mov ecx, dword [ebp - 0x1d4]
xor eax, eax
push 0
push dword [0x4d16c4]
cmp ecx, 0x80000000
mov dword [ebp - 0x40], 0
push esi
push dword [ebp - 0x24]
mov esi, dword [ebp + 0x10]
cmove ecx, eax
mov eax, dword [ebp - 0x1d0]
cmp eax, 0x80000000
mov dword [ebp - 0x1d4], ecx
cmove eax, dword [ebp - 0x40]
push eax
push ecx
push dword [ebp - 0x1d8]
mov dword [ebp - 0x1d0], eax
push dword [ebp - 0x1dc]
push edx
push esi
push str.static
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
push dword [ebp - 0x18c]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push esi
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00463110
test eax, eax
je 0x45e47a
mov byte [ebp - 0x1a], 1
jmp 0x45e47a
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push str.button
jmp 0x45e469
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
test byte [ebp - 0x18], 1
mov esi, dword [ebp - 0x14]
je 0x45e47a
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jae 0x45e64b
mov eax, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
push 1
push 0xfffffffffffffff0
push dword [eax + ecx*4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
push 0xf4
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x18]
push dword [eax + ecx*4]
call edi
mov eax, dword [esi + 0x10]
push 0
mov dword [esi + 0x1c], eax
add eax, 3
push eax
push 0x401
push dword [esi + 4]
call edi
mov eax, dword [ebp - 0x18]
push 1
movzx eax, ax
push eax
mov eax, dword [ebp - 0x10]
push 0xf4
push dword [eax]
call edi
jmp 0x45e47a
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push str.button
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
mov ecx, dword [ebp - 0x190]
test ecx, ecx
je case.0x45e427.20
push 0
push ecx
push 0xf1
push eax
call edi
jmp case.0x45e427.20
cmp dword [ebp - 0x198], 0
je 0x45e6f1
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 8
jne 0x45e6f1
and edx, 0xffffffbf
mov dword [ebp - 0x18], edx
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.Combobox
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov dword [esi], eax
test eax, eax
je 0x45e82c
movzx ecx, byte [ebp + 0xb]
push ecx
mov ecx, dword [ebp - 0x14]
imul edx, dword [ecx + 0x50], 0x94
mov ecx, dword [0x4d3e40]
push dword [edx + ecx + 0x90]
push 0x30
push eax
call edi
cmp byte [ebp - 0x19], 0
je 0x45e7f8
push 0
push 0
push 0x154
push dword [esi]
call edi
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xc], eax
and cl, 3
xor eax, eax
cmp cl, 1
push 0x60
push dword [0x4d3e70]
sete al
push 8
lea eax, [eax*2 + 2]
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [ebp - 0x40]
add eax, esi
mov ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
jge 0x45e7b8
mov ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x45e7fe
movss xmm0, dword [ebp - 0x1cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x45e7fe
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1cc]
cvttss2si ecx, xmm0
add ecx, esi
add ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x45e7fe
mov ecx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x10]
push 1
push ecx
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov al, 1
mov byte [ebp - 0x1a], al
mov byte [ebp + 0xf], al
jmp case.0x45e427.20
mov al, byte [ebp - 0x1a]
mov byte [ebp + 0xf], al
jmp case.0x45e427.20
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.Listbox
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x45e82c
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x45e896
lea ecx, [ebp - 0x188]
push ecx
push eax
push 0x192
push edx
call edi
mov edx, dword [esi]
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x14]
imul ecx, dword [eax + 0x50], 0x94
mov eax, dword [0x4d3e40]
push dword [ecx + eax + 0x90]
push 0x30
push edx
call edi
push 0
push 0
push 0x1a1
push dword [esi]
call edi
push 0x60
push dword [0x4d3e70]
mov dword [ebp + 0xc], eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
mov eax, dword [ebp - 0x18]
add esi, dword [ebp + 0xc]
and eax, 0x100000
mov dword [ebp - 0x40], eax
je 0x45e8f2
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [ebp - 0x1d0]
cmp ecx, esi
jge 0x45e909
mov ecx, esi
mov dword [ebp - 0x1d0], ecx
jmp 0x45e7fe
movss xmm0, dword [ebp - 0x1cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x45e7fe
push 0x60
push dword [0x4d3e70]
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1cc]
cvttss2si ecx, xmm0
add ecx, eax
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x1d0], ecx
je 0x45e7fe
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x1d0]
add ecx, eax
mov dword [ebp - 0x1d0], ecx
jmp 0x45e7fe
mov eax, dword [ebp - 0x1e8]
cmp eax, 4
je 0x45e981
and edx, 0xfffffffc
or edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1d0]
mov ecx, 0xc8
push 0
push dword [0x4d16c4]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x24]
cmove eax, ecx
push eax
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.SysListView32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
push 0x3f8
call fcn.0048f3be
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 0x10], eax
test eax, eax
jne 0x45ea01
push dword [ecx]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp case.0x45e427.20
mov esi, dword [ebp - 0x14]
push 0x3f8
push 0
mov dword [esi + 0x48], ecx
push dword [ecx + 0x10]
call fcn.0048ce40
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + 0x10]
mov dword [eax], 0xffffffff
mov ecx, dword [edx + 0x10]
mov al, byte [ebp - 0x6a]
mov byte [ecx + 5], al
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45ea39
or byte [eax + 5], 0x80
cmp dword [ebp - 0x1e8], 4
jne 0x45ea52
push 0
push 4
push 0x108e
push dword [edx]
call edi
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1ec]
test eax, eax
je 0x45ea68
push eax
push 0
push 0x1036
push dword [edx]
call edi
lea eax, [ebp - 0x1fc]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call fcn.00466ff0
cmp dword [ebp - 0x1d0], 0x80000000
jne 0x45e47a
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4d3e40]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x1e8]
mov byte [ebp + 0xf], 1
sub eax, 1
je 0x45ebfe
sub eax, 3
je 0x45ebd0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45eafb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4d3e40]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [ebp - 0x1e8], 0
jne 0x45eb95
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1033
push dword [eax]
call edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c96f0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x1cc]
subss xmm0, dword [0x4c9568]
mulss xmm0, xmm1
call fcn.004a4d80
mov esi, eax
push 0xc
shr esi, 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm1, esi
mov esi, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0x264]
cvtdq2ps xmm0, xmm0
add eax, 0x10
mulss xmm0, dword [ebp - 0x1cc]
addss xmm0, xmm1
cvttss2si ecx, xmm0
add eax, ecx
jmp 0x45ec21
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x264]
cmp eax, ecx
movss xmm0, dword [ebp - 0x1cc]
cmovg ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
subss xmm0, dword [0x4c9568]
addss xmm1, xmm0
cvttss2si eax, xmm1
add eax, 0xb
jmp 0x45ec21
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1033
push dword [eax]
call edi
shr eax, 0x10
sub eax, 3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1cc]
cvttss2si eax, xmm0
add eax, 7
jmp 0x45ec21
movss xmm0, dword [ebp - 0x1cc]
push 0xffffffffffffffff
call fcn.004a4d80
dec eax
push eax
mov eax, dword [ebp - 0x10]
push 0x1040
push dword [eax]
call edi
shr eax, 0x10
add eax, 4
push 1
push eax
push dword [ebp - 0x1d4]
mov dword [ebp - 0x1d0], eax
push dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x1dc]
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
jmp 0x45e47a
mov eax, dword [ebp - 0x1d0]
mov ecx, 0xc8
push 0
push dword [0x4d16c4]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x24]
cmove eax, ecx
push eax
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.SysTreeView32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je 0x45e47a
cmp dword [ebp - 0x190], 0
mov dword [esi + 0x4c], ecx
je 0x45ecc6
mov eax, dword [ebp - 0x18]
or eax, 0x100
push eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xfffffffffffffff0
push dword [ecx]
call eax
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x1fc]
push eax
push ecx
mov ecx, esi
call fcn.004670a0
mov eax, dword [ebp - 0x1e4]
test eax, eax
je 0x45ecee
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x1109
push dword [eax]
call edi
cmp dword [ebp - 0x1d0], 0x80000000
jne 0x45e47a
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4d3e40]
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x111c
push dword [eax]
mov byte [ebp + 0xf], 1
call edi
mov dword [ebp - 0x1d0], eax
cmp eax, 2
jge 0x45ed53
imul ecx, dword [esi + 0x50], 0x94
mov eax, dword [0x4d3e40]
mov eax, dword [ecx + eax + 0x84]
add eax, eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x1cc]
cvttss2si eax, xmm0
jmp 0x45ec1e
test dl, 4
jne 0x45ed93
cmp dword [ebp - 0x198], 0
jge 0x45ed81
and edx, 0xffefff7f
jmp 0x45ed90
mov eax, dword [ebp - 0x1f8]
not eax
and eax, 0x80
or edx, eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x45edab
test dl, 4
je 0x45edab
mov ecx, eax
call fcn.004739f0
mov edx, dword [ebp - 0x18]
push 0
push dword [0x4d16c4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
push esi
push dword [ebp - 0x24]
mov esi, dword [ebp - 0x60]
test esi, esi
push dword [ebp - 0x1d0]
cmovne eax, esi
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push eax
push str.edit
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
test edx, edx
je 0x45ee54
test byte [ebp - 0x18], 0x20
je 0x45ee15
mov cx, word [ebp - 0x70]
test cx, cx
je 0x45ee15
push 0
movzx eax, cx
push eax
push 0xcc
push edx
call edi
mov eax, dword [ebp - 0x198]
xor ecx, ecx
test eax, eax
push ecx
cmovs eax, ecx
push eax
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x10]
push 0xc5
push dword [eax]
call edi
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x45ee54
lea ecx, [ebp - 0x188]
push ecx
push eax
mov eax, dword [ebp - 0x10]
push 0xcb
push dword [eax]
call edi
test esi, esi
je case.0x45e427.20
cmp esi, dword [ebp + 0x10]
je case.0x45e427.20
push esi
call fcn.004914e4
add esp, 4
jmp case.0x45e427.20
mov eax, dword [ebp + 0x10]
mov byte [ebp - 0x19], 0
cmp word [eax], 0
je 0x45eec8
push str.LongDate
push eax
call fcn.0048f253
add esp, 8
test eax, eax
jne 0x45eea0
mov eax, dword [ebp - 0x18]
and eax, 0xfffffff6
or eax, 4
mov dword [ebp - 0x18], eax
jmp 0x45eecb
push str.Time
push dword [ebp + 0x10]
call fcn.0048f253
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x45eec2
and eax, 0xfffffffb
or eax, 9
mov dword [ebp - 0x18], eax
jmp 0x45eecb
mov byte [ebp - 0x19], 1
jmp 0x45eecb
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c8], 2
jne 0x45eeda
or eax, 2
mov dword [ebp - 0x18], eax
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push eax
push 0x4ac22c
push str.SysDateTimePick32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
je case.0x45e427.20
cmp byte [ebp - 0x19], 0
je 0x45ef36
push dword [ebp + 0x10]
push 0
push 0x1032
push ecx
call edi
mov ecx, dword [esi]
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x45ef4f
lea edx, [ebp - 0x9c]
push edx
push eax
push 0x1004
push ecx
call edi
mov ecx, dword [esi]
mov edx, dword [ebp - 0x1c8]
test edx, edx
je 0x45ef73
lea eax, [ebp - 0xbc]
push eax
xor eax, eax
cmp edx, 1
setne al
push eax
push 0x1002
push ecx
call edi
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
cmp eax, 0xff000000
je case.0x45e427.20
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x45e427.20
cmp dword [ebp - 0x7c], 0
jne 0x45efb9
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x45efb9
lea edx, [ebp - 0xbc]
mov ecx, eax
call fcn.004726f0
mov dword [ebp - 0x7c], eax
cmp eax, 3
jne 0x45efb9
or dword [ebp - 0x18], 2
mov eax, dword [ebp - 0x1d0]
mov ecx, 0x64
push 0
push dword [0x4d16c4]
cmp eax, 0x80000000
push esi
push dword [ebp - 0x24]
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x1d4]
test eax, eax
cmovs eax, ecx
push eax
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x18]
push 0x4ac22c
push str.SysMonthCal32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
mov esi, dword [ebp - 0x18]
mov ecx, eax
and esi, 2
je 0x45f034
push 0
push 0x16e
push 0x1004
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x45f052
lea ecx, [ebp - 0x9c]
push ecx
push edx
push 0x1012
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov ecx, eax
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x45f097
test esi, esi
je 0x45f086
cmp edx, 1
jne 0x45f075
movups xmm0, xmmword [ebp - 0xbc]
mov eax, dword [ebp - 0x10]
movups xmmword [ebp - 0xac], xmm0
mov ecx, dword [eax]
lea eax, [ebp - 0xbc]
push eax
push 0
push 0x1006
push ecx
jmp 0x45f095
lea ecx, [ebp - 0xbc]
push ecx
push 0
push 0x1002
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
cmp eax, 0xff000000
je 0x45f0b0
push eax
push 1
push 0x100a
push dword [ecx]
call edi
mov esi, dword [ebp - 0x14]
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4d3e40]
imul ecx, dword [esi + 0x50], 0x94
push dword [ecx + eax + 0x90]
mov eax, dword [ebp - 0x10]
push 0x30
push dword [eax]
call edi
cmp dword [ebp - 0x1d4], 0x80000000
mov byte [ebp + 0xf], 1
je 0x45f0f4
cmp dword [ebp - 0x1d0], 0x80000000
jne 0x45e47a
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x10]
push 0
push 0x1009
push dword [eax]
call edi
test eax, eax
je 0x45e47a
mov ecx, dword [ebp - 0x1d4]
test ecx, ecx
jns 0x45f15f
test byte [ebp - 0x18], 0x10
je 0x45f123
mov eax, dword [ebp - 0x54]
jmp 0x45f140
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0x1015
push dword [eax]
call edi
cmp eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1d4]
cmovl eax, dword [ebp - 0x54]
cmp ecx, 0x80000000
jne 0x45f14c
mov ecx, eax
jmp 0x45f159
add eax, 6
imul eax, ecx
mov ecx, 0xfffffffa
sub ecx, eax
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x1d0]
cmp edx, 0x80000000
jne 0x45f241
movss xmm0, dword [ebp - 0x1cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x1d0], edx
jbe 0x45f241
ucomiss xmm0, dword [0x4c9568]
lahf
test ah, 0x44
jnp 0x45f241
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x45f1d4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
imul ecx, dword [esi + 0x50], 0x94
mov edx, eax
mov eax, dword [0x4d3e40]
mov dword [ebp - 0x20], edx
push dword [ecx + eax + 0x90]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x1d0]
je 0x45f1f9
add eax, 4
add eax, ecx
movss xmm2, dword [ebp - 0x1cc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm2, dword [0x4c9568]
cvttss2si eax, xmm0
movd xmm1, eax
lea eax, [ecx - 2]
mov ecx, dword [ebp - 0x1d4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x1d0], edx
push 1
push edx
push ecx
jmp 0x45ec30
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.msctls_hotkey32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov dword [esi], eax
test eax, eax
je case.0x45e427.20
mov ecx, dword [ebp + 0x10]
cmp word [ecx], 0
je 0x45f2ae
push 0
call fcn.00466be0
movzx eax, ax
push eax
push 0x401
push dword [esi]
call edi
mov eax, dword [esi]
mov ecx, dword [ebp - 0x198]
test ecx, ecx
jle case.0x45e427.20
push 6
push ecx
push 0x403
push eax
call edi
jmp case.0x45e427.20
test dl, 0x10
je 0x45f2f3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jne 0x45f2e7
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x45f2f3
cmp byte [eax + 5], 0
jge 0x45f2f3
and edx, 0xffffffef
mov byte [ebp - 0x19], 1
mov dword [ebp - 0x18], edx
jmp 0x45f2f7
mov byte [ebp - 0x19], 0
push 0
push dword [0x4d16c4]
push esi
mov esi, dword [ebp - 0x24]
push esi
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.msctls_updown32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
mov cl, byte [ebp - 0x19]
test cl, cl
je 0x45f35b
mov ecx, dword [ebp - 0x4c]
push 0
push dword [ecx]
push 0x469
push eax
call edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov cl, byte [ebp - 0x19]
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
je 0x45f4c3
test byte [ebp - 0x18], 0x10
jne 0x45f376
test cl, cl
je 0x45f4c3
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x5c]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sub eax, ecx
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x50]
sub eax, edx
mov dword [ebp - 0x1dc], ecx
mov dword [ebp - 0x1d0], eax
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1d8], edx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x214]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xbf], 0
je 0x45f465
mov esi, dword [ebp - 0x18]
and esi, 4
je 0x45f427
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1dc]
add dword [ebp - 0x54], eax
add ecx, eax
push 1
push dword [ebp - 0x1d0]
mov dword [ebp - 0x1dc], ecx
push eax
push dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x10]
push ecx
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_MoveWindow]
call eax
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x210]
sub eax, ecx
add edx, dword [ebp - 0x1d4]
push 1
push eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x20c], edx
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [ebp - 0x4c]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [ebp - 0x18]
jmp 0x45f46d
mov edx, dword [ebp - 0x18]
mov esi, edx
and esi, 4
test esi, esi
je 0x45f484
mov ecx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1dc], ecx
sub eax, ecx
jmp 0x45f48d
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x5c]
cmp byte [ebp - 0x6e], 0
mov dword [ebp - 0x1d4], eax
jne 0x45f4d7
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 4], 9
jne 0x45f4c9
mov byte [ebp - 0x6e], 1
test dl, 0x40
je 0x45f4b7
mov dword [ebp - 0x1c0], 0x7fff
jmp 0x45f4d7
mov dword [ebp - 0x1c4], 0x7fff
jmp 0x45f4d7
cmp byte [ebp - 0x6e], 0
jne 0x45f4d7
mov byte [ebp - 0x6e], 1
mov dword [ebp - 0x1c0], 0x64
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x1fc]
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00466e20
mov ecx, dword [ebp + 0x10]
call fcn.0040df30
mov ecx, dword [ebp - 0x10]
push eax
push 0
movsx eax, byte [ecx + 5]
sar eax, 0x1f
and eax, 0xa
add eax, 0x467
push eax
push dword [ecx]
call edi
jmp 0x45e47a
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.msctls_trackbar32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je 0x45e47a
lea eax, [ebp - 0x1fc]
push eax
push ecx
mov ecx, esi
call fcn.00466f20
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x45e47a
mov ecx, eax
call fcn.0040df30
push eax
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00466ed0
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0x405
push dword [eax]
call edi
jmp 0x45e47a
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.msctls_progress32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
je 0x45e47a
push dword [ebp - 0x18]
lea eax, [ebp - 0x1fc]
push eax
push ecx
mov ecx, esi
call fcn.00467100
mov eax, dword [ebp + 0x10]
cmp word [eax], 0
je 0x45f615
push 0
mov ecx, eax
call fcn.0040df30
push eax
mov eax, dword [ebp - 0x10]
push 0x402
push dword [eax]
call edi
mov byte [ebp - 0x2e], 0
jmp 0x45e47a
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push 0x4ac22c
push str.SysTabControl32
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je case.0x45e427.20
cmp byte [ebp - 0x69], 0
mov esi, dword [ebp - 0x14]
je 0x45f69b
lea eax, [ebp - 0x1fc]
push eax
push ecx
mov ecx, esi
call fcn.00467d50
test eax, eax
jne 0x45f698
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x45e47a
mov ecx, dword [ebp - 0x10]
mov al, byte [ebp - 0x68]
test al, al
je 0x45f6b3
movsx eax, al
push eax
push str.aecs_autosize
push dword [ecx]
call dword [sym.imp.USER32.dll_SetPropW]
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
mov byte [esi + 0xb8], al
mov eax, dword [ebp - 0x10]
push 0x4666f0
push 0xfffffffffffffffc
mov byte [esi + 0xba], 0
push dword [eax]
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
call eax
mov dword [0x4d2118], eax
jmp 0x45e47a
cmp byte [0x4d5e84], 0
jne 0x45f736
push 0x4c7910
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x45f736
push str.AtlAxWinInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45f724
call eax
test eax, eax
setne al
mov byte [0x4d5e84], al
jmp 0x45f729
mov al, byte [0x4d5e84]
test al, al
jne 0x45f736
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push dword [0x4d16c4]
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push dword [ebp - 0x18]
push dword [ebp + 0x10]
push str.AtlAxWin
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [ebp - 0x10]
mov dword [esi], eax
test eax, eax
je case.0x45e427.20
mov ecx, eax
call fcn.00456570
mov ecx, eax
test ecx, ecx
jne 0x45f79b
push dword [esi]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi], 0
jmp case.0x45e427.20
mov eax, dword [esi + 8]
push ecx
test eax, eax
je 0x45f7af
mov ecx, eax
call fcn.00475c90
jmp case.0x45e427.20
mov eax, dword [ecx]
call dword [eax + 8]
jmp case.0x45e427.20
mov ax, word [ebp - 0x66]
test ax, ax
jne 0x45f7db
push 0x4ac22c
push str.A_window_class_is_required.
mov ecx, 0x4d3ee0
call fcn.0042d580
jmp 0x45fbf9
push 0
push dword [0x4d16c4]
movzx eax, ax
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1d0]
push dword [ebp - 0x1d4]
push dword [ebp - 0x1d8]
push dword [ebp - 0x1dc]
push edx
push dword [ebp + 0x10]
push eax
jmp 0x45e469
push esi
mov esi, dword [ebp - 0x14]
push dword [esi + 4]
push dword [ebp + 0x10]
push edx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
test eax, eax
je 0x45e47a
mov ecx, dword [ebp - 0x19c]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je 0x45e47a
push ecx
push 0
push 0x2001
push eax
call edi
jmp 0x45e47a
inc dword [esi + 0x10]
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0x1e0]
mov byte [esi + 0xbf], al
test ecx, ecx
je 0x45f86c
push dword [edx]
call fcn.00475090
mov edx, dword [ebp - 0x10]
cmp byte [edx + 4], 6
jne 0x45f893
mov ecx, dword [ebp - 0x190]
test ecx, ecx
je 0x45f88d
mov eax, dword [esi + 0x10]
push ecx
dec eax
mov ecx, esi
push eax
push edx
call fcn.00466d10
mov edx, dword [ebp - 0x10]
mov byte [esi + 0x44], 1
jmp 0x45f897
mov byte [esi + 0x44], 0
test dword [ebp - 0x1f8], 0x10000000
je 0x45f8a7
or byte [edx + 5], 8
test dword [ebp - 0x1fc], 0x8000000
je 0x45f8b7
or byte [edx + 5], 0x10
cmp byte [ebp - 0x2e], 0
jne 0x45f8e1
cmp dword [edx + 0x10], 0xff000000
je 0x45f8d5
mov al, byte [edx + 4]
cmp al, 5
je 0x45f8e1
cmp al, 6
je 0x45f8e1
cmp al, 3
je 0x45f8e1
cmp byte [edx + 4], 3
jne 0x45f8fb
test byte [edx + 5], 0x40
je 0x45f8fb
mov eax, dword [ebp - 0x10]
mov edx, 0x4ac22c
push 0x4ac22c
mov ecx, dword [eax]
call fcn.00474ca0
mov edx, dword [ebp - 0x10]
add esp, 4
cmp byte [ebp + 0xf], 0
jne 0x45f925
cmp byte [ebp - 0x2f], 0
je 0x45f925
imul ecx, dword [esi + 0x50], 0x94
movzx eax, byte [ebp + 0xb]
push eax
mov eax, dword [0x4d3e40]
push dword [ecx + eax + 0x90]
push 0x30
push dword [edx]
call edi
cmp dword [ebp - 0x74], 4
jne 0x45f938
mov eax, dword [ebp - 0x10]
push 0
push 0
push 0xb
push dword [eax]
call edi
push 0
push dword [ebp - 0x1c8]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call fcn.00462e90
mov eax, dword [ebp - 0x10]
cmp byte [eax + 4], 0x13
jne 0x45fa06
movss xmm0, dword [ebp - 0x1cc]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x45f9f4
lea ecx, [ebp - 0x5c]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x18]
mov eax, ecx
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
and al, 0x82
cmp al, 2
jne 0x45f99e
mov eax, dword [ebp - 0x10]
and ecx, 0xfffffffd
push ecx
push 0xfffffffffffffff0
mov byte [ebp + 0xb], 1
push dword [eax]
call esi
jmp 0x45f9a2
mov byte [ebp + 0xb], 0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x10]
push 1
push 0x1328
push dword [eax]
call edi
cmp byte [ebp + 0xb], 0
je 0x45f9c6
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 0xfffffffffffffff0
push dword [eax]
call esi
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
push 1
push eax
push dword [ebp - 0x1d4]
mov dword [ebp - 0x1d0], eax
push dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x1dc]
push dword [eax]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x45fa03
cmp byte [ebp - 0x69], 0
je 0x45fa06
push dword [eax]
mov ecx, esi
call fcn.00467e50
mov eax, dword [ebp - 0x10]
cmp byte [ebp - 0x1a], 0
je 0x45fa61
lea ecx, [ebp - 0x5c]
push ecx
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
cmp byte [ebp - 0x28], 9
mov dword [ebp - 0x1d4], eax
jne 0x45fa61
test dword [ebp - 0x18], 0x100000
je 0x45fa61
mov ecx, dword [ebp - 0x194]
test ecx, ecx
jns 0x45fa52
lea ecx, [eax + eax*2]
mov dword [ebp - 0x194], ecx
mov eax, dword [ebp - 0x10]
push 0
push ecx
push 0x194
push dword [eax]
call edi
mov ecx, dword [ebp - 0x38]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [ebp - 0x24]
test ecx, ecx
je 0x45fad0
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 4]
jne 0x45fad0
cmp byte [ebp - 0x30], 0
je 0x45fab7
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x38]
cmp byte [ecx + 5], 0
jge 0x45fad0
mov eax, dword [ebp - 0x10]
push 0x13
push 0
push 0
push 0
push 0
push dword [eax]
push dword [ecx]
call esi
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x45faec
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp byte [ebp - 0x28], 0x19
je 0x45fbf4
mov ecx, dword [edx + 4]
cmp edi, ecx
je 0x45fb34
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1d8]
push 1
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1dc], esi
mov dword [ebp - 0x1d8], edi
jmp 0x45fb40
mov edi, dword [ebp - 0x1d8]
mov esi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x1d4]
mov dword [edx + 0x8c], ecx
add ecx, edi
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x88], eax
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
lea edx, [esi + eax]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ecx + 4]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
jne 0x45fb9f
cmp byte [ebp - 0x68], 0
jne 0x45fb9f
cmp edx, dword [eax + 0x90]
jle 0x45fb91
mov dword [eax + 0x90], edx
cmp ecx, dword [eax + 0x94]
jle 0x45fb9f
mov dword [eax + 0x94], ecx
cmp byte [ebp - 0x6c], 0
jne 0x45fbd9
mov eax, dword [eax + 0x10]
cmp eax, 1
je 0x45fbd9
cmp eax, 2
jne 0x45fbbe
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
cmp byte [eax + 4], 0x19
je 0x45fbd9
mov eax, dword [ebp - 0x14]
cmp edx, dword [eax + 0xa0]
jle 0x45fbcf
mov dword [eax + 0xa0], edx
cmp ecx, dword [eax + 0xa4]
jle 0x45fbf4
jmp 0x45fbee
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x98], esi
mov dword [eax + 0x9c], edi
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], ecx
mov eax, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc