Function at 0x458280
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xa3c
push ebx
mov ebx, dword [esp + 0xa44]
mov ecx, dword [ebx + 0xc]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x4582bd
push 0x4a596c
push str.Too_many_controls.__The_current_thread_will_exit.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov eax, dword [ebx + 0x10]
cmp ecx, eax
jb 0x4582ea
mov ecx, dword [ebx + 0x14]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.004875e7
add esp, 8
test eax, eax
je 0x45829c
add dword [ebx + 0x10], 0x3e8
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
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 + 0xa54]
cmp al, 0x14
jne 0x458320
or byte [ebp + 5], 0x80
mov byte [esp + 0xa54], 0x13
jmp 0x458324
cmp al, 0x13
jne 0x45835b
mov al, 0xff
cmp byte [ebx + 0x54], al
jne 0x45834c
push 0x4a596c
push str.Too_many_tab_controls.__The_current_thread_will_exit.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0x54]
mov al, byte [esp + 0xa54]
jmp 0x458395
cmp al, 0x15
jne 0x45838c
cmp dword [ebx + 4], 0
je 0x458386
push 0x4a596c
push str.Too_many_status_bars.__The_current_thread_will_exit.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x458398
mov dl, byte [ebx + 0x55]
mov byte [ebp + 6], dl
mov cl, byte [ebx + 0x56]
mov byte [ebp + 7], cl
cmp dword [ebx + 0xc], 0
mov edi, SysReAllocString
jne 0x4583ff
mov esi, dword [0x4c30ac]
cmp dword [ebx + 0x78], edi
jne 0x4583cc
mov edx, dword [ebx + 0x48]
imul edx, edx, 0x94
fild dword [edx + esi + 0x84]
fmul qword [0x4b76d0]
call fcn.004964c0
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x4583ef
mov eax, dword [ebx + 0x48]
imul eax, eax, 0x94
fild dword [eax + esi + 0x84]
fmul qword [0x4b7708]
call fcn.004964c0
mov dword [ebx + 0x7c], eax
mov ecx, dword [ebx + 0x78]
mov al, byte [esp + 0xa54]
mov dword [ebx + 0x80], ecx
mov edi, ebp
lea esi, [esp + 0x60]
mov byte [ebp + 4], al
call fcn.0045d750
mov al, byte [esp + 0xa54]
or dword [esp + 0x60], 0x10000000
mov dl, byte [ebx + 0x3d]
mov byte [esp + 0x1f1], dl
cmp al, 6
jne 0x458442
or dword [esp + 0x60], 0x4000
cmp byte [ebx + 0x3c], 0
jne 0x458460
or dword [esp + 0x60], 0x20000
jmp 0x458460
cmp byte [ebx + 0x3c], 0
je 0x458450
or dword [esp + 0x60], 0x20000
cmp al, 2
je 0x45847d
cmp al, 0x10
je 0x45847d
cmp al, 0x11
je 0x45847d
cmp al, 0x12
je 0x45847d
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x2e], 1
je 0x458471
mov ecx, dword [ebx + 0x58]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x58]
mov dword [esp + 0xbc], edx
jmp 0x45848d
mov byte [esp + 0x2e], 0
cmp al, 0x12
jne 0x45848d
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x38], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x11
ja case.0x4584a5.6
jmp dword [eax*4 + 0x45aad0]
or dword [esp + 0x60], 0x210000
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x210042
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x210080
or dword [esp + 0x68], 0x200
jmp case.0x4584a5.6
or dword [esp + 0x70], 0x30
or dword [esp + 0x60], 0x10008
or dword [esp + 0x68], 0x200
mov dword [esp + 0x74], 1
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x10027
or dword [esp + 0x68], 0x200
jmp case.0x4584a5.6
or dword [esp + 0x60], ecx
or dword [esp + 0x68], 0x200
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x36
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x1000c
jmp case.0x4584a5.6
or dword [esp + 0x60], ecx
jmp case.0x4584a5.6
or dword [esp + 0x60], 1
jmp case.0x4584a5.6
or dword [esp + 0x60], 0x10200
mov byte [esp + 0x1f1], 0
jmp case.0x4584a5.6
test dword [ebx + 0x34], 0x40000
je 0x45855b
or dword [esp + 0x60], 0x100
or dword [esp + 0x60], 0x800
mov ecx, dword [esp + 0xa58]
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x68]
push eax
push ecx
push ebx
call fcn.0045b4a0
test eax, eax
jne 0x45858a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov cl, byte [esp + 0xa54]
mov eax, dword [esp + 0xbc]
cmp cl, 0xa
je 0x4585a0
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc0]
setne dl
mov byte [esp + 0x1ef], dl
cmp eax, 0xff000000
jne 0x4585ca
mov dword [esp + 0xc0], 0xffffffff
jmp 0x4585eb
cmp eax, 0xffffffff
jne 0x4585eb
mov ebx, dword [ebx + 0x64]
cmp ebx, 0xff000000
je 0x4585eb
cmp cl, 0x12
je 0x4585eb
cmp cl, 0x15
je 0x4585eb
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0x88], 0x80000000
mov esi, dword [esp + 0x64]
jne 0x458638
cmp dword [esp + 0x8c], 0x80000000
jne 0x458638
fld dword [0x4b7700]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x458638
mov edi, dword [esp + 0xa5c]
mov ebx, 0x4b5dc4
mov eax, edi
call fcn.00409070
test eax, eax
jne 0x458638
xor ecx, ecx
jmp 0x458649
mov edi, dword [esp + 0xa5c]
mov ecx, esi
not ecx
and ecx, 0x2000
mov eax, dword [esp + 0x6c]
not eax
and eax, dword [esp + 0x68]
mov ebx, esi
not ebx
and ebx, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
or ebx, 0x40000000
add eax, 0xfffffffd
mov dword [esp + 0x10], ebx
cmp eax, 0x10
ja case.0x458680.10
movzx eax, byte [eax + 0x45ab40]
jmp dword [eax*4 + 0x45ab18]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45879b
test bl, 1
je 0x4586a8
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45879b
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45879b
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x4586cf
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x458680.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x458680.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x4586fe
test esi, 0x10000
jne 0x4586fe
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x458680.10
or ebx, 3
jmp 0x45879b
test bl, 1
je 0x45871e
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45879b
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45879b
fld dword [0x4b7700]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x45874d
push 0xa
push edi
call fcn.00487101
mov esi, dword [esp + 0x6c]
add esp, 8
test eax, eax
je 0x45875a
mov eax, esi
not eax
and eax, 4
or ebx, eax
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x458680.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45879b
mov ecx, dword [esp + 0xa50]
or ebx, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x458784
test byte [ebp + 5], 0x20
je 0x45878d
cmp dword [ebp + 0x10], 0xff000000
je 0x458795
or ebx, 0x2000
jmp 0x45879b
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0xa54], 4
jne 0x4588f4
cmp dword [ebp + 0xc], 0
jne 0x4588f4
test byte [ebp + 5], 1
jne 0x4588f4
mov esi, dword [esp + 0xa50]
mov eax, dword [esi + 8]
test eax, eax
je 0x4587e5
push 0xa
lea edx, [esp + 0x24c]
push edx
inc eax
push eax
call fcn.004860b5
add esp, 0xc
jmp 0x4587ef
xor eax, eax
mov word [esp + 0x248], ax
push edi
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x250]
call fcn.0046b340
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea ecx, [esp + 0x264]
push 0x4b5de0
push ecx
xor eax, eax
call fcn.0046baa0
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea edx, [esp + 0x25c]
push 0x4a53dc
push edx
xor eax, eax
call fcn.0046baa0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea eax, [esp + 0x25c]
push 0x4a2ad0
push eax
xor eax, eax
call fcn.0046baa0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea ecx, [esp + 0x25c]
push 0x4a2c74
push ecx
xor eax, eax
call fcn.0046baa0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea edx, [esp + 0x25c]
push 0x4a5c00
push edx
xor eax, eax
call fcn.0046baa0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a596c
lea eax, [esp + 0x25c]
push 0x4b5de4
push eax
xor eax, eax
call fcn.0046baa0
add esp, 0x1c
lea edi, [esp + 0x248]
mov eax, 0x4c3168
call fcn.00419470
mov dword [ebp + 0xc], eax
jmp 0x4588fb
mov esi, dword [esp + 0xa50]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.004616a0
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x458920
mov edx, dword [esi + 0x14]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x45892b
lea edx, [esp + 0x1f8]
mov dword [esp + 0x1c], edx
mov ecx, SysReAllocString
cmp dword [esp + 0x80], ecx
jne 0x4589f1
cmp dword [esp + 0x84], ecx
jne 0x4589f1
test eax, eax
je 0x458988
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00461820
test eax, eax
jne 0x458988
mov ebx, dword [esp + 0xa50]
mov esi, dword [esp + 0x4c]
push ebx
lea edi, [esp + 0x54]
call fcn.00461850
mov eax, dword [ebx + 0x78]
add eax, dword [esp + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [ebx + 0x7c]
add eax, dword [esp + 0x54]
jmp 0x4589a4
mov eax, dword [esi + 0x8c]
add eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
add eax, dword [esi + 0x7c]
mov dword [esp + 0x80], ecx
cmp byte [esp + 0xa54], 1
mov dword [esp + 0x84], eax
jne 0x4589f1
mov edx, dword [esp + 0xa50]
cmp dword [edx + 0xc], 0
je 0x458a07
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 4], 1
jne 0x458a07
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x458a07
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x458a07
mov cl, byte [esp + 0xa54]
add eax, 8
mov dword [esp + 0x84], eax
xor dl, dl
jmp 0x458a14
mov cl, byte [esp + 0xa54]
cmp cl, 0xe
je 0x458a12
cmp cl, 0xa
je 0x458a12
cmp cl, 0xb
je 0x458a12
mov cl, byte [esp + 0xa54]
xor dl, dl
jmp 0x458a14
mov dl, 1
fld1
test dl, dl
sete bl
cmp dword [esp + 0x8c], 0x80000000
mov byte [esp + 0x18], bl
jne 0x458ba0
fcom dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x458ba0
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x458a52.4
jmp dword [eax*4 + 0x45ab54]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4b76fc]
fstp dword [esp + 0x90]
test al, 1
je 0x458a78
test al, 2
je 0x458bc1
cmp byte [0x4c3f93], 0
je 0x458bc1
test eax, 0x400
jne 0x458bc1
xor bl, bl
mov byte [esp + 0x18], bl
jmp 0x458bc1
fstp st(0)
fld dword [0x4b76fc]
fstp dword [esp + 0x90]
jmp 0x458bc1
fstp st(0)
fld dword [0x4b76f8]
fstp dword [esp + 0x90]
jmp 0x458bc1
fstp st(0)
fld dword [0x4b76f4]
fstp dword [esp + 0x90]
jmp 0x458bc1
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
jne case.0x458a52.4
test byte [esp + 0x10], 4
mov esi, dword [esp + 0xa50]
je 0x458b86
fstp st(0)
fld dword [0x4b76fc]
fstp dword [esp + 0x90]
jmp 0x458bc8
test byte [esp + 0x10], 0x40
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x458b80
mov ecx, dword [esi + 0x48]
mov eax, dword [0x4c30ac]
imul ecx, ecx, 0x94
mov eax, dword [ecx + eax + 0x84]
add eax, eax
mov dword [esp + 0x8c], eax
jmp 0x458bc8
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x458b5a
fld dword [0x4b76f8]
fstp dword [esp + 0x90]
jmp 0x458bc1
push eax
mov eax, dword [esp + 0xb0]
call fcn.00460f20
mov dword [esp + 0x8c], eax
jmp 0x458bc1
test byte [esp + 0x10], 4
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x458b1e
fld dword [0x4b76f8]
fstp dword [esp + 0x90]
jmp 0x458bc8
fstp st(0)
fld dword [0x4b76f0]
fstp dword [esp + 0x90]
jmp 0x458bc1
fstp st(0)
cmp cl, 7
je 0x458bac
cmp cl, 8
jne 0x458bc1
cmp byte [0x4c3f93], 0
je 0x458bc1
or dword [esp + 0x10], 0x400
jmp 0x458bc1
fstp st(0)
mov esi, dword [esp + 0xa50]
fldz
xor edi, edi
fld dword [esp + 0x90]
mov dword [esp + 0x30], edi
fcom st(1)
mov dword [esp + 0x34], edi
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x458d33
mov al, byte [esp + 0xa54]
cmp al, 3
je 0x458bfd
cmp al, 6
jbe 0x458c0c
cmp al, 8
ja 0x458c0c
fadd qword [0x4b7660]
fstp dword [esp + 0x90]
jmp 0x458c0e
fstp st(0)
test bl, bl
je 0x458d22
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x48]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c30ac]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x20c]
push edx
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
fld dword [esp + 0x90]
fld st(0)
fld qword [0x4b7670]
fadd st(1), st(0)
fxch st(1)
call fcn.004964c0
fild dword [esp + 0x20c]
mov ebx, eax
lea eax, [ebx - 1]
imul eax, dword [esp + 0x21c]
fmulp st(2)
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
faddp st(2)
faddp st(1)
call fcn.004964c0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x458cb2.5
movzx ecx, byte [eax + 0x45abac]
jmp dword [ecx*4 + 0x45ab98]
add dword [esp + 0x8c], 8
test dword [esp + 0x10], 0x100000
je case.0x458cb2.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp case.0x458cb2.5
mov edx, dword [esi + 0x48]
mov eax, dword [0x4c30ac]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
mov edx, dword [esp + 0x8c]
lea eax, [edx + ecx + 2]
mov dword [esp + 0x8c], eax
jmp case.0x458cb2.5
mov ecx, dword [esi + 0x7c]
imul ecx, ebx
add dword [esp + 0x8c], ecx
jmp case.0x458cb2.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x8c], ebx
jmp case.0x458cb2.5
test dl, dl
jne case.0x458cb2.5
mov dword [esp + 0x8c], 0x1e
jmp case.0x458cb2.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x2f], 0
cmp dword [esp + 0x8c], eax
je 0x458d55
cmp dword [esp + 0x88], eax
jne case.0x45901c.4
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x28], 0
mov ebx, 0x400
cmp eax, 0xb
ja case.0x458d77.2
movzx edx, byte [eax + 0x45abcc]
jmp dword [edx*4 + 0x45abc0]
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je case.0x458d77.2
test edi, edi
jne 0x458dc3
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x48]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c30ac]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x20c]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov eax, dword [esp + 0x220]
add eax, 4
test dword [esp + 0x10], 0x200000
mov dword [esp + 0x28], eax
je 0x458df6
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x28], eax
mov ebx, 0x2c40
test edi, edi
jne 0x458e2f
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x48]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c30ac]
mov ecx, dword [edx + eax + 0x90]
push ecx
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0xa54]
cmp al, 1
jne 0x458e4c
or ebx, 0x40
test byte [esp + 0x10], 0x80
je 0x458e7e
or ebx, 0x800
jmp 0x458e7e
cmp al, 5
je 0x458e54
cmp al, 6
jne 0x458e7e
lea edx, [esp + 0x20c]
push edx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
push 0x47
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax + 2]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x88]
cmp eax, 0x80000000
je 0x458e8f
or ebx, 0x10
xor ecx, ecx
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], ecx
cmp eax, 0x80000000
jne 0x458eaf
mov dword [esp + 0x200], ecx
jmp 0x458eba
sub eax, dword [esp + 0x28]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x8c]
mov edx, eax
sub edx, 0x80000000
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esp + 0xa5c]
mov dword [esp + 0x204], edx
cmp word [eax], cx
jne 0x458ee7
mov eax, 0x4b5de8
push ebx
lea ecx, [esp + 0x1fc]
push ecx
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ebx, dword [esp + 0x200]
mov ecx, dword [esp + 0x8c]
sub ebx, dword [esp + 0x1f8]
cmp ecx, 0x80000000
je 0x458f25
cmp eax, ecx
jle 0x458f83
cmp byte [esp + 0xa54], 0xc
je 0x458f83
mov cl, byte [esp + 0xa54]
mov dword [esp + 0x8c], eax
cmp cl, 0xc
jne 0x458f5d
add eax, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x8c], eax
je 0x458f83
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp 0x458f83
cmp cl, 4
jne 0x458f83
mov edx, dword [esi + 0x48]
mov ecx, dword [0x4c30ac]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax + 2]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x88]
cmp eax, 0x80000000
je 0x458f95
cmp ebx, eax
jle case.0x458d77.2
add ebx, dword [esp + 0x28]
cmp byte [esp + 0xa54], 4
mov byte [esp + 0x2f], 1
mov dword [esp + 0x88], ebx
jne case.0x458d77.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esi + 0x48]
mov ecx, dword [0x4c30ac]
imul edx, edx, 0x94
mov edx, dword [edx + ecx + 0x84]
lea eax, [edx + eax*2]
add dword [esp + 0x88], eax
cmp dword [esp + 0x88], 0x80000000
jne case.0x45901c.4
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c30ac]
imul ecx, ecx, 0x94
mov ecx, dword [ecx + edx + 0x84]
mov edx, dword [esp + 0x38]
mov eax, ecx
shl eax, 4
add edx, 0xfffffffd
sub eax, ecx
cmp edx, 0x10
ja case.0x45901c.4
movzx edx, byte [edx + 0x45abf8]
jmp dword [edx*4 + 0x45abd8]
mov dword [esp + 0x88], eax
jmp case.0x45901c.4
add eax, eax
mov dword [esp + 0x88], eax
jmp case.0x45901c.4
test byte [esp + 0x10], 0x40
je 0x459047
mov dword [esp + 0x88], eax
jmp case.0x45901c.4
add ecx, ecx
mov dword [esp + 0x88], ecx
jmp case.0x45901c.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45901c.7
mov eax, dword [esp + 0xac]
push ecx
call fcn.00460f20
mov dword [esp + 0x88], eax
jmp case.0x45901c.4
test byte [esp + 0x10], 4
je case.0x45901c.7
lea edx, [ecx + ecx]
jmp 0x45908e
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45908e
mov ecx, dword [esi + 0x78]
lea ecx, [ecx + ecx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x88], edx
cmp byte [esp + 0xa54], 0xc
jne 0x4591a0
test byte [esp + 0x10], 4
jne 0x4591a0
fld1
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x4591a0
test edi, edi
jne 0x4590f7
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c30ac]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
mov ebx, dword [esp + 0x8c]
sub ebx, dword [esp + 0x20c]
sub ebx, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x28], ebx
je 0x459133
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jle 0x459197
mov edx, dword [esp + 0x21c]
fild dword [esp + 0x28]
add edx, dword [esp + 0x20c]
mov dword [esp + 0x28], edx
fidiv dword [esp + 0x28]
fadd qword [0x4b7660]
fstp dword [esp + 0x90]
fld dword [0x4b7700]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x4591a0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
not eax
mov edx, eax
and edx, 4
or ecx, edx
mov dword [esp + 0x10], ecx
test cl, 4
je 0x4591a0
and eax, 0x201040
or dword [esp + 0x10], eax
jmp 0x4591a0
fld1
fstp dword [esp + 0x90]
cmp byte [esp + 0x1f1], 0
mov eax, dword [esi]
mov ebx, dword [esi + 0xc]
sete byte [esp + 0x2c]
push eax
mov byte [esp + 0x27], 0
add ebx, 3
mov byte [esp + 0x1f], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4591dc
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x4591e1
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2d], 0
jae 0x459232
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x45922a
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45922a
mov eax, dword [edi]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [ebp + 7]
cmp eax, ecx
jne 0x45922a
mov dl, byte [esp + 0x17]
mov byte [esp + 0x2d], dl
jmp 0x459232
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
dec eax
cmp eax, 0x14
ja case.0x459246.20
jmp dword [eax*4 + 0x45ac0c]
mov eax, dword [0x4c0e6c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x8c]
push 0
push eax
mov eax, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0xa78]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push str.static
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x459246.20
mov ecx, dword [esp + 0x88]
cmp ecx, 0x80000000
jne 0x4592b6
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x4592cd
xor eax, eax
mov dword [esp + 0x8c], eax
mov edx, dword [0x4c0e6c]
push 0
push edx
mov edx, dword [esi]
push ebx
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push eax
mov eax, dword [esp + 0xa78]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push str.static
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov dl, byte [ebp + 5]
mov ecx, dword [esp + 0xd0]
shr dl, 1
and dl, 1
movzx eax, dl
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0xa68]
push eax
push ecx
push edx
call fcn.0046c8b0
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x459246.20
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov eax, ebx
neg eax
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xe
or eax, dword [esp + 0x10]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp]
push edx
push ebx
push 0x172
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
jne 0x45939f
and byte [ebp + 5], 0x7f
mov byte [esp + 0x23], 1
jmp case.0x459246.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x23], 1
jmp case.0x459246.20
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b5dec
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x459246.20
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b5dec
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov ebx, dword [esp + 0x10]
test bl, 1
je case.0x459246.20
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0xc]
jae 0x45949f
mov edx, dword [esi + 0x14]
push 1
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call edi
jmp 0x4594a5
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
push 0
mov dword [esi + 0x18], eax
add eax, 3
push eax
push 0x401
push ecx
call edi
mov eax, dword [ebp]
push 1
movzx edx, bx
push edx
push 0xf4
push eax
call edi
jmp case.0x459246.20
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0xa78]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edx
push 0x4b5dec
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je case.0x459246.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x459246.20
cmp dword [esp + 0xc4], 0
je 0x45955e
cmp byte [ebp + 4], 8
jne 0x45955e
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a596c
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov edx, dword [esi + 0x48]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4c30ac]
mov edx, dword [edx + ecx + 0x90]
push edx
push 0x30
push eax
call edi
cmp byte [esp + 0x18], 0
mov byte [esp + 0x1b], 1
je 0x459651
mov eax, dword [ebp]
push 0
push 0
push 0x154
push eax
call edi
mov cl, byte [esp + 0x10]
mov dword [esp + 0x1c], eax
test cl, 1
je 0x45960a
mov ebx, 4
test cl, 2
je 0x45960f
mov ebx, 2
lea eax, [ebx + eax*2 + 8]
cmp dword [esp + 0x8c], eax
jge 0x459625
mov dword [esp + 0x8c], eax
jmp 0x459651
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45964f
fimul dword [esp + 0x1c]
call fcn.004964c0
lea ecx, [eax + ebx + 8]
mov dword [esp + 0x8c], ecx
jmp 0x459651
fstp st(0)
mov edx, dword [esp + 0x8c]
push 1
push edx
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0x23], 1
jmp case.0x459246.20
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a596c
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov ecx, dword [esp + 0x19c]
test ecx, ecx
je 0x4596f9
lea edx, [esp + 0xd4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x48]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c30ac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call edi
mov edx, dword [ebp]
push 0
push 0
push 0x1a1
push edx
mov byte [esp + 0x2b], 1
call edi
mov ebx, dword [esp + 0x10]
and ebx, 0x100000
mov dword [esp + 0x1c], eax
lea edi, [eax + 8]
je 0x459755
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov ecx, dword [esp + 0x8c]
cmp ecx, edi
jge 0x459771
mov ecx, edi
push 1
mov dword [esp + 0x90], ecx
push ecx
jmp 0x45965b
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4597bc
fimul dword [esp + 0x1c]
call fcn.004964c0
lea ecx, [eax + 8]
mov dword [esp + 0x8c], ecx
test ebx, ebx
je 0x4597be
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x8c]
add ecx, eax
push 1
mov dword [esp + 0x90], ecx
push ecx
jmp 0x45965b
fstp st(0)
push 1
push ecx
jmp 0x45965b
mov eax, dword [esp + 0x74]
cmp eax, 4
je 0x4597dc
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffffc
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x4597ef
mov eax, 0xc8
mov edx, dword [0x4c0e6c]
mov ecx, dword [esi]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a596c
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [ebp], ebx
test ebx, ebx
je case.0x459246.20
push 0x3f8
call fcn.004863c4
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x459863
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x459246.20
push 0x3f8
mov dword [esi + 0x4c], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00490160
mov edx, dword [ebp + 0x10]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x10]
mov cl, byte [esp + 0x1fe]
mov byte [eax + 5], cl
mov eax, dword [esp + 0x58]
add esp, 0xc
test eax, eax
je 0x45989b
or byte [eax + 5], 0x80
cmp dword [esp + 0x74], 4
jne 0x4598b5
mov edx, dword [ebp]
push 0
push 4
push 0x108e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4598cf
push eax
mov eax, dword [ebp]
push 0
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x60]
mov edi, ebp
call fcn.00461070
cmp dword [esp + 0x8c], 0x80000000
jne case.0x459246.20
mov edx, dword [esi + 0x48]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov eax, dword [0x4c30ac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [edx + eax + 0x90]
mov edx, dword [ebp]
push ecx
push 0x30
push edx
call edi
mov eax, dword [esp + 0x74]
dec eax
mov byte [esp + 0x1b], 1
je 0x459a7c
sub eax, 3
je 0x459a4e
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x459967
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c30ac]
imul ecx, ecx, 0x94
mov ebx, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push ebx
mov dword [esp + 0x38], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
cmp dword [esp + 0x74], 0
jne 0x459a12
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
test eax, eax
jns 0x4599a2
fadd dword [0x4b7698]
fld dword [esp + 0x90]
push 0xc
fsub qword [0x4b7660]
fnstcw word [esp + 0x1c]
movzx eax, word [esp + 0x1c]
fmulp st(1)
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
shr eax, 0x10
mov dword [esp + 0x20], eax
fldcw word [esp + 0x1c]
fild dword [esp + 0x20]
fstp qword [esp + 0x54]
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x90]
fadd qword [esp + 0x50]
call fcn.004964c0
mov ecx, dword [esp + 0x20c]
lea eax, [eax + ecx + 0x10]
jmp 0x459aba
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20c]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jg 0x459a2d
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fsub qword [0x4b7660]
faddp st(1)
call fcn.004964c0
add eax, 0xb
jmp 0x459aba
mov edx, dword [ebp]
push 0
push 0
push 0x1033
push edx
call edi
shr eax, 0x10
sub eax, 3
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul dword [esp + 0x90]
call fcn.004964c0
add eax, 7
jmp 0x459aba
fld dword [esp + 0x90]
mov ecx, dword [ebp]
fnstcw word [esp + 0x18]
push 0xffffffffffffffff
movzx eax, word [esp + 0x1c]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x54]
mov eax, dword [esp + 0x54]
dec eax
push eax
push 0x1040
fldcw word [esp + 0x24]
push ecx
call edi
shr eax, 0x10
add eax, 4
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
push 1
push eax
push edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x459246.20
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x459afe
mov eax, 0xc8
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
push 0
push ecx
mov ecx, dword [esp + 0x8c]
push ebx
push edx
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4a596c
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
cmp dword [esp + 0xcc], 0
mov dword [esi + 0x50], ebp
je 0x459b6d
mov edx, dword [esp + 0x10]
mov eax, dword [ebp]
or edx, 0x100
push edx
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esp + 0x60]
mov esi, ebp
call fcn.00461120
mov eax, dword [esp + 0x78]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x459b94
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x8c], 0x80000000
jne 0x45a520
mov edi, dword [esp + 0xa50]
mov eax, dword [edi + 0x48]
movzx edx, byte [esp + 0x17]
imul eax, eax, 0x94
mov ecx, dword [0x4c30ac]
push edx
mov edx, dword [eax + ecx + 0x90]
mov eax, dword [ebp]
push edx
push 0x30
push eax
call esi
mov ecx, dword [ebp]
push 0
push 0
push 0x111c
push ecx
mov byte [esp + 0x2b], 1
call esi
mov dword [esp + 0x8c], eax
cmp eax, 2
jge 0x459c0f
mov edx, dword [edi + 0x48]
mov eax, dword [0x4c30ac]
imul edx, edx, 0x94
mov ecx, dword [edx + eax + 0x84]
add ecx, ecx
mov dword [esp + 0x8c], ecx
fild dword [esp + 0x8c]
fmul dword [esp + 0x90]
call fcn.004964c0
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
push 1
add eax, 4
push eax
push edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x90]
mov edx, dword [ebp]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, edi
jmp case.0x459246.20
mov ecx, dword [esp + 0x10]
test cl, 4
jne 0x459c84
cmp dword [esp + 0xc4], 0
jge 0x459c73
and ecx, 0xffefff7f
jmp 0x459c80
mov eax, dword [esp + 0x64]
not eax
and eax, 0x80
or ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x459ca8
test cl, 4
je 0x459ca8
mov edi, eax
call fcn.0046bff0
mov edi, eax
mov eax, dword [esp + 0xa5c]
jmp 0x459caa
mov edi, eax
test edi, edi
je 0x459cb0
mov eax, edi
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
push 0
push ecx
mov ecx, dword [esp + 0x94]
push ebx
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x98]
push edx
mov edx, dword [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x44]
push ecx
push eax
push str.edit
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x459d6b
test byte [esp + 0x10], 0x20
je 0x459d24
mov cx, word [esp + 0x1ec]
test cx, cx
je 0x459d24
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call ebx
jmp 0x459d2a
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jns 0x459d3e
xor eax, eax
mov dword [esp + 0xc4], eax
mov edx, dword [ebp]
push 0
push eax
push 0xc5
push edx
call ebx
mov eax, dword [esp + 0x19c]
test eax, eax
je 0x459d6b
mov edx, dword [ebp]
lea ecx, [esp + 0xd4]
push ecx
push eax
push 0xcb
push edx
call ebx
test edi, edi
je case.0x459246.20
cmp edi, dword [esp + 0xa5c]
je case.0x459246.20
push edi
call fcn.00487975
add esp, 4
jmp case.0x459246.20
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
mov byte [esp + 0x18], 0
je 0x459deb
mov edi, eax
push str.LongDate
push edi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x459dc4
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x459deb
push str.Time
push edi
call fcn.00486339
add esp, 8
test eax, eax
jne 0x459de6
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x459deb
mov byte [esp + 0x18], 1
mov eax, 2
cmp dword [esp + 0x94], eax
jne 0x459dfd
or dword [esp + 0x10], eax
mov eax, dword [0x4c0e6c]
mov ecx, dword [esi]
mov edx, dword [esp + 0x8c]
push 0
push eax
mov eax, dword [esp + 0x90]
push ebx
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push 0x4a596c
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
cmp byte [esp + 0x18], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x459e6d
mov edx, dword [esp + 0xa5c]
push edx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x459e8c
mov edx, dword [ebp]
lea ecx, [esp + 0x1c0]
push ecx
push eax
push 0x1004
push edx
call edi
mov eax, dword [esp + 0x94]
test eax, eax
je 0x459eb3
xor edx, edx
cmp eax, 1
mov eax, dword [ebp]
setne dl
lea ecx, [esp + 0x1a0]
push ecx
push edx
push 0x1002
push eax
call edi
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je case.0x459246.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x459246.20
cmp dword [esp + 0x1e0], 0
jne 0x459f0a
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x459f0a
lea eax, [esp + 0x1a0]
mov ecx, edx
call fcn.0046ad70
mov dword [esp + 0x1e0], eax
cmp eax, 3
jne 0x459f0a
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
jne 0x459f1e
mov ecx, 0x64
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x459f2e
mov eax, 0x64
mov edx, dword [0x4c0e6c]
push 0
push edx
mov edx, dword [esi]
push ebx
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a596c
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
mov edi, dword [esp + 0x10]
and edi, 2
je 0x459f8e
push 0
push 0x16e
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x1e4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x459fb3
mov edx, dword [ebp]
lea ecx, [esp + 0x1c0]
push ecx
push eax
push 0x1012
push edx
call ebx
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x45a029
test edi, edi
je 0x45a014
cmp eax, 1
jne 0x459fff
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov edx, dword [esp + 0x1a8]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x1ac]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], eax
mov edx, dword [ebp]
lea ecx, [esp + 0x1a0]
push ecx
push 0
push 0x1006
push edx
jmp 0x45a027
mov ecx, dword [ebp]
lea eax, [esp + 0x1a0]
push eax
push 0
push 0x1002
push ecx
call ebx
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
je 0x45a041
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [esi + 0x48]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c30ac]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call ebx
mov edi, SysReAllocString
mov byte [esp + 0x1b], 1
cmp dword [esp + 0x88], edi
je 0x45a086
cmp dword [esp + 0x8c], edi
jne case.0x459246.20
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45a520
cmp dword [esp + 0x88], 0
jge 0x45a0f8
test byte [esp + 0x10], 0x10
je 0x45a0b7
mov eax, dword [esp + 0x44]
jmp 0x45a0d0
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x45a0d0
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, edi
jne 0x45a0e4
mov dword [esp + 0x88], eax
jmp 0x45a0f8
add eax, 6
imul eax, ecx
mov edx, 0xfffffffa
sub edx, eax
mov dword [esp + 0x88], edx
mov ecx, dword [esp + 0x8c]
cmp ecx, edi
jne 0x45a1f1
fldz
mov ecx, dword [esp + 0x48]
fld dword [esp + 0x90]
mov dword [esp + 0x8c], ecx
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45a1ef
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45a1f1
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x45a172
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x48]
mov edx, dword [0x4c30ac]
imul ecx, ecx, 0x94
mov edi, eax
mov eax, dword [ecx + edx + 0x90]
push eax
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test byte [esp + 0x10], 0x10
mov edi, dword [esp + 0x20c]
je 0x45a1a1
mov edx, dword [esp + 0x8c]
lea eax, [edx + edi + 4]
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fxch st(1)
call fcn.004964c0
add edi, 0xfffffffe
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
mov dword [esp + 0x1c], edi
fild dword [esp + 0x1c]
fxch st(2)
fsub qword [0x4b7660]
fmulp st(2)
fsubrp st(1)
call fcn.004964c0
mov ecx, eax
mov dword [esp + 0x8c], ecx
jmp 0x45a1f1
fstp st(0)
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
push 1
push ecx
mov ecx, dword [esp + 0x90]
push ecx
mov ecx, dword [ebp]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp case.0x459246.20
mov edx, dword [0x4c0e6c]
mov eax, dword [esi]
mov ecx, dword [esp + 0x8c]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a596c
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45a294
push 0
call fcn.00460b60
mov edx, dword [ebp]
movzx ecx, ax
push ecx
push 0x401
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jle 0x45a520
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x459246.20
test byte [esp + 0x10], 0x10
je 0x45a478
cmp dword [esi + 4], 0
jne 0x45a2e1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45a478
test byte [eax + 5], 0x80
je 0x45a478
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x18], 1
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a596c
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x1c]
je 0x45a359
mov ecx, dword [ebx]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0xc], 0
je 0x45a4c8
test byte [esp + 0x10], 0x10
jne 0x45a375
cmp byte [esp + 0x18], 0
je 0x45a4c8
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push 2
lea ecx, [esp + 0x40]
push ecx
push edx
push 0
call edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
sub edx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], ecx
sub eax, ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov edx, dword [ebx]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi]
push 2
lea eax, [esp + 0x54]
push eax
push ecx
push 0
call edi
cmp byte [esi + 0xbc], 0
je 0x45a455
test byte [esp + 0x10], 4
je 0x45a427
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x80]
add dword [esp + 0x44], eax
push 1
push edx
add ecx, eax
push eax
mov eax, dword [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
add eax, dword [esp + 0x88]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x60], eax
sub eax, edx
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov cl, byte [esp + 0x10]
test cl, 4
je 0x45a482
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
jmp 0x45a491
mov byte [esp + 0x18], 0
jmp 0x45a2eb
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
cmp byte [esp + 0x1ee], 0
jne 0x45a4e5
cmp byte [ebx + 4], 9
jne 0x45a4d2
mov byte [esp + 0x1ee], 1
test cl, 0x40
je 0x45a4bb
mov dword [esp + 0x9c], 0x7fff
jmp 0x45a4e5
mov dword [esp + 0x98], 0x7fff
jmp 0x45a4e5
cmp byte [esp + 0x1ee], 0
jne 0x45a4e5
mov byte [esp + 0x1ee], 1
mov dword [esp + 0x9c], 0x64
lea ecx, [esp + 0x60]
mov eax, ebp
call fcn.00460ed0
mov esi, dword [esp + 0xa5c]
call fcn.0040ca10
mov cl, byte [ebp + 5]
and cl, 0x80
movzx edx, cl
neg edx
push eax
mov eax, dword [ebp]
sbb edx, edx
and edx, 0xa
push 0
add edx, 0x467
push edx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0xa50]
mov edi, dword [esp + 0x30]
test edi, edi
je 0x45a549
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45a53f
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45a767
push 0x4a596c
push str.Cant_create_control.__The_current_thread_will_exit.
mov ecx, 0x4c3168
call fcn.0042d6d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a596c
push str.msctls_trackbar32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
lea eax, [esp + 0x60]
mov esi, ebp
call fcn.00460f90
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45a520
mov esi, eax
call fcn.0040ca10
test byte [ebp + 5], 0x80
je 0x45a5f7
push eax
mov edi, ebp
call fcn.00460f50
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x45a51a
mov edx, dword [0x4c0e6c]
mov eax, dword [esi]
mov ecx, dword [esp + 0x8c]
push 0
push edx
mov edx, dword [esp + 0x90]
push ebx
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push 0x4a596c
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea eax, [esp + 0x68]
mov ecx, ebp
call fcn.00461170
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x45a698
push 0
mov esi, edx
call fcn.0040ca10
push eax
mov eax, dword [ebp]
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0xa50]
mov byte [esp + 0x2c], 0
jmp case.0x459246.20
mov ecx, dword [0x4c0e6c]
mov edx, dword [esi]
mov eax, dword [esp + 0x8c]
push 0
push ecx
mov ecx, dword [esp + 0x90]
push ebx
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push 0x4a596c
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45a520
mov al, byte [esi + 0x54]
mov byte [esi + 0x55], al
inc al
push 0x4608e0
mov byte [esi + 0x56], 0
mov byte [esi + 0x54], al
mov eax, dword [ebp]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c0e90], eax
jmp case.0x459246.20
mov ecx, dword [esi]
mov edx, dword [esp + 0xa5c]
mov eax, dword [esp + 0x10]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.COMCTL32.dll_CreateStatusWindowW]
mov dword [ebp], eax
test eax, eax
je case.0x459246.20
mov ecx, dword [esp + 0xc0]
mov dword [esi + 4], eax
cmp ecx, 0xffffffff
je case.0x459246.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x459246.20
mov eax, dword [esp + 0x7c]
inc dword [esi + 0xc]
mov dl, byte [esp + 0x2f]
mov byte [esi + 0xbc], dl
test eax, eax
je 0x45a786
mov ecx, dword [ebp]
push ecx
push eax
call fcn.0046d5d0
cmp byte [ebp + 4], 6
jne 0x45a7aa
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x45a7a4
push eax
mov eax, dword [esi + 0xc]
dec eax
push ebp
mov ecx, esi
call fcn.00460e20
mov byte [esi + 0x3c], 1
jmp 0x45a7ae
mov byte [esi + 0x3c], 0
test dword [esp + 0x64], 0x10000000
je 0x45a7bc
or byte [ebp + 5], 8
test dword [esp + 0x60], 0x8000000
je 0x45a7ca
or byte [ebp + 5], 0x10
cmp byte [esp + 0x2c], 0
jne 0x45a7f5
cmp dword [ebp + 0x10], 0xff000000
je 0x45a7e9
mov al, byte [ebp + 4]
cmp al, 5
je 0x45a7f5
cmp al, 6
je 0x45a7f5
cmp al, 3
je 0x45a7f5
cmp byte [ebp + 4], 3
jne 0x45a801
test byte [ebp + 5], 0x40
je 0x45a801
mov edx, dword [ebp]
push edx
call fcn.0046d340
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x45a838
cmp byte [esp + 0x2e], 0
je 0x45a838
mov ecx, dword [esi + 0x48]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c30ac]
push eax
mov eax, dword [ecx + edx + 0x90]
mov ecx, dword [ebp]
push eax
push 0x30
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x1e8], 4
jne 0x45a852
mov edx, dword [ebp]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45a86f
mov ecx, dword [esp + 0x94]
push ecx
push esi
mov edi, ebp
call fcn.0045d7b0
cmp byte [ebp + 4], 0x13
jne 0x45a921
fldz
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x45a921
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x10]
test al, 2
je 0x45aa9f
test al, al
js 0x45aa9f
mov ecx, dword [ebp]
and eax, 0xfffffffd
push eax
push 0xfffffffffffffff0
push ecx
mov bl, 1
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 1
push 0x1328
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x45a8ed
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp]
push ecx
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push 1
push eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x90]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [esp + 0x23], 0
je 0x45a990
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x3c]
cmp byte [esp + 0xa54], 9
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
jne 0x45a990
test dword [esp + 0x10], 0x100000
je 0x45a990
mov eax, dword [esp + 0xc8]
test eax, eax
jns 0x45a97e
lea eax, [ecx + ecx*2]
mov dword [esp + 0xc8], eax
push 0
push eax
mov eax, dword [ebp]
push 0x194
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
test ebx, ebx
je 0x45a9ef
cmp byte [esp + 0x2d], 0
je 0x45a9d6
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi]
push 2
lea eax, [esp + 0x40]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
push 0
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x45a9ef
mov ecx, dword [ebp]
mov edx, dword [ebx]
push 0x13
push 0
push 0
push 0
push 0
push ecx
push edx
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x45aa05
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call edi
cmp byte [esp + 0xa54], 0x15
je 0x45aabe
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x84]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
add eax, edx
add ecx, edi
mov dword [esi + 0x80], edx
mov dword [esi + 0x84], edi
cmp eax, dword [esi + 0x90]
jle 0x45aa59
mov dword [esi + 0x90], eax
cmp ecx, dword [esi + 0x94]
jle 0x45aa67
mov dword [esi + 0x94], ecx
cmp byte [esp + 0x1f0], 0
jne 0x45aaa6
mov ebx, dword [esi + 0xc]
cmp ebx, 1
je 0x45aaa6
cmp ebx, 2
jne 0x45aa87
mov ebx, dword [esi + 0x14]
cmp byte [ebx + 4], 0x15
je 0x45aaa6
cmp eax, dword [esi + 0xa0]
jle 0x45aa95
mov dword [esi + 0xa0], eax
cmp ecx, dword [esi + 0xa4]
jle 0x45aabe
jmp 0x45aab8
xor bl, bl
jmp 0x45a8c2
mov dword [esi + 0x98], edx
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa3c
ret 0x10