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

Disassembly:
sub esp, 0x64c
push ebx
mov ebx, dword [esp + 0x654]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45a37d
push 0x4957f9
push str.Too_many_controls.
mov ecx, 0x4a8ce0
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45a3aa
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00482c17
add esp, 8
test eax, eax
je 0x45a35c
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 + 0x664]
cmp al, 0x14
jne 0x45a3e0
or byte [ebp + 5], 0x80
mov byte [esp + 0x664], 0x13
jmp 0x45a3e4
cmp al, 0x13
jne 0x45a421
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45a40f
push 0x4957f9
push str.Too_many_tab_controls.
mov ecx, 0x4a8ce0
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0x664]
jmp 0x45a461
cmp al, 0x18
jne 0x45a452
cmp dword [ebx + 8], 0
je 0x45a44c
push 0x4957f9
push str.Too_many_status_bars.
mov ecx, 0x4a8ce0
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45a464
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 0x45a4e1
cmp dword [ebx + 0x78], edi
jne 0x45a4a3
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4a8c2c]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x49d6c8]
call fcn.0048fec0
mov ecx, dword [0x4a8c84]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45a4d1
mov edx, dword [ebx + 0x50]
mov eax, dword [0x4a8c2c]
imul edx, edx, 0x54
fild dword [edx + eax + 0x44]
fmul qword [0x49d6e8]
call fcn.0048fec0
mov ecx, dword [0x4a8c84]
push 0x60
push ecx
push eax
call esi
mov dword [ebx + 0x7c], eax
mov edx, dword [ebx + 0x78]
mov al, byte [esp + 0x664]
mov dword [ebx + 0x80], edx
mov edi, ebp
lea esi, [esp + 0x70]
mov byte [ebp + 4], al
call fcn.004601d0
movzx eax, byte [ebx + 0x45]
or dword [esp + 0x70], 0x10000000
mov byte [esp + 0x200], al
mov al, byte [esp + 0x664]
cmp al, 6
jne 0x45a525
or dword [esp + 0x70], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45a543
or dword [esp + 0x70], 0x20000
jmp 0x45a543
cmp byte [ebx + 0x44], 0
je 0x45a533
or dword [esp + 0x70], 0x20000
cmp al, 2
je 0x45a560
cmp al, 0x10
je 0x45a560
cmp al, 0x11
je 0x45a560
cmp al, 0x12
je 0x45a560
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x37], 1
je 0x45a554
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xcc], edx
jmp 0x45a570
mov byte [esp + 0x37], 0
cmp al, 0x12
jne 0x45a570
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x44], eax
add eax, 0xfffffffc
mov edi, 0x10000
cmp eax, 0x14
ja case.0x45a588.6
jmp dword [eax*4 + 0x45cf9c]
or dword [esp + 0x70], 0x210000
jmp case.0x45a588.6
or dword [esp + 0x70], 0x210042
jmp case.0x45a588.6
or dword [esp + 0x70], 0x210080
or dword [esp + 0x78], 0x200
jmp case.0x45a588.6
or dword [esp + 0x80], 0x30
or dword [esp + 0x70], 0x10008
or dword [esp + 0x78], 0x200
mov dword [esp + 0x84], 1
jmp case.0x45a588.6
or dword [esp + 0x70], 0x10027
or dword [esp + 0x78], 0x200
jmp case.0x45a588.6
or dword [esp + 0x70], edi
or dword [esp + 0x78], 0x200
jmp case.0x45a588.6
or dword [esp + 0x70], edi
jmp case.0x45a588.6
or dword [esp + 0x70], 0x36
jmp case.0x45a588.6
or dword [esp + 0x70], 0x1000c
jmp case.0x45a588.6
or dword [esp + 0x70], 1
jmp case.0x45a588.6
or dword [esp + 0x70], 0x10200
mov byte [esp + 0x200], 0
jmp case.0x45a588.6
or dword [esp + 0x70], 0x4000000
jmp case.0x45a588.6
test dword [ebx + 0x3c], 0x40000
je 0x45a64e
or dword [esp + 0x70], 0x100
or dword [esp + 0x70], 0x800
mov ecx, dword [esp + 0x668]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.0045db10
test eax, eax
jne 0x45a67c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov cl, byte [esp + 0x664]
mov eax, dword [esp + 0xcc]
cmp cl, 0xa
je 0x45a692
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xd0]
setne dl
mov byte [esp + 0x1fe], dl
cmp eax, 0xff000000
jne 0x45a6c1
cmp cl, 0xb
je 0x45a6e2
mov dword [esp + 0xd0], 0xffffffff
jmp 0x45a6e2
cmp eax, 0xffffffff
jne 0x45a6e2
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45a6e2
cmp cl, 0x12
je 0x45a6e2
cmp cl, 0x18
je 0x45a6e2
mov dword [esp + 0xd0], ebx
mov esi, dword [esp + 0x74]
mov eax, SysReAllocString
cmp dword [esp + 0x98], eax
jne 0x45a72f
cmp dword [esp + 0x9c], eax
jne 0x45a72f
fld dword [0x49d6e0]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jnp 0x45a72f
mov eax, dword [esp + 0x66c]
mov edi, 0x49c9d0
call fcn.00408f20
mov edi, 0x10000
test eax, eax
jne 0x45a72f
xor ecx, ecx
jmp 0x45a739
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x7c]
not eax
and eax, dword [esp + 0x78]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x14], ebx
cmp eax, 0x10
ja case.0x45a770.10
movzx eax, byte [eax + 0x45d018]
jmp dword [eax*4 + 0x45cff0]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45a88e
test bl, 1
je 0x45a798
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x14], ebx
or ebx, ecx
jmp 0x45a88e
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45a88e
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45a7bf
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45a770.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x14], ebx
or dword [esp + 0x14], ecx
jmp case.0x45a770.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45a7e7
test edi, esi
jne 0x45a7e7
or eax, edi
or eax, ecx
mov dword [esp + 0x14], eax
jmp case.0x45a770.10
or ebx, 3
jmp 0x45a88e
test bl, 1
je 0x45a80a
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45a88e
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45a88e
fld dword [0x49d6e0]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jnp 0x45a840
mov eax, dword [esp + 0x66c]
push 0xa
push eax
call fcn.00482661
mov esi, dword [esp + 0x7c]
add esp, 8
test eax, eax
je 0x45a84d
mov ecx, esi
not ecx
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je case.0x45a770.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45a88e
mov edx, dword [esp + 0x660]
or ebx, 0x4000000
cmp dword [edx + 0x60], 0
je 0x45a877
test byte [ebp + 5], 0x20
je 0x45a880
cmp dword [ebp + 0x10], 0xff000000
je 0x45a888
or ebx, 0x2000
jmp 0x45a88e
and ebx, 0xffffdfff
mov dword [esp + 0x14], ebx
cmp byte [esp + 0x664], 4
jne 0x45a9ee
cmp dword [ebp + 0xc], 0
jne 0x45a9ee
test byte [ebp + 5], 1
jne 0x45a9ee
mov eax, dword [esp + 0x660]
mov eax, dword [eax]
cmp byte [eax], 0x31
jne 0x45a8d2
cmp byte [eax + 1], 0
jne 0x45a8d2
mov byte [esp + 0x258], 0
jmp 0x45a8ea
lea edx, [esp + 0x258]
sub edx, eax
jmp 0x45a8e0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45a8e0
mov ecx, dword [esp + 0x66c]
push ecx
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x260]
call fcn.0046eb00
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea edx, [esp + 0x270]
push 0x49c9e0
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea eax, [esp + 0x288]
push 0x49aca0
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea ecx, [esp + 0x2a0]
push 0x495824
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
add esp, 0x50
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea edx, [esp + 0x268]
push 0x499590
push edx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea eax, [esp + 0x280]
push 0x49b1b4
push eax
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
push 0
push 0xffffffffffffffff
push 1
push 0x4957f9
lea ecx, [esp + 0x298]
push 0x49c9e4
push ecx
xor eax, eax
or ecx, 0xffffffff
call fcn.0046f230
add esp, 0x48
lea edi, [esp + 0x258]
mov eax, 0x4a8ce0
call fcn.00418fc0
mov dword [ebp + 0xc], eax
mov edi, dword [esp + 0x660]
mov bl, byte [ebp + 6]
mov ecx, edi
call fcn.00464650
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x58], eax
test ecx, ecx
je 0x45aa1a
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x18]
lea edx, [ecx + edx*4 - 0x14]
mov dword [esp + 0x3c], edx
jmp 0x45aa25
lea ecx, [esp + 0x20c]
mov dword [esp + 0x3c], ecx
mov ecx, SysReAllocString
cmp dword [esp + 0x90], ecx
jne 0x45aafc
cmp dword [esp + 0x94], ecx
jne 0x45aafc
test eax, eax
je 0x45aa84
mov al, byte [ebp + 7]
mov ecx, edi
call fcn.004647b0
test eax, eax
jne 0x45aa84
mov esi, dword [esp + 0x58]
mov ebx, edi
push ebx
lea edi, [esp + 0x64]
call fcn.004647e0
mov edx, dword [ebx + 0x78]
add edx, dword [esp + 0x60]
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x64]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
jmp 0x45aaa9
mov edx, dword [edi + 0x8c]
add edx, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
add edx, dword [edi + 0x7c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov ebx, edi
mov al, byte [esp + 0x664]
cmp al, 1
je 0x45aab8
cmp al, 0x16
jne 0x45aaf5
cmp dword [ebx + 0x10], 0
je 0x45aaf5
mov ecx, dword [esp + 0x3c]
mov al, byte [ecx + 4]
cmp al, 1
je 0x45aacd
cmp al, 0x16
jne 0x45aaf5
mov al, byte [ecx + 6]
cmp al, byte [ebp + 6]
jne 0x45aaf5
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45aaf5
mov edx, dword [0x4a8c84]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x94], eax
mov edi, dword [esp + 0x660]
mov cl, byte [esp + 0x664]
cmp cl, 0xe
je 0x45ab17
cmp cl, 0xa
je 0x45ab17
mov byte [esp + 0x19], 0
cmp cl, 0xb
jne 0x45ab1c
mov byte [esp + 0x19], 1
cmp byte [esp + 0x19], 0
fld1
sete bl
cmp dword [esp + 0x9c], 0x80000000
mov byte [esp + 0x22], bl
jne 0x45ac8f
fcom dword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x45ac8f
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45ab64.4
movzx eax, byte [eax + 0x45d058]
jmp dword [eax*4 + 0x45d02c]
mov eax, dword [esp + 0x14]
fstp st(0)
fld dword [0x49d6dc]
fstp dword [esp + 0xa0]
test al, 1
je 0x45ab8a
test al, 2
je 0x45acb0
cmp byte [0x4a94bb], 0
je 0x45acb0
test eax, 0x400
jne 0x45acb0
xor bl, bl
mov byte [esp + 0x22], bl
jmp 0x45acb0
fstp st(0)
fld dword [0x49d6d8]
fstp dword [esp + 0xa0]
jmp 0x45acb0
fstp st(0)
fld dword [0x49d6d4]
fstp dword [esp + 0xa0]
jmp 0x45acb0
mov ecx, dword [esp + 0x66c]
cmp byte [ecx], 0
jne case.0x45ab64.4
test byte [esp + 0x14], 4
je case.0x45ab64.13
fstp st(0)
fld dword [0x49d6dc]
fstp dword [esp + 0xa0]
jmp 0x45acb0
test byte [esp + 0x14], 0x40
fstp st(0)
je 0x45abaf
mov edx, dword [edi + 0x50]
mov eax, dword [0x4a8c2c]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
mov ecx, dword [0x4a8c84]
push 0x60
add eax, eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x9c], eax
jmp 0x45acb0
mov eax, dword [esp + 0x14]
fstp st(0)
test al, 2
je 0x45ac50
fld dword [0x49d6d8]
fstp dword [esp + 0xa0]
jmp 0x45acb0
push eax
mov eax, dword [esp + 0xc0]
call fcn.00463ea0
mov dword [esp + 0x9c], eax
jmp 0x45acb0
test byte [esp + 0x14], 4
fstp st(0)
je 0x45ac0d
fld dword [0x49d6d8]
fstp dword [esp + 0xa0]
jmp 0x45acb0
fstp st(0)
fld dword [0x49d6d0]
fstp dword [esp + 0xa0]
jmp 0x45acb0
fstp st(0)
cmp cl, 7
je 0x45ac9b
cmp cl, 8
jne 0x45acb0
cmp byte [0x4a94bb], 0
je 0x45acb0
or dword [esp + 0x14], 0x400
jmp 0x45acb0
fstp st(0)
fldz
xor esi, esi
fld dword [esp + 0xa0]
mov dword [esp + 0x28], esi
fcom st(1)
mov dword [esp + 0x40], esi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45ae38
mov al, byte [esp + 0x664]
cmp al, 3
je 0x45ace5
cmp al, 6
jbe 0x45acf4
cmp al, 8
ja 0x45acf4
fadd qword [0x49d670]
fstp dword [esp + 0xa0]
jmp 0x45acf6
fstp st(0)
test bl, bl
je 0x45ae18
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4a8c2c]
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 + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x220]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
fld dword [esp + 0xa0]
fld st(0)
fld qword [0x49d690]
fadd st(1), st(0)
fxch st(1)
call fcn.0048fec0
fild dword [esp + 0x220]
mov ebx, eax
lea ecx, [ebx - 1]
imul ecx, dword [esp + 0x230]
fmulp st(2)
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
faddp st(2)
faddp st(1)
call fcn.0048fec0
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffffd
cmp eax, 0x14
ja case.0x45ad96.5
movzx edx, byte [eax + 0x45d084]
jmp dword [edx*4 + 0x45d070]
mov eax, dword [0x4a8c84]
push 0x60
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x9c], eax
test dword [esp + 0x14], 0x100000
je case.0x45ad96.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x9c], eax
jmp case.0x45ad96.5
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4a8c84]
push 0x60
add eax, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x9c], eax
jmp case.0x45ad96.5
mov edx, dword [edi + 0x7c]
imul edx, ebx
add dword [esp + 0x9c], edx
jmp case.0x45ad96.5
inc ebx
imul ebx, dword [edi + 0x7c]
add dword [esp + 0x9c], ebx
jmp case.0x45ad96.5
cmp byte [esp + 0x19], 0
jne case.0x45ad96.5
mov eax, dword [0x4a8c84]
push 0x60
push eax
push 0x1e
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x9c], eax
jmp case.0x45ad96.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x36], 0
cmp dword [esp + 0x9c], eax
je 0x45ae5a
cmp dword [esp + 0x98], eax
jne case.0x45b295.4
mov eax, dword [esp + 0x44]
xor ebx, ebx
dec eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], 0x400
cmp eax, 0x15
ja case.0x45ae7d.2
movzx ecx, byte [eax + 0x45d0a8]
jmp dword [ecx*4 + 0x45d09c]
mov edx, dword [esp + 0x66c]
cmp byte [edx], bl
je case.0x45ae7d.2
test esi, esi
jne 0x45aec3
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ebx, dword [esp + 0x234]
add ebx, 4
test dword [esp + 0x14], 0x200000
mov dword [esp + 0x38], ebx
je 0x45aef8
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], 0x2c40
test esi, esi
jne 0x45af30
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [0x4a8c2c]
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 + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x664]
cmp al, 1
jne 0x45af51
or dword [esp + 0x30], 0x40
test byte [esp + 0x14], 0x80
je 0x45af86
or dword [esp + 0x30], 0x800
jmp 0x45af86
cmp al, 5
je 0x45af59
cmp al, 6
jne 0x45af86
lea eax, [esp + 0x220]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x234]
lea ebx, [ebx + eax + 2]
mov al, byte [esp + 0x664]
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
je 0x45af9a
or dword [esp + 0x30], 0x10
xor edx, edx
mov dword [esp + 0x20c], edx
mov dword [esp + 0x210], edx
cmp ecx, 0x80000000
jne 0x45afbb
mov dword [esp + 0x214], edx
jmp 0x45afc4
sub ecx, ebx
mov dword [esp + 0x214], ecx
mov ecx, dword [esp + 0x9c]
mov edx, ecx
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, ecx
mov dword [esp + 0x218], edx
cmp al, 0x16
jne 0x45b13e
test byte [esp + 0x14], 4
je 0x45aff7
or dword [esp + 0x30], 0x800
mov eax, dword [esp + 0x66c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45b001
sub eax, edx
inc eax
push eax
call fcn.004827b9
mov ecx, eax
mov eax, dword [esp + 0x670]
add esp, 4
cmp byte [eax], 0
mov dword [esp + 0x1c], ecx
mov ebx, eax
mov dword [esp + 0x5c], ecx
je 0x45b0fd
cmp byte [ebx], 0x3c
jne 0x45b0e6
mov al, byte [ebx + 1]
call fcn.00408ef0
cmp al, 0x41
jne 0x45b0e6
lea esi, [ebx + 2]
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x45b05a
cmp al, 9
jne 0x45b05d
inc esi
jmp 0x45b050
cmp byte [esi], 0x3e
je 0x45b0b3
movzx eax, byte [esi]
test eax, 0xffffff80
jne 0x45b081
push 0x107
push eax
call fcn.00482bae
add esp, 8
test eax, eax
je 0x45b081
inc esi
jmp 0x45b062
cmp byte [esi], 0x3d
jne 0x45b0e6
cmp byte [esi + 1], 0x22
jne 0x45b0e6
push 0x22
add esi, 2
push esi
call fcn.00482661
add esp, 8
test eax, eax
je 0x45b0e6
lea esi, [eax + 1]
mov al, byte [esi]
cmp al, 0x20
je 0x45b0ab
cmp al, 9
jne 0x45b0ae
inc esi
jmp 0x45b0a1
cmp byte [esi], 0x3e
jne 0x45b062
inc esi
je 0x45b0e6
push str.__a_
mov eax, esi
call fcn.0046ee40
add esp, 4
test eax, eax
je 0x45b0e6
mov ecx, esi
cmp esi, eax
jae 0x45b0e1
mov esi, dword [esp + 0x5c]
mov dl, byte [ecx]
mov byte [esi], dl
inc ecx
inc esi
cmp ecx, eax
jb 0x45b0d3
mov dword [esp + 0x5c], esi
lea ebx, [eax + 3]
jmp 0x45b0f3
mov eax, dword [esp + 0x5c]
mov cl, byte [ebx]
mov byte [eax], cl
inc eax
mov dword [esp + 0x5c], eax
inc ebx
cmp byte [ebx], 0
jne 0x45b030
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
mov byte [edx], 0
cmp byte [eax], 0
jne 0x45b112
mov eax, 0x49c9f0
mov ecx, dword [esp + 0x30]
push ecx
lea edx, [esp + 0x210]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x1c]
push ecx
mov esi, eax
call fcn.00482aeb
add esp, 4
jmp 0x45b168
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
jne 0x45b14f
mov eax, 0x49c9f0
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x210]
push ecx
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, eax
mov ebx, dword [esp + 0x214]
mov eax, dword [esp + 0x9c]
sub ebx, dword [esp + 0x20c]
cmp eax, 0x80000000
je 0x45b192
cmp esi, eax
jle 0x45b1f6
cmp byte [esp + 0x664], 0xc
je 0x45b1f6
mov al, byte [esp + 0x664]
mov dword [esp + 0x9c], esi
cmp al, 0xc
jne 0x45b1d7
mov edx, dword [0x4a8c84]
push 0x60
push edx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
add dword [esp + 0x9c], eax
test dword [esp + 0x14], 0x100000
je 0x45b1f6
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x9c], eax
jmp 0x45b1f6
cmp al, 4
jne 0x45b1f6
mov eax, dword [edi + 0x50]
mov ecx, dword [0x4a8c2c]
imul eax, eax, 0x54
mov edx, dword [eax + ecx + 0x44]
lea eax, [edx + esi + 2]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x98]
cmp eax, 0x80000000
je 0x45b208
cmp ebx, eax
jle case.0x45ae7d.2
add ebx, dword [esp + 0x38]
cmp byte [esp + 0x664], 4
mov byte [esp + 0x36], 1
mov dword [esp + 0x98], ebx
jne case.0x45ae7d.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [edi + 0x50]
mov ecx, dword [0x4a8c2c]
imul edx, edx, 0x54
mov edx, dword [edx + ecx + 0x44]
lea eax, [edx + eax*2]
add dword [esp + 0x98], eax
cmp dword [esp + 0x98], 0x80000000
jne case.0x45b295.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
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 [0x4a8c84]
push 0x60
push ecx
push eax
call esi
mov ecx, dword [esp + 0x44]
add ecx, 0xfffffffd
cmp ecx, 0x14
ja case.0x45b295.4
movzx edx, byte [ecx + 0x45d0e0]
jmp dword [edx*4 + 0x45d0c0]
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
add eax, eax
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
test byte [esp + 0x14], 0x40
je 0x45b2c6
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov eax, dword [ecx + edx + 0x44]
mov ecx, dword [0x4a8c84]
push 0x60
add eax, eax
push ecx
push eax
call esi
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
mov ecx, dword [esp + 0x14]
test cl, 2
je case.0x45b295.7
mov eax, dword [esp + 0xbc]
push ecx
call fcn.00463ea0
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
test byte [esp + 0x14], 4
je case.0x45b295.7
mov edx, dword [edi + 0x50]
mov eax, dword [0x4a8c2c]
imul edx, edx, 0x54
mov eax, dword [edx + eax + 0x44]
jmp 0x45b2d6
mov edx, dword [edi + 0x78]
lea eax, [eax + edx*2]
mov dword [esp + 0x98], eax
jmp case.0x45b295.4
mov ecx, dword [edi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x98], edx
cmp byte [esp + 0x664], 0xc
jne 0x45b45e
test byte [esp + 0x14], 4
jne 0x45b45e
fld1
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 0x41
jne 0x45b45e
cmp dword [esp + 0x28], 0
jne 0x45b3a1
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov ecx, dword [ecx + edx + 0x50]
push ecx
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x220]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [0x4a8c84]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14]
sub esi, eax
sub esi, dword [esp + 0x220]
mov dword [esp + 0x1c], esi
test ebx, 0x100000
je 0x45b3f3
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x45b455
mov edx, dword [esp + 0x230]
fild dword [esp + 0x1c]
add edx, dword [esp + 0x220]
mov dword [esp + 0x1c], edx
fidiv dword [esp + 0x1c]
fadd qword [0x49d670]
fstp dword [esp + 0xa0]
fld dword [0x49d6e0]
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x45b45e
mov eax, dword [esp + 0x74]
not eax
mov ecx, eax
and ecx, 4
or ebx, ecx
mov dword [esp + 0x14], ebx
test bl, 4
je 0x45b45e
and eax, 0x201040
or ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x45b45e
fld1
fstp dword [esp + 0xa0]
cmp byte [esp + 0x200], 0
mov edx, dword [edi + 4]
mov esi, dword [edi + 0x10]
sete byte [esp + 0x35]
push edx
mov byte [esp + 0x1d], 0
add esi, 3
mov byte [esp + 0x1f], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45b49c
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x1a], 1
test eax, eax
je 0x45b4a1
mov byte [esp + 0x1a], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2f], 0
jae 0x45b4f2
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x45b4ea
mov ecx, dword [ebx]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x10000000
je 0x45b4ea
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 0x45b4ea
mov dl, byte [esp + 0x1a]
mov byte [esp + 0x2f], dl
jmp 0x45b4f2
and dword [esp + 0x14], 0xefffffff
mov eax, dword [esp + 0x44]
mov ebx, dword [sym.imp.USER32.dll_SetWindowLongA]
dec eax
cmp eax, 0x17
ja case.0x45b506.20
jmp dword [eax*4 + 0x45d0f8]
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45b506.20
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.SysLink
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45b506.20
mov ecx, dword [esp + 0x98]
cmp ecx, 0x80000000
jne 0x45b5c9
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x45b5e0
xor eax, eax
mov dword [esp + 0x9c], eax
mov edx, dword [0x4a6c68]
push 0
push edx
mov edx, dword [edi + 4]
push esi
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push eax
mov eax, dword [esp + 0x688]
push ecx
mov ecx, dword [esp + 0x44]
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.0x45b506.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xe0]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x678]
push eax
push ecx
push edx
call fcn.00470040
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45b506.20
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xe
or eax, dword [esp + 0x14]
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 0x45b6af
and byte [ebp + 5], 0x7f
mov byte [esp + 0x19], 1
jmp case.0x45b506.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x19], 1
jmp case.0x45b506.20
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push str.button
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45b506.20
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x44]
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.0x45b506.20
test byte [esp + 0x14], 1
je case.0x45b506.20
mov eax, dword [edi + 0x1c]
cmp eax, dword [edi + 0x10]
jae 0x45b7af
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 0x45b7b5
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 + 0x14]
mov eax, dword [ebp]
push 1
push edx
push 0xf4
push eax
call esi
jmp case.0x45b506.20
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x688]
push eax
mov eax, dword [esp + 0x44]
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.0x45b506.20
mov ecx, dword [esp + 0xdc]
test ecx, ecx
je case.0x45b506.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45b506.20
cmp dword [esp + 0xd4], 0
je 0x45b872
cmp byte [ebp + 4], 8
jne 0x45b872
and dword [esp + 0x14], 0xffffffbf
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ebx
push 0x4957f9
push str.Combobox
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45b506.20
mov ecx, dword [edi + 0x50]
movzx edx, byte [esp + 0x1a]
imul ecx, ecx, 0x54
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
mov edx, dword [0x4a8c2c]
mov ecx, dword [ecx + edx + 0x50]
push ecx
push 0x30
push eax
call esi
cmp byte [esp + 0x22], 0
mov byte [esp + 0x1b], 1
je 0x45b98c
mov edx, dword [ebp]
push 0
push 0
push 0x154
push edx
call esi
mov dword [esp + 0x38], eax
test bl, 1
je 0x45b919
mov esi, 4
test bl, 2
je 0x45b91e
mov esi, 2
mov eax, dword [0x4a8c84]
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
push eax
push 8
call ebx
mov ecx, dword [esp + 0x38]
add eax, esi
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x9c]
cmp ecx, eax
jge 0x45b94f
mov ecx, eax
mov dword [esp + 0x9c], ecx
jmp 0x45b993
fldz
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x45b993
mov edx, dword [0x4a8c84]
push 0x60
push edx
push 8
call ebx
fild dword [esp + 0x38]
mov ebx, eax
fmul dword [esp + 0xa0]
call fcn.0048fec0
lea ecx, [esi + eax]
add ecx, ebx
mov dword [esp + 0x9c], ecx
jmp 0x45b993
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0x9c]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x19], 1
jmp case.0x45b506.20
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4957f9
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45b506.20
mov ecx, dword [esp + 0x1ac]
test ecx, ecx
je 0x45ba35
lea edx, [esp + 0xe4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x54
mov edx, dword [0x4a8c2c]
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 + 0x2b], 1
call esi
mov ebx, eax
mov eax, dword [0x4a8c84]
push 0x60
push eax
push 8
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_MulDiv]
lea esi, [ebx + eax]
mov ebx, dword [esp + 0x14]
and ebx, 0x100000
je 0x45ba9d
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add esi, eax
mov ecx, dword [esp + 0x9c]
cmp ecx, esi
jge 0x45baac
mov ecx, esi
jmp 0x45bafe
fldz
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x45bb05
mov ecx, dword [0x4a8c84]
push 0x60
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
fild dword [esp + 0x38]
mov esi, eax
fmul dword [esp + 0xa0]
call fcn.0048fec0
lea ecx, [esi + eax]
mov dword [esp + 0x9c], ecx
test ebx, ebx
je 0x45bb05
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x9c]
add ecx, eax
mov dword [esp + 0x9c], ecx
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
push 1
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x19], 1
jmp case.0x45b506.20
mov eax, dword [esp + 0x84]
cmp eax, 4
je 0x45bb4d
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x45bb60
mov eax, 0xc8
mov edx, dword [0x4a6c68]
mov ecx, dword [edi + 4]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4957f9
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [ebp], esi
test esi, esi
je case.0x45b506.20
push 0x3f8
call fcn.00481849
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45bbd5
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45b506.20
push 0x3f8
mov dword [edi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.0048a9d0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x20d]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
je 0x45bc0d
or byte [eax + 5], 0x80
cmp dword [esp + 0x84], 4
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x45bc2c
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call ebx
mov eax, dword [esp + 0x80]
test eax, eax
je 0x45bc45
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call ebx
lea eax, [esp + 0x70]
mov edi, ebp
call fcn.00464010
cmp dword [esp + 0x9c], 0x80000000
jne 0x45c87c
mov esi, dword [esp + 0x660]
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x1a]
imul edx, edx, 0x54
mov eax, dword [0x4a8c2c]
push ecx
mov ecx, dword [edx + eax + 0x50]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call ebx
mov eax, dword [esp + 0x84]
dec eax
mov byte [esp + 0x1b], 1
je 0x45bdee
sub eax, 3
je 0x45bdc0
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x45bcd6
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov edi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push edi
mov dword [esp + 0x30], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x220]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
cmp dword [esp + 0x84], 0
jne 0x45bd84
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x45bd14
fadd dword [0x49d6b8]
fld dword [esp + 0xa0]
push 0xc
fsub qword [0x49d670]
fnstcw word [esp + 0x26]
movzx eax, word [esp + 0x26]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x64]
mov eax, dword [esp + 0x64]
shr eax, 0x10
mov dword [esp + 0x20], eax
fldcw word [esp + 0x26]
fild dword [esp + 0x20]
fstp qword [esp + 0x64]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0xa0]
fadd qword [esp + 0x60]
call fcn.0048fec0
mov ecx, dword [esp + 0x220]
lea eax, [eax + ecx + 0x10]
jmp 0x45be2c
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x220]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jg 0x45bd9f
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0xa0]
fld st(0)
fmulp st(2)
fsub qword [0x49d670]
faddp st(1)
call fcn.0048fec0
add eax, 0xb
jmp 0x45be2c
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call ebx
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0xa0]
call fcn.0048fec0
add eax, 7
jmp 0x45be2c
fld dword [esp + 0xa0]
mov ecx, dword [ebp]
fnstcw word [esp + 0x22]
push 0xffffffffffffffff
movzx eax, word [esp + 0x26]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x64]
mov eax, dword [esp + 0x64]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x2e]
push ecx
call ebx
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
push 1
push eax
push edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45b506.20
mov eax, dword [esp + 0x9c]
cmp eax, 0x80000000
jne 0x45be72
mov eax, 0xc8
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push esi
push edx
mov edx, dword [esp + 0xa0]
push eax
mov eax, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4957f9
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45b506.20
cmp dword [esp + 0xdc], 0
mov dword [edi + 0x4c], ebp
je 0x45bede
mov edx, dword [esp + 0x14]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call ebx
lea edi, [esp + 0x70]
mov esi, ebp
call fcn.004640c0
mov eax, dword [esp + 0x88]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45bf08
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call edi
cmp dword [esp + 0x9c], 0x80000000
jne 0x45c87c
mov esi, dword [esp + 0x660]
mov eax, dword [esi + 0x50]
movzx edx, byte [esp + 0x1a]
imul eax, eax, 0x54
mov ecx, dword [0x4a8c2c]
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 + 0x2b], 1
call edi
mov dword [esp + 0x9c], eax
cmp eax, 2
jge 0x45bf77
mov edx, dword [esi + 0x50]
mov eax, dword [0x4a8c2c]
imul edx, edx, 0x54
mov ecx, dword [edx + eax + 0x44]
add ecx, ecx
mov dword [esp + 0x9c], ecx
fild dword [esp + 0x9c]
fmul dword [esp + 0xa0]
call fcn.0048fec0
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edi, esi
jmp case.0x45b506.20
mov eax, dword [esp + 0x14]
test al, 4
jne 0x45bfeb
cmp dword [esp + 0xd4], 0
jge 0x45bfd9
and eax, 0xffefff7f
jmp 0x45bfe7
mov ecx, dword [esp + 0x74]
not ecx
and ecx, 0x80
or eax, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x66c]
cmp byte [ecx], 0
je 0x45c00f
test al, 4
je 0x45c00f
mov edi, ecx
call fcn.0046f730
mov edi, dword [esp + 0x660]
mov dword [esp + 0x3c], eax
jmp 0x45c015
mov dword [esp + 0x3c], ecx
mov eax, ecx
test eax, eax
jne 0x45c020
mov eax, dword [esp + 0x66c]
mov edx, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x14]
push 0
push edx
mov edx, dword [esp + 0xa4]
push esi
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0x40]
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 0x45c0d8
test bl, 0x20
je 0x45c091
mov cl, byte [esp + 0x1fc]
test cl, cl
je 0x45c091
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
movsx ecx, cl
push ecx
push 0xcc
push eax
call esi
jmp 0x45c097
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd4]
test eax, eax
jns 0x45c0ab
xor eax, eax
mov dword [esp + 0xd4], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call esi
mov eax, dword [esp + 0x1ac]
test eax, eax
je 0x45c0d8
mov edx, dword [ebp]
lea ecx, [esp + 0xe4]
push ecx
push eax
push 0xcb
push edx
call esi
mov eax, dword [esp + 0x3c]
test eax, eax
je case.0x45b506.20
cmp eax, dword [esp + 0x66c]
je case.0x45b506.20
push eax
call fcn.004816a8
add esp, 4
jmp case.0x45b506.20
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
mov byte [esp + 0x22], 0
je 0x45c15b
mov ebx, eax
push str.LongDate
push ebx
call fcn.00481691
add esp, 8
test eax, eax
jne 0x45c134
mov ecx, dword [esp + 0x14]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x14], ecx
jmp 0x45c15b
push str.Time
push ebx
call fcn.00481691
add esp, 8
test eax, eax
jne 0x45c156
mov edx, dword [esp + 0x14]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x14], edx
jmp 0x45c15b
mov byte [esp + 0x22], 1
mov eax, 2
cmp dword [esp + 0xa4], eax
jne 0x45c16d
or dword [esp + 0x14], eax
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4957f9
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je case.0x45b506.20
cmp byte [esp + 0x22], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x45c1de
mov edx, dword [esp + 0x66c]
push edx
push 0
push 0x1005
push eax
call esi
mov eax, dword [esp + 0x1f4]
test eax, eax
je 0x45c1fd
mov edx, dword [ebp]
lea ecx, [esp + 0x1d0]
push ecx
push eax
push 0x1004
push edx
call esi
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x45c224
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1b0]
push ecx
push edx
push 0x1002
push eax
call esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x45b506.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call esi
jmp case.0x45b506.20
cmp dword [esp + 0x1f0], 0
jne 0x45c27a
mov edx, dword [esp + 0x66c]
cmp byte [edx], 0
je 0x45c27a
lea eax, [esp + 0x1b0]
mov ecx, edx
call fcn.0046e560
mov dword [esp + 0x1f0], eax
cmp eax, 3
jne 0x45c27a
or dword [esp + 0x14], 2
mov ecx, dword [esp + 0x9c]
cmp ecx, 0x80000000
jne 0x45c28e
mov ecx, 0x64
mov eax, dword [esp + 0x98]
test eax, eax
jns 0x45c29e
mov eax, 0x64
mov edx, dword [0x4a6c68]
push 0
push edx
mov edx, dword [edi + 4]
push esi
mov esi, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xac]
push eax
push ecx
push esi
push 0x4957f9
push str.SysMonthCal32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
and esi, 2
je 0x45c2fb
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x1f4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x45c320
mov edx, dword [ebp]
lea ecx, [esp + 0x1d0]
push ecx
push eax
push 0x1012
push edx
call ebx
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x45c396
test esi, esi
je 0x45c381
cmp eax, 1
jne 0x45c36c
mov eax, dword [esp + 0x1b0]
mov ecx, dword [esp + 0x1b4]
mov edx, dword [esp + 0x1b8]
mov dword [esp + 0x1c0], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0x1c4], ecx
mov dword [esp + 0x1c8], edx
mov dword [esp + 0x1cc], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1b0]
push ecx
push 0
push 0x1006
push edx
jmp 0x45c394
mov ecx, dword [ebp]
lea eax, [esp + 0x1b0]
push eax
push 0
push 0x1002
push ecx
call ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45c3ae
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [edi + 0x50]
movzx eax, byte [esp + 0x1a]
imul ecx, ecx, 0x54
mov edx, dword [0x4a8c2c]
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 + 0x1b], 1
cmp dword [esp + 0x98], esi
je 0x45c3ed
cmp dword [esp + 0x9c], esi
jne case.0x45b506.20
mov eax, dword [ebp]
lea edx, [esp + 0x48]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45c87c
cmp dword [esp + 0x98], 0
jge 0x45c45f
test byte [esp + 0x14], 0x10
je 0x45c41e
mov eax, dword [esp + 0x50]
jmp 0x45c437
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x50]
cmp eax, ecx
jge 0x45c437
mov eax, ecx
mov ecx, dword [esp + 0x98]
cmp ecx, esi
jne 0x45c44b
mov dword [esp + 0x98], eax
jmp 0x45c45f
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x98], edx
mov ecx, dword [esp + 0x9c]
cmp ecx, esi
jne 0x45c553
fldz
mov ecx, dword [esp + 0x54]
fld dword [esp + 0xa0]
mov dword [esp + 0x9c], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45c551
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45c553
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x45c4d4
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x50]
mov edx, dword [0x4a8c2c]
imul ecx, ecx, 0x54
mov esi, eax
mov eax, dword [ecx + edx + 0x50]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x220]
push ecx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test byte [esp + 0x14], 0x10
mov esi, dword [esp + 0x220]
je 0x45c503
mov edx, dword [esp + 0x9c]
lea eax, [edx + esi + 4]
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
fld dword [esp + 0xa0]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.0048fec0
add esi, 0xfffffffe
mov dword [esp + 0x9c], eax
fild dword [esp + 0x9c]
mov dword [esp + 0x1c], esi
fild dword [esp + 0x1c]
fxch st(2)
fsub qword [0x49d670]
fmulp st(2)
fsubrp st(1)
call fcn.0048fec0
mov ecx, eax
mov dword [esp + 0x9c], ecx
jmp 0x45c553
fstp st(0)
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push 1
push ecx
mov ecx, dword [esp + 0xa0]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x45b506.20
mov edx, dword [0x4a6c68]
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x9c]
push 0
push edx
mov edx, dword [esp + 0xa0]
push esi
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4957f9
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
je 0x45c5f6
push 0
call fcn.00463b70
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0xd4]
test eax, eax
jle 0x45c87c
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45b506.20
test byte [esp + 0x14], 0x10
je 0x45c7d8
cmp dword [edi + 8], 0
jne 0x45c643
mov eax, dword [esp + 0x58]
test eax, eax
je 0x45c7d8
test byte [eax + 5], 0x80
je 0x45c7d8
and dword [esp + 0x14], 0xffffffef
mov bl, 1
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4957f9
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
mov esi, dword [esp + 0x3c]
test bl, bl
je 0x45c6b6
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 0x45c825
test byte [esp + 0x14], 0x10
jne 0x45c6cf
test bl, bl
je 0x45c825
mov eax, dword [ebp]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x48]
push edx
push eax
call ebx
mov edx, dword [edi + 4]
push 2
lea ecx, [esp + 0x4c]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
sub edx, eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x94], ecx
sub eax, ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], eax
mov edx, dword [esi]
push ecx
push edx
call ebx
mov ecx, dword [edi + 4]
push 2
lea eax, [esp + 0x64]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp byte [edi + 0xbf], 0
mov bl, byte [esp + 0x14]
je 0x45c7b9
test bl, 4
je 0x45c78b
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x90]
add dword [esp + 0x50], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
add eax, dword [esp + 0x98]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x70], 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 0x45c7df
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], ecx
jmp 0x45c7ee
xor bl, bl
jmp 0x45c64a
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x48]
mov dword [esp + 0x98], edx
cmp byte [esp + 0x1fd], 0
jne 0x45c842
cmp byte [esi + 4], 9
jne 0x45c82f
mov byte [esp + 0x1fd], 1
test bl, 0x40
je 0x45c818
mov dword [esp + 0xac], 0x7fff
jmp 0x45c842
mov dword [esp + 0xa8], 0x7fff
jmp 0x45c842
cmp byte [esp + 0x1fd], 0
jne 0x45c842
mov byte [esp + 0x1fd], 1
mov dword [esp + 0xac], 0x64
lea ecx, [esp + 0x70]
mov eax, ebp
call fcn.00463e50
mov esi, dword [esp + 0x66c]
call fcn.0040c930
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 + 0x660]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x45c8a6
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45c89b
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 0x45cc29
push 0x4957f9
push str.Cant_create_control.
mov ecx, 0x4a8ce0
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4957f9
push str.msctls_trackbar32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
lea eax, [esp + 0x70]
mov esi, ebp
call fcn.00463f30
mov edx, dword [esp + 0x66c]
cmp byte [edx], 0
je 0x45c87c
mov esi, edx
call fcn.0040c930
test byte [ebp + 5], 0x80
je 0x45c953
push eax
mov edi, ebp
call fcn.00463ef0
push eax
mov eax, dword [ebp]
push 1
push 0x405
push eax
jmp 0x45c876
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x9c]
push 0
push ecx
mov ecx, dword [esp + 0xa0]
push esi
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4957f9
push str.msctls_progress32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
mov eax, dword [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x78]
mov ecx, ebp
call fcn.00464110
mov ecx, dword [esp + 0x66c]
cmp byte [ecx], 0
je 0x45c9f4
push 0
mov esi, ecx
call fcn.0040c930
mov edx, dword [ebp]
push eax
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x660]
mov byte [esp + 0x35], 0
jmp case.0x45b506.20
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4957f9
push str.SysTabControl32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
mov al, byte [edi + 0xb8]
mov byte [edi + 0xb9], al
inc al
push 0x463760
mov byte [edi + 0xba], 0
mov byte [edi + 0xb8], al
mov edx, dword [ebp]
push 0xfffffffffffffffc
push edx
call ebx
mov dword [0x4a6c8c], eax
jmp case.0x45b506.20
cmp byte [0x4a9d5d], 0
jne 0x45cac7
push 0x49c6c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x45cac7
push str.AtlAxWinInit
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45cab7
call eax
test eax, eax
setne byte [0x4a9d5d]
cmp byte [0x4a9d5d], 0
jne 0x45cac7
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x4a6c68]
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x9c]
push 0
push eax
mov eax, dword [esp + 0xa0]
push esi
push ecx
mov ecx, dword [esp + 0xa4]
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x688]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.AtlAxWin
push edx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
test eax, eax
je 0x45c87c
push eax
call fcn.004543d0
add esp, 4
test eax, eax
jne 0x45cb3f
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45b506.20
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45cb52
mov edi, eax
call fcn.00471920
jmp 0x45c87c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp case.0x45b506.20
mov ax, word [esp + 0x202]
test ax, ax
jne 0x45cb8d
push 0x4957f9
push str.A_window_class_is_required.
mov ecx, 0x4a8ce0
call fcn.0042d280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64c
ret 0x10
mov ecx, dword [0x4a6c68]
mov edx, dword [edi + 4]
push 0
push ecx
mov ecx, dword [esp + 0xa4]
push esi
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0xa8]
push edx
mov edx, dword [esp + 0xa8]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x68c]
push ecx
mov ecx, dword [esp + 0x48]
movzx eax, ax
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp], eax
jmp case.0x45b506.20
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x66c]
mov ecx, dword [esp + 0x14]
push esi
push edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowA]
mov dword [ebp], eax
test eax, eax
je case.0x45b506.20
mov ecx, dword [esp + 0xd0]
mov dword [edi + 8], eax
cmp ecx, 0xffffffff
je case.0x45b506.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x45b506.20
mov al, byte [esp + 0x36]
inc dword [edi + 0x10]
mov byte [edi + 0xbf], al
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45cc4a
mov ecx, dword [ebp]
push eax
call fcn.00470e20
cmp byte [ebp + 4], 6
jne 0x45cc6e
mov eax, dword [esp + 0xdc]
test eax, eax
je 0x45cc68
push eax
mov eax, dword [edi + 0x10]
dec eax
push ebp
mov ecx, edi
call fcn.00463da0
mov byte [edi + 0x44], 1
jmp 0x45cc72
mov byte [edi + 0x44], 0
test dword [esp + 0x74], 0x10000000
je 0x45cc80
or byte [ebp + 5], 8
test dword [esp + 0x70], 0x8000000
je 0x45cc8e
or byte [ebp + 5], 0x10
cmp byte [esp + 0x35], 0
jne 0x45ccb9
cmp dword [ebp + 0x10], 0xff000000
je 0x45ccad
mov al, byte [ebp + 4]
cmp al, 5
je 0x45ccb9
cmp al, 6
je 0x45ccb9
cmp al, 3
je 0x45ccb9
cmp byte [ebp + 4], 3
jne 0x45ccc5
test byte [ebp + 5], 0x40
je 0x45ccc5
mov ecx, dword [ebp]
push ecx
call fcn.00470b60
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x45ccf6
cmp byte [esp + 0x37], 0
je 0x45ccf6
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x1a]
imul eax, eax, 0x54
mov ecx, dword [0x4a8c2c]
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 + 0x1f8], 4
jne 0x45cd10
mov ecx, dword [ebp]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x66c]
cmp byte [eax], 0
je 0x45cd33
mov edx, dword [esp + 0xa4]
push edx
push edi
mov edi, ebp
call fcn.00460230
mov edi, dword [esp + 0x660]
cmp byte [ebp + 4], 0x13
jne 0x45cde9
fldz
fcomp dword [esp + 0xa0]
fnstsw ax
test ah, 5
jp 0x45cde9
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov al, byte [esp + 0x14]
test al, 2
je 0x45cf69
test al, al
js 0x45cf69
mov edx, dword [esp + 0x14]
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 + 0x48]
push ecx
push 1
push 0x1328
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
test bl, bl
je 0x45cdb5
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x90]
push 1
push eax
push edx
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x19], 0
je 0x45ce58
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
sub eax, dword [esp + 0x4c]
sub ecx, dword [esp + 0x48]
cmp byte [esp + 0x664], 9
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], ecx
jne 0x45ce58
test dword [esp + 0x14], 0x100000
je 0x45ce58
mov eax, dword [esp + 0xd8]
test eax, eax
jns 0x45ce46
lea eax, [ecx + ecx*2]
mov dword [esp + 0xd8], eax
mov edx, dword [ebp]
push 0
push eax
push 0x194
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [esp + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x45ceb9
cmp byte [esp + 0x2f], 0
je 0x45cea0
mov ecx, dword [ebp]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 4]
push 2
lea edx, [esp + 0x4c]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [edi + 4]
push 0
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x45ceb9
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 0x45cecf
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call esi
cmp byte [esp + 0x664], 0x18
je 0x45cf88
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x94]
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 0x45cf23
mov dword [edi + 0x90], eax
cmp ecx, dword [edi + 0x94]
jle 0x45cf31
mov dword [edi + 0x94], ecx
cmp byte [esp + 0x1ff], 0
jne 0x45cf70
mov ebx, dword [edi + 0x10]
cmp ebx, 1
je 0x45cf70
cmp ebx, 2
jne 0x45cf51
mov ebx, dword [edi + 0x18]
cmp byte [ebx + 4], 0x18
je 0x45cf70
cmp eax, dword [edi + 0xa0]
jle 0x45cf5f
mov dword [edi + 0xa0], eax
cmp ecx, dword [edi + 0xa4]
jle 0x45cf88
jmp 0x45cf82
xor bl, bl
jmp 0x45cd8a
mov dword [edi + 0x98], edx
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], eax
mov dword [edi + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64c
ret 0x10