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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x495c5b
push eax
mov dword fs:[0], esp
sub esp, 0x658
push ebx
mov ebx, dword [esp + 0x66c]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45d8aa
push 0x4997f1
push str.Too_many_controls.
mov ecx, 0x4acd80
call fcn.0042ec80
jmp 0x4604ea
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45d8d7
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.004869d7
add esp, 8
test eax, eax
je 0x45d891
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 + 0x67c]
cmp al, 0x14
jne 0x45d90d
or byte [ebp + 5], 0x80
mov byte [esp + 0x67c], 0x13
jmp 0x45d911
cmp al, 0x13
jne 0x45d946
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45d934
push 0x4997f1
push str.Too_many_tab_controls.
mov ecx, 0x4acd80
call fcn.0042ec80
jmp 0x4604ea
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0x67c]
jmp 0x45d97e
cmp al, 0x18
jne 0x45d96f
cmp dword [ebx + 8], 0
je 0x45d969
push 0x4997f1
push str.Too_many_status_bars.
mov ecx, 0x4acd80
call fcn.0042ec80
jmp 0x4604ea
mov byte [ebp + 6], 0xff
jmp 0x45d981
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 0x45d9fe
cmp dword [ebx + 0x78], edi
jne 0x45d9c0
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4accd4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a1900]
call fcn.00493e40
mov ecx, dword [0x4acd2c]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45d9ee
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4accd4]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x4a1920]
call fcn.00493e40
mov ecx, dword [0x4acd2c]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0x67c]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x6c]
mov byte [ebp + 4], al
call fcn.004635e0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x6c], 0x10000000
mov byte [esp + 0x1fc], al
mov al, byte [esp + 0x67c]
cmp al, 6
jne 0x45da42
or dword [esp + 0x6c], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45da60
or dword [esp + 0x6c], 0x20000
jmp 0x45da60
cmp byte [ebx + 0x44], 0
je 0x45da50
or dword [esp + 0x6c], 0x20000
cmp al, 2
je 0x45da7d
cmp al, 0x10
je 0x45da7d
cmp al, 0x11
je 0x45da7d
cmp al, 0x12
je 0x45da7d
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x33], 1
je 0x45da71
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xc8], edx
jmp 0x45da8d
mov byte [esp + 0x33], 0
cmp al, 0x12
jne 0x45da8d
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x40], eax
add eax, 0xfffffffc
mov edi, 0x10000
cmp eax, 0x14
ja case.0x45daa5.6
jmp dword [eax*4 + 0x460508]
or dword [esp + 0x6c], 0x210000
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x210042
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x210080
or dword [esp + 0x74], 0x200
jmp case.0x45daa5.6
or dword [esp + 0x7c], 0x30
or dword [esp + 0x6c], 0x10008
or dword [esp + 0x74], 0x200
mov dword [esp + 0x80], 1
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x10027
or dword [esp + 0x74], 0x200
jmp case.0x45daa5.6
or dword [esp + 0x6c], edi
or dword [esp + 0x74], 0x200
jmp case.0x45daa5.6
or dword [esp + 0x6c], edi
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x36
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x1000c
jmp case.0x45daa5.6
or dword [esp + 0x6c], 1
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x10200
mov byte [esp + 0x1fc], 0
jmp case.0x45daa5.6
or dword [esp + 0x6c], 0x4000000
jmp case.0x45daa5.6
test dword [ebx + 0x3c], 0x40000
je 0x45db68
or dword [esp + 0x6c], 0x100
or dword [esp + 0x6c], 0x800
mov ecx, dword [esp + 0x680]
push 0
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.00461090
test eax, eax
je 0x4604ea
mov cl, byte [esp + 0x67c]
mov eax, dword [esp + 0xc8]
cmp cl, 0xa
je 0x45dba5
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xcc]
setne dl
mov byte [esp + 0x1fa], dl
cmp eax, 0xff000000
jne 0x45dbd4
cmp cl, 0xb
je 0x45dbf5
mov dword [esp + 0xcc], 0xffffffff
jmp 0x45dbf5
cmp eax, 0xffffffff
jne 0x45dbf5
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45dbf5
cmp cl, 0x12
je 0x45dbf5
cmp cl, 0x18
je 0x45dbf5
mov dword [esp + 0xcc], ebx
mov esi, dword [esp + 0x70]
mov eax, SysReAllocString
cmp dword [esp + 0x94], eax
jne 0x45dc42
cmp dword [esp + 0x98], eax
jne 0x45dc42
fld dword [0x4a1918]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45dc42
mov eax, dword [esp + 0x684]
mov edi, 0x4a0b8c
call fcn.004093a0
mov edi, 0x10000
test eax, eax
jne 0x45dc42
xor ecx, ecx
jmp 0x45dc4c
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x78]
not eax
and eax, dword [esp + 0x74]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x45dc83.10
movzx eax, byte [eax + 0x460584]
jmp dword [eax*4 + 0x46055c]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45dda1
test bl, 1
je 0x45dcab
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45dda1
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45dda1
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45dcd2
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45dc83.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45dc83.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45dcfa
test edi, esi
jne 0x45dcfa
or eax, edi
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45dc83.10
or ebx, 3
jmp 0x45dda1
test bl, 1
je 0x45dd1d
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45dda1
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45dda1
fld dword [0x4a1918]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jnp 0x45dd53
mov eax, dword [esp + 0x684]
push 0xa
push eax
call fcn.00486421
mov esi, dword [esp + 0x78]
add esp, 8
test eax, eax
je 0x45dd60
mov ecx, esi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45dc83.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45dda1
mov edx, dword [esp + 0x678]
or ebx, 0x4000000
cmp dword [edx + 0x60], 0
je 0x45dd8a
test byte [ebp + 5], 0x20
je 0x45dd93
cmp dword [ebp + 0x10], 0xff000000
je 0x45dd9b
or ebx, 0x2000
jmp 0x45dda1
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0x67c], 4
jne 0x45df4a
cmp dword [ebp + 0xc], 0
lea esi, [ebp + 0xc]
jne 0x45df4a
test byte [ebp + 5], 1
jne 0x45df4a
mov eax, dword [esp + 0x678]
mov eax, dword [eax]
cmp byte [eax], 0x31
jne 0x45dde8
cmp byte [eax + 1], 0
jne 0x45dde8
mov byte [esp + 0x264], 0
jmp 0x45ddfb
lea edx, [esp + 0x264]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45ddf1
mov ecx, dword [esp + 0x684]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x26c]
call fcn.00472750
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea edx, [esp + 0x27c]
push 0x4a0b9c
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea eax, [esp + 0x294]
push 0x49ed98
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea ecx, [esp + 0x2ac]
push 0x499824
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea edx, [esp + 0x274]
push 0x49d658
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea eax, [esp + 0x28c]
push 0x49f2dc
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
push 0
push 0xffffffffffffffff
push 1
push 0x4997f1
lea ecx, [esp + 0x2a4]
push 0x4a0ba0
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.00472ed0
add esp, 0x48
cmp byte [esp + 0x264], 0
je 0x45df43
mov edi, dword [0x4acd90]
test edi, edi
je 0x45df1f
nop
mov eax, dword [edi + 4]
lea edx, [esp + 0x264]
push edx
push eax
call fcn.00485431
add esp, 8
test eax, eax
je 0x45df45
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x45df00
push 0
push 0
lea eax, [esp + 0x26c]
push eax
mov ecx, 0x4acd80
call fcn.0041f1a0
test eax, eax
je 0x45df43
cmp dword [eax + 0x14], 4
jg 0x45df43
mov edi, eax
jmp 0x45df45
xor edi, edi
call fcn.00409520
mov edi, dword [esp + 0x678]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00467b60
xor edx, edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x25c], edx
mov dword [esp + 0x670], edx
mov ecx, dword [edi + 0x10]
cmp ecx, edx
je 0x45df82
mov esi, dword [edi + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*4 - 0x14]
jmp 0x45df89
lea ecx, [esp + 0x250]
mov dword [esp + 0x38], ecx
mov ecx, SysReAllocString
cmp dword [esp + 0x8c], ecx
jne 0x45e06e
cmp dword [esp + 0x90], ecx
jne 0x45e06e
cmp eax, edx
je 0x45dff1
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.00467cc0
test eax, eax
jne 0x45dff1
mov ebx, dword [esp + 0x678]
mov esi, dword [esp + 0x54]
push ebx
lea edi, [esp + 0x60]
call fcn.00467cf0
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 0x45e01b
mov edx, dword [edi + 0x8c]
add edx, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
add edx, dword [edi + 0x7c]
mov ebx, dword [esp + 0x678]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov al, byte [esp + 0x67c]
cmp al, 1
je 0x45e02a
cmp al, 0x16
jne 0x45e067
cmp dword [ebx + 0x10], 0
je 0x45e067
mov ecx, dword [esp + 0x38]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45e03f
cmp al, 0x16
jne 0x45e067
mov al, byte [ecx + 6]
cmp al, byte [ebp + 6]
jne 0x45e067
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45e067
mov edx, dword [0x4acd2c]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x90], eax
mov edi, dword [esp + 0x678]
mov cl, byte [esp + 0x67c]
cmp cl, 0xe
je 0x45e089
cmp cl, 0xa
je 0x45e089
mov byte [esp + 0x15], 0
cmp cl, 0xb
jne 0x45e08e
mov byte [esp + 0x15], 1
cmp byte [esp + 0x15], 0
fld1
sete bl
cmp dword [esp + 0x98], 0x80000000
mov byte [esp + 0x1e], bl
jne 0x45e201
fcom dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45e201
mov eax, dword [esp + 0x40]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45e0d6.4
movzx eax, byte [eax + 0x4605c4]
jmp dword [eax*4 + 0x460598]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4a1914]
fstp dword [esp + 0x9c]
test al, 1
je 0x45e0fc
test al, 2
je 0x45e222
cmp byte [0x4ad542], 0
je 0x45e222
test eax, 0x400
jne 0x45e222
xor bl, bl
mov byte [esp + 0x1e], bl
jmp 0x45e222
fstp st(0)
fld dword [0x4a1910]
fstp dword [esp + 0x9c]
jmp 0x45e222
fstp st(0)
fld dword [0x4a190c]
fstp dword [esp + 0x9c]
jmp 0x45e222
mov ecx, dword [esp + 0x684]
cmp byte [ecx], 0
jne case.0x45e0d6.4
test byte [esp + 0x10], 4
je case.0x45e0d6.13
fstp st(0)
fld dword [0x4a1914]
fstp dword [esp + 0x9c]
jmp 0x45e222
test byte [esp + 0x10], 0x40
fstp st(0)
je 0x45e121
mov edx, dword [edi + 0x50]
mov eax, dword [0x4accd4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
mov ecx, dword [0x4acd2c]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp 0x45e222
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45e1c2
fld dword [0x4a1910]
fstp dword [esp + 0x9c]
jmp 0x45e222
push eax
mov eax, dword [esp + 0xbc]
call fcn.004673b0
mov dword [esp + 0x98], eax
jmp 0x45e222
test byte [esp + 0x10], 4
fstp st(0)
je 0x45e17f
fld dword [0x4a1910]
fstp dword [esp + 0x9c]
jmp 0x45e222
fstp st(0)
fld dword [0x4a1908]
fstp dword [esp + 0x9c]
jmp 0x45e222
fstp st(0)
cmp cl, 7
je 0x45e20d
cmp cl, 8
jne 0x45e222
cmp byte [0x4ad542], 0
je 0x45e222
or dword [esp + 0x10], 0x400
jmp 0x45e222
fstp st(0)
fldz
xor esi, esi
fld dword [esp + 0x9c]
mov dword [esp + 0x24], esi
fcom st(1)
mov dword [esp + 0x3c], esi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45e3aa
mov al, byte [esp + 0x67c]
cmp al, 3
je 0x45e257
cmp al, 6
jbe 0x45e266
cmp al, 8
ja 0x45e266
fadd qword [0x4a18b0]
fstp dword [esp + 0x9c]
jmp 0x45e268
fstp st(0)
test bl, bl
je 0x45e38a
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4accd4]
mov esi, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x218]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0x9c]
fld st(0)
fld qword [0x4a18c8]
fadd st(1), st(0)
fxch st(1)
call fcn.00493e40
fild dword [esp + 0x218]
mov ebx, eax
lea ecx, [ebx - 1]
imul ecx, dword [esp + 0x228]
fmulp st(2)
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
faddp st(2)
faddp st(1)
call fcn.00493e40
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45e308.5
movzx edx, byte [eax + 0x4605f0]
jmp dword [edx*4 + 0x4605dc]
mov eax, dword [0x4acd2c]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x10], 0x100000
je case.0x45e308.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp case.0x45e308.5
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4acd2c]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
jmp case.0x45e308.5
mov edx, dword [edi + 0x7c]
imul edx, ebx
add dword [esp + 0x98], edx
jmp case.0x45e308.5
inc ebx
imul ebx, dword [edi + 0x7c]
add dword [esp + 0x98], ebx
jmp case.0x45e308.5
cmp byte [esp + 0x15], 0
jne case.0x45e308.5
mov eax, dword [0x4acd2c]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x98], eax
jmp case.0x45e308.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x32], 0
cmp dword [esp + 0x98], eax
je 0x45e3cc
cmp dword [esp + 0x94], eax
jne case.0x45e805.4
mov eax, dword [esp + 0x40]
xor ebx, ebx
dec eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x400
cmp eax, 0x15
ja case.0x45e3ef.2
movzx ecx, byte [eax + 0x460614]
jmp dword [ecx*4 + 0x460608]
mov edx, dword [esp + 0x684]
cmp byte [edx], bl
je case.0x45e3ef.2
test esi, esi
jne 0x45e435
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x218]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebx, dword [esp + 0x22c]
add ebx, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x34], ebx
je 0x45e46a
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x2c40
test esi, esi
jne 0x45e4a2
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4accd4]
mov esi, eax
mov eax, dword [edi + 0x50]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x50]
push edx
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x67c]
cmp al, 1
jne 0x45e4c3
or dword [esp + 0x2c], 0x40
test byte [esp + 0x10], 0x80
je 0x45e4f8
or dword [esp + 0x2c], 0x800
jmp 0x45e4f8
cmp al, 5
je 0x45e4cb
cmp al, 6
jne 0x45e4f8
lea eax, [esp + 0x218]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x22c]
lea ebx, [ebx + eax + 2]
mov al, byte [esp + 0x67c]
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
je 0x45e50c
or dword [esp + 0x2c], 0x10
xor edx, edx
mov dword [esp + 0x208], edx
mov dword [esp + 0x20c], edx
cmp ecx, 0x80000000
jne 0x45e52d
mov dword [esp + 0x210], edx
jmp 0x45e536
sub ecx, ebx
mov dword [esp + 0x210], ecx
mov ecx, dword [esp + 0x98]
mov edx, ecx
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, ecx
mov dword [esp + 0x214], edx
cmp al, 0x16
jne 0x45e6ae
test byte [esp + 0x10], 4
je 0x45e569
or dword [esp + 0x2c], 0x800
mov eax, dword [esp + 0x684]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e573
sub eax, edx
inc eax
push eax
call fcn.00486579
mov ecx, eax
mov eax, dword [esp + 0x688]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x18], ecx
mov ebx, eax
mov dword [esp + 0x58], ecx
je 0x45e66d
cmp byte [ebx], 0x3c
jne 0x45e656
mov al, byte [ebx + 1]
call fcn.00409370
cmp al, 0x41
jne 0x45e656
lea esi, [ebx + 2]
mov edi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x45e5ca
cmp al, 9
jne 0x45e5cd
inc esi
jmp 0x45e5c0
cmp byte [esi], 0x3e
je 0x45e623
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x45e5f1
push 0x107
push eax
call fcn.0048696e
add esp, 8
test eax, eax
je 0x45e5f1
inc esi
jmp 0x45e5d2
cmp byte [esi], 0x3d
jne 0x45e656
cmp byte [esi + 1], 0x22
jne 0x45e656
push 0x22
add esi, 2
push esi
call fcn.00486421
add esp, 8
test eax, eax
je 0x45e656
lea esi, [eax + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x45e61b
cmp al, 9
jne 0x45e61e
inc esi
jmp 0x45e611
cmp byte [esi], 0x3e
jne 0x45e5d2
inc esi
je 0x45e656
push str.__a_
mov eax, esi
call fcn.00472a90
add esp, 4
test eax, eax
je 0x45e656
mov ecx, esi
cmp esi, eax
jae 0x45e651
mov esi, dword [esp + 0x58]
mov dl, byte [ecx]
mov byte [esi], dl
inc ecx
inc esi
cmp ecx, eax
jb 0x45e643
mov dword [esp + 0x58], esi
lea ebx, [eax + 3]
jmp 0x45e663
mov eax, dword [esp + 0x58]
mov cl, byte [ebx]
mov byte [eax], cl
inc eax
mov dword [esp + 0x58], eax
inc ebx
cmp byte [ebx], 0
jne 0x45e5a2
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x18]
mov byte [edx], 0
cmp byte [eax], 0
jne 0x45e682
mov eax, 0x4a0bac
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x20c]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x18]
push ecx
mov esi, eax
call fcn.004868ab
add esp, 4
jmp 0x45e6d8
mov eax, dword [esp + 0x684]
cmp byte [eax], 0
jne 0x45e6bf
mov eax, 0x4a0bac
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x20c]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, eax
mov ebx, dword [esp + 0x210]
mov eax, dword [esp + 0x98]
sub ebx, dword [esp + 0x208]
cmp eax, 0x80000000
je 0x45e702
cmp esi, eax
jle 0x45e766
cmp byte [esp + 0x67c], 0xc
je 0x45e766
mov al, byte [esp + 0x67c]
mov dword [esp + 0x98], esi
cmp al, 0xc
jne 0x45e747
mov edx, dword [0x4acd2c]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x98], eax
test dword [esp + 0x10], 0x100000
je 0x45e766
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x98], eax
jmp 0x45e766
cmp al, 4
jne 0x45e766
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4accd4]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x44]
lea eax, [edx + esi + 2]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
cmp eax, 0x80000000
je 0x45e778
cmp ebx, eax
jle case.0x45e3ef.2
add ebx, dword [esp + 0x34]
cmp byte [esp + 0x67c], 4
mov byte [esp + 0x32], 1
mov dword [esp + 0x94], ebx
jne case.0x45e3ef.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4accd4]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [edx + eax*2]
add dword [esp + 0x94], eax
cmp dword [esp + 0x94], 0x80000000
jne case.0x45e805.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [0x4acd2c]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x40]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45e805.4
movzx edx, byte [ecx + 0x46064c]
jmp dword [edx*4 + 0x46062c]
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
add eax, eax
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
test byte [esp + 0x10], 0x40
je 0x45e836
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4acd2c]
push 0x60
add eax, eax
push ecx
push eax
call esi
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45e805.7
mov eax, dword [esp + 0xb8]
push ecx
call fcn.004673b0
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
test byte [esp + 0x10], 4
je case.0x45e805.7
mov edx, dword [edi + 0x50]
mov eax, dword [0x4accd4]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
jmp 0x45e846
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x94], eax
jmp case.0x45e805.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x67c], 0xc
jne 0x45e9ce
test byte [esp + 0x10], 4
jne 0x45e9ce
fld1
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 0x41
jne 0x45e9ce
cmp dword [esp + 0x24], 0
jne 0x45e911
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x218]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [0x4acd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x98]
mov ebx, dword [esp + 0x10]
sub esi, eax
sub esi, dword [esp + 0x218]
mov dword [esp + 0x18], esi
test ebx, 0x100000
je 0x45e963
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jle 0x45e9c5
mov edx, dword [esp + 0x228]
fild dword [esp + 0x18]
add edx, dword [esp + 0x218]
mov dword [esp + 0x18], edx
fidiv dword [esp + 0x18]
fadd qword [0x4a18b0]
fstp dword [esp + 0x9c]
fld dword [0x4a1918]
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45e9ce
mov eax, dword [esp + 0x70]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x10], ebx
test bl, 4
je 0x45e9ce
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x45e9ce
fld1
fstp dword [esp + 0x9c]
cmp byte [esp + 0x1fc], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x31]
push edx
mov byte [esp + 0x19], 0
add esi, 3
mov byte [esp + 0x1b], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45ea0c
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x16], 1
test eax, eax
je 0x45ea11
mov byte [esp + 0x16], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2b], 0
jae 0x45ea62
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x45ea5a
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x45ea5a
mov edx, dword [ebx]
push 0
push 0
push 0x130b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45ea5a
mov dl, byte [esp + 0x16]
mov byte [esp + 0x2b], dl
jmp 0x45ea62
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
dec eax
cmp eax, 0x17
ja case.0x45ea76.20
jmp dword [eax*4 + 0x460664]
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x6a0]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45ea76.20
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x6a0]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.SysLink
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45ea76.20
mov ecx, dword [esp + 0x94]
cmp ecx, 0x80000000
jne 0x45eb39
xor ecx, ecx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45eb50
xor eax, eax
mov dword [esp + 0x98], eax
mov edx, dword [0x4aad18]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x6a0]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xdc]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x690]
push eax
push ecx
push edx
call fcn.00473ce0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45ea76.20
mov esi, dword [esp + 0x18]
mov ecx, dword [ebp]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xe
or eax, dword [esp + 0x10]
push eax
push 0xfffffffffffffff0
push ecx
call ebx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push esi
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test esi, esi
jne 0x45ec1f
and byte [ebp + 5], 0x7f
mov byte [esp + 0x15], 1
jmp case.0x45ea76.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x15], 1
jmp case.0x45ea76.20
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x6a0]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45ea76.20
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x6a0]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
test byte [esp + 0x10], 1
je case.0x45ea76.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x45ed1f
mov edx, dword [edi + 0x18]
push 1
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [edi + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
and eax, 0xfffe
push eax
mov eax, dword [edi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call esi
jmp 0x45ed25
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 4]
push 0
mov dword [edi + 0x1c], eax
add eax, 3
push eax
push 0x401
push ecx
call esi
movzx edx, word [esp + 0x10]
mov eax, dword [ebp]
push 1
push edx
push 0xf4
push eax
call esi
jmp case.0x45ea76.20
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x6a0]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
mov ecx, dword [esp + 0xd8]
test ecx, ecx
je case.0x45ea76.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45ea76.20
cmp dword [esp + 0xd0], 0
je 0x45ede2
cmp byte [ebp + 4], 8
jne 0x45ede2
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4aad18]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x98]
mov ebx, dword [esp + 0x10]
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 + 0x38]
push edx
push eax
push ebx
push 0x4997f1
push str.Combobox
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
mov ecx, dword [edi + 0x50]
movzx edx, byte [esp + 0x16]
imul ecx, ecx, 0x54
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
mov edx, dword [0x4accd4]
mov ecx, dword [ecx + edx + 0x50]
push ecx
push 0x30
push eax
call esi
cmp byte [esp + 0x1e], 0
mov byte [esp + 0x17], 1
je 0x45eefc
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call esi
mov dword [esp + 0x34], eax
test bl, 1
je 0x45ee89
mov esi, 4
test bl, 2
je 0x45ee8e
mov esi, 2
mov eax, dword [0x4acd2c]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push eax
push 8
call ebx
mov ecx, dword [esp + 0x34]
add eax, esi
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x98]
cmp ecx, eax
jge 0x45eebf
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45ef03
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45ef03
mov edx, dword [0x4acd2c]
push 0x60
push edx
push 8
call ebx
fild dword [esp + 0x34]
mov ebx, eax
fmul dword [esp + 0x9c]
call fcn.00493e40
lea ecx, [esi + eax]
add ecx, ebx
mov dword [esp + 0x98], ecx
jmp 0x45ef03
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x8c]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x15], 1
jmp case.0x45ea76.20
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4997f1
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
mov ecx, dword [esp + 0x1a8]
test ecx, ecx
je 0x45efa5
lea edx, [esp + 0xe0]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x16]
imul ecx, ecx, 0x54
mov edx, dword [0x4accd4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ecx + edx + 0x50]
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 + 0x27], 1
call esi
mov ebx, eax
mov eax, dword [0x4acd2c]
push 0x60
push eax
push 8
mov dword [esp + 0x40], ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [ebx + eax]
mov ebx, dword [esp + 0x10]
and ebx, 0x100000
je 0x45f00d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jge 0x45f01c
mov ecx, esi
jmp 0x45f06e
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x45f075
mov ecx, dword [0x4acd2c]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x34]
mov esi, eax
fmul dword [esp + 0x9c]
call fcn.00493e40
lea ecx, [esi + eax]
mov dword [esp + 0x98], ecx
test ebx, ebx
je 0x45f075
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 + 0x15], 1
jmp case.0x45ea76.20
mov eax, dword [esp + 0x80]
cmp eax, 4
je 0x45f0bd
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45f0d0
mov eax, 0xc8
mov edx, dword [0x4aad18]
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 + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4997f1
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45ea76.20
push 0x3f8
call fcn.004855e9
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45f145
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45ea76.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.0048e950
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x209]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x45f17d
or byte [eax + 5], 0x80
cmp dword [esp + 0x80], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45f19c
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45f1b2
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x6c]
mov edi, ebp
call fcn.00467520
cmp dword [esp + 0x98], 0x80000000
jne 0x45fde9
mov esi, dword [esp + 0x678]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x16]
imul edx, edx, 0x54
mov eax, dword [0x4accd4]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x80]
dec eax
mov byte [esp + 0x17], 1
je 0x45f35b
sub eax, 3
je 0x45f32d
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x45f243
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov edi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x218]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
cmp dword [esp + 0x80], 0
jne 0x45f2f1
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x45f281
fadd dword [0x4a18f0]
fld dword [esp + 0x9c]
push 0xc
fsub qword [0x4a18b0]
fnstcw word [esp + 0x22]
movzx eax, word [esp + 0x22]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
shr eax, 0x10
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x22]
fild dword [esp + 0x1c]
fstp qword [esp + 0x60]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x9c]
fadd qword [esp + 0x5c]
call fcn.00493e40
mov ecx, dword [esp + 0x218]
lea eax, [eax + ecx + 0x10]
jmp 0x45f399
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x218]
mov dword [esp + 0x18], eax
cmp eax, ecx
jg 0x45f30c
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fld dword [esp + 0x9c]
fld st(0)
fmulp st(2)
fsub qword [0x4a18b0]
faddp st(1)
call fcn.00493e40
add eax, 0xb
jmp 0x45f399
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul dword [esp + 0x9c]
call fcn.00493e40
add eax, 7
jmp 0x45f399
fld dword [esp + 0x9c]
mov ecx, dword [ebp]
fnstcw word [esp + 0x1e]
push 0xffffffffffffffff
movzx eax, word [esp + 0x22]
or eax, 0xc00
mov dword [esp + 0x1c], eax
fldcw word [esp + 0x1c]
fistp qword [esp + 0x60]
mov eax, dword [esp + 0x60]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x2a]
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.0x45ea76.20
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
jne 0x45f3df
mov eax, 0xc8
mov ecx, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4997f1
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
cmp dword [esp + 0xd8], 0
mov dword [edi + 0x4c], ebp
je 0x45f44b
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call ebx
lea edi, [esp + 0x6c]
mov esi, ebp
call fcn.004675d0
mov eax, dword [esp + 0x84]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45f475
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call edi
cmp dword [esp + 0x98], 0x80000000
jne 0x45fde9
mov esi, dword [esp + 0x678]
mov eax, dword [esi + 0x50]
movzx edx, byte [esp + 0x16]
imul eax, eax, 0x54
mov ecx, dword [0x4accd4]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call edi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x27], 1
call edi
mov dword [esp + 0x98], eax
cmp eax, 2
jge 0x45f4e4
mov edx, dword [esi + 0x50]
mov eax, dword [0x4accd4]
imul edx, edx, 0x54
mov ecx, dword [edx + eax + 0x44]
add ecx, ecx
mov dword [esp + 0x98], ecx
fild dword [esp + 0x98]
fmul dword [esp + 0x9c]
call fcn.00493e40
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push 1
add eax, 4
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.0x45ea76.20
mov eax, dword [esp + 0x10]
test al, 4
jne 0x45f558
cmp dword [esp + 0xd0], 0
jge 0x45f546
and eax, 0xffefff7f
jmp 0x45f554
mov ecx, dword [esp + 0x70]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x684]
cmp byte [ecx], 0
je 0x45f57c
test al, 4
je 0x45f57c
mov edi, ecx
call fcn.004733d0
mov edi, dword [esp + 0x678]
mov dword [esp + 0x38], eax
jmp 0x45f582
mov dword [esp + 0x38], ecx
mov eax, ecx
test eax, eax
jne 0x45f58d
mov eax, dword [esp + 0x684]
mov edx, dword [0x4aad18]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x10]
push 0
push edx
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 + 0x3c]
push ecx
push ebx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45f645
test bl, 0x20
je 0x45f5fe
mov cl, byte [esp + 0x1f8]
test cl, cl
je 0x45f5fe
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x45f604
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd0]
test eax, eax
jns 0x45f618
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 0x45f645
mov edx, dword [ebp]
lea ecx, [esp + 0xe0]
push ecx
push eax
push 0xcb
push edx
call esi
mov eax, dword [esp + 0x38]
test eax, eax
je case.0x45ea76.20
cmp eax, dword [esp + 0x684]
je case.0x45ea76.20
push eax
call fcn.00485448
add esp, 4
jmp case.0x45ea76.20
mov eax, dword [esp + 0x684]
cmp byte [eax], 0
mov byte [esp + 0x1e], 0
je 0x45f6c8
mov ebx, eax
push str.LongDate
push ebx
call fcn.00485431
add esp, 8
test eax, eax
jne 0x45f6a1
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45f6c8
push str.Time
push ebx
call fcn.00485431
add esp, 8
test eax, eax
jne 0x45f6c3
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45f6c8
mov byte [esp + 0x1e], 1
mov eax, 2
cmp dword [esp + 0xa0], eax
jne 0x45f6da
or dword [esp + 0x10], eax
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4997f1
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
cmp byte [esp + 0x1e], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45f74b
mov edx, dword [esp + 0x684]
push edx
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x45f76a
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 0x45f791
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.0x45ea76.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45ea76.20
cmp dword [esp + 0x1ec], 0
jne 0x45f7e7
mov edx, dword [esp + 0x684]
cmp byte [edx], 0
je 0x45f7e7
lea eax, [esp + 0x1ac]
mov ecx, edx
call fcn.004721b0
mov dword [esp + 0x1ec], eax
cmp eax, 3
jne 0x45f7e7
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x45f7fb
mov ecx, 0x64
mov eax, dword [esp + 0x94]
test eax, eax
jns 0x45f80b
mov eax, 0x64
mov edx, dword [0x4aad18]
push 0
push edx
mov edx, dword [edi + 4]
push esi
mov esi, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push eax
push ecx
push esi
push 0x4997f1
push str.SysMonthCal32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
and esi, 2
je 0x45f868
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1f0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45f88d
mov edx, dword [ebp]
lea ecx, [esp + 0x1cc]
push ecx
push eax
push 0x1012
push edx
call ebx
mov eax, dword [esp + 0x1ec]
test eax, eax
je 0x45f903
test esi, esi
je 0x45f8ee
cmp eax, 1
jne 0x45f8d9
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 0x45f901
mov ecx, dword [ebp]
lea eax, [esp + 0x1ac]
push eax
push 0
push 0x1002
push ecx
call ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45f91b
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x16]
imul ecx, ecx, 0x54
mov edx, dword [0x4accd4]
push eax
mov eax, dword [ecx + edx + 0x50]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call ebx
mov esi, SysReAllocString
mov byte [esp + 0x17], 1
cmp dword [esp + 0x94], esi
je 0x45f95a
cmp dword [esp + 0x98], esi
jne case.0x45ea76.20
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45fde9
cmp dword [esp + 0x94], 0
jge 0x45f9cc
test byte [esp + 0x10], 0x10
je 0x45f98b
mov eax, dword [esp + 0x4c]
jmp 0x45f9a4
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x45f9a4
mov eax, ecx
mov ecx, dword [esp + 0x94]
cmp ecx, esi
jne 0x45f9b8
mov dword [esp + 0x94], eax
jmp 0x45f9cc
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x94], edx
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jne 0x45fac0
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 0x45fabe
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45fac0
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x45fa41
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4accd4]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x2c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x218]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test byte [esp + 0x10], 0x10
mov esi, dword [esp + 0x218]
je 0x45fa70
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.00493e40
add esi, 0xfffffffe
mov dword [esp + 0x98], eax
fild dword [esp + 0x98]
mov dword [esp + 0x18], esi
fild dword [esp + 0x18]
fxch st(2)
fsub qword [0x4a18b0]
fmulp st(2)
fsubrp st(1)
call fcn.00493e40
mov ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x45fac0
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.0x45ea76.20
mov edx, dword [0x4aad18]
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 + 0x28]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push 0x4997f1
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
mov eax, dword [esp + 0x684]
cmp byte [eax], 0
je 0x45fb63
push 0
call fcn.00467020
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd0]
test eax, eax
jle 0x45fde9
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45ea76.20
test byte [esp + 0x10], 0x10
je 0x45fd45
cmp dword [edi + 8], 0
jne 0x45fbb0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x45fd45
test byte [eax + 5], 0x80
je 0x45fd45
and dword [esp + 0x10], 0xffffffef
mov bl, 1
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4997f1
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
mov esi, dword [esp + 0x38]
test bl, bl
je 0x45fc23
mov ecx, dword [esi]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [edi + 0x10], 0
je 0x45fd92
test byte [esp + 0x10], 0x10
jne 0x45fc3c
test bl, bl
je 0x45fd92
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 + 0x5c]
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 + 0x60]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
mov bl, byte [esp + 0x10]
je 0x45fd26
test bl, 4
je 0x45fcf8
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 + 0x60]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add eax, dword [esp + 0x94]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x6c], 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 0x45fd4c
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], ecx
jmp 0x45fd5b
xor bl, bl
jmp 0x45fbb7
mov edx, dword [esp + 0x64]
sub edx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
cmp byte [esp + 0x1f9], 0
jne 0x45fdaf
cmp byte [esi + 4], 9
jne 0x45fd9c
mov byte [esp + 0x1f9], 1
test bl, 0x40
je 0x45fd85
mov dword [esp + 0xa8], 0x7fff
jmp 0x45fdaf
mov dword [esp + 0xa4], 0x7fff
jmp 0x45fdaf
cmp byte [esp + 0x1f9], 0
jne 0x45fdaf
mov byte [esp + 0x1f9], 1
mov dword [esp + 0xa8], 0x64
lea ecx, [esp + 0x6c]
mov eax, ebp
call fcn.00467360
mov esi, dword [esp + 0x684]
call fcn.0040cea0
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_SendMessageA]
mov edi, dword [esp + 0x678]
mov esi, dword [esp + 0x24]
test esi, esi
je 0x45fe13
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x45fe08
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 0x460186
push 0x4997f1
push str.Cant_create_control.
mov ecx, 0x4acd80
call fcn.0042ec80
jmp 0x4604ea
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4997f1
push str.msctls_trackbar32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
lea eax, [esp + 0x6c]
mov esi, ebp
call fcn.00467440
mov edx, dword [esp + 0x684]
cmp byte [edx], 0
je 0x45fde9
mov esi, edx
call fcn.0040cea0
test byte [ebp + 5], 0x80
je 0x45feb8
push eax
mov edi, ebp
call fcn.00467400
push eax
mov eax, dword [ebp]
push 1
push 0x405
push eax
jmp 0x45fde3
mov ecx, dword [0x4aad18]
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 + 0x28]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push 0x4997f1
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
mov eax, dword [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x74]
mov ecx, ebp
call fcn.00467620
mov ecx, dword [esp + 0x684]
cmp byte [ecx], 0
je 0x45ff59
push 0
mov esi, ecx
call fcn.0040cea0
mov edx, dword [ebp]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x678]
mov byte [esp + 0x31], 0
jmp case.0x45ea76.20
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push 0x4997f1
push str.SysTabControl32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x466b90
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov edx, dword [ebp]
push 0xfffffffffffffffc
push edx
call ebx
mov dword [0x4aad3c], eax
jmp case.0x45ea76.20
cmp byte [0x4addda], 0
jne 0x46002c
push 0x4a07fc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x46002c
push str.AtlAxWinInit
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46001c
call eax
test eax, eax
setne byte [0x4addda]
cmp byte [0x4addda], 0
jne 0x46002c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4aad18]
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 + 0x28]
push ecx
mov ecx, dword [esp + 0x6a0]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push str.AtlAxWin
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45fde9
push eax
call fcn.00456bd0
add esp, 4
test eax, eax
jne 0x4600a4
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45ea76.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4600b7
mov edi, eax
call fcn.004756b0
jmp 0x45fde9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45ea76.20
mov ax, word [esp + 0x1fe]
test ax, ax
jne 0x4600ea
push 0x4997f1
push str.A_window_class_is_required.
mov ecx, 0x4acd80
call fcn.0042ec80
jmp 0x4604ea
mov ecx, dword [0x4aad18]
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 + 0x2c]
push edx
mov edx, dword [esp + 0x6a4]
push ecx
mov ecx, dword [esp + 0x44]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45ea76.20
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x684]
mov ecx, dword [esp + 0x10]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp], eax
test eax, eax
je case.0x45ea76.20
mov ecx, dword [esp + 0xcc]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x45ea76.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45ea76.20
mov al, byte [esp + 0x32]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4601a7
mov ecx, dword [ebp]
push eax
call fcn.00474b10
cmp byte [ebp + 4], 6
jne 0x4601cb
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x4601c5
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.004672b0
mov byte [edi + 0x44], 1
jmp 0x4601cf
mov byte [edi + 0x44], 0
test dword [esp + 0x70], 0x10000000
je 0x4601dd
or byte [ebp + 5], 8
test dword [esp + 0x6c], 0x8000000
je 0x4601eb
or byte [ebp + 5], 0x10
cmp byte [esp + 0x31], 0
jne 0x460216
cmp dword [ebp + 0x10], 0xff000000
je 0x46020a
mov al, byte [ebp + 4]
cmp al, 5
je 0x460216
cmp al, 6
je 0x460216
cmp al, 3
je 0x460216
cmp byte [ebp + 4], 3
jne 0x460222
test byte [ebp + 5], 0x40
je 0x460222
mov ecx, dword [ebp]
push ecx
call fcn.00474850
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x460253
cmp byte [esp + 0x33], 0
je 0x460253
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x16]
imul eax, eax, 0x54
mov ecx, dword [0x4accd4]
push edx
mov edx, dword [eax + ecx + 0x50]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x1f4], 4
jne 0x46026d
mov ecx, dword [ebp]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x684]
cmp byte [eax], 0
je 0x460290
mov edx, dword [esp + 0xa0]
push edx
push edi
mov edi, ebp
call fcn.00463640
mov edi, dword [esp + 0x678]
cmp byte [ebp + 4], 0x13
jne 0x460346
fldz
fcomp dword [esp + 0x9c]
fnstsw ax
test ah, 5
jp 0x460346
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x10]
test al, 2
je 0x4604c6
test al, al
js 0x4604c6
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
and edx, 0xfffffffd
push edx
push 0xfffffffffffffff0
push eax
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x460312
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
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]
cmp byte [esp + 0x15], 0
je 0x4603b5
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push ecx
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 + 0x67c], 9
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
jne 0x4603b5
test dword [esp + 0x10], 0x100000
je 0x4603b5
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x4603a3
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd4], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x54]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x460416
cmp byte [esp + 0x2b], 0
je 0x4603fd
mov ecx, dword [ebp]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x48]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 0
lea ecx, [esp + 0x48]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x460416
mov eax, dword [ebp]
mov ecx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push eax
push ecx
call esi
mov eax, dword [edi + 8]
test eax, eax
je 0x46042c
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x67c], 0x18
je 0x4604e5
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 0x460480
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x46048e
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1fb], 0
jne 0x4604cd
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x4604cd
cmp ebx, 2
jne 0x4604ae
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x18
je 0x4604cd
cmp eax, dword [edi + 0xa0]
jle 0x4604bc
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x4604e5
jmp 0x4604df
xor bl, bl
jmp 0x4602e7
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 + 0x668]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x664
ret 0x10