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

Disassembly:
sub esp, 0xa3c
push ebx
mov ebx, dword [esp + 0xa44]
mov ecx, dword [ebx + 0x10]
push ebp
push esi
push edi
cmp ecx, 0x2af8
jb 0x45b81d
push 0x4a59a4
push str.Too_many_controls.
mov ecx, 0x4c4000
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jb 0x45b84a
mov ecx, dword [ebx + 0x18]
lea eax, [eax + eax*4 + 0x1388]
add eax, eax
add eax, eax
push eax
push ecx
call fcn.00489457
add esp, 8
test eax, eax
je 0x45b7fc
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 + 0xa54]
cmp al, 0x14
jne 0x45b880
or byte [ebp + 5], 0x80
mov byte [esp + 0xa54], 0x13
jmp 0x45b884
cmp al, 0x13
jne 0x45b8c1
mov al, 0xff
cmp byte [ebx + 0xb8], al
jne 0x45b8af
push 0x4a59a4
push str.Too_many_tab_controls.
mov ecx, 0x4c4000
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], al
mov cl, byte [ebx + 0xb8]
mov al, byte [esp + 0xa54]
jmp 0x45b901
cmp al, 0x16
jne 0x45b8f2
cmp dword [ebx + 8], 0
je 0x45b8ec
push 0x4a59a4
push str.Too_many_status_bars.
mov ecx, 0x4c4000
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov byte [ebp + 6], 0xff
jmp 0x45b904
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 edi, SysReAllocString
jne 0x45b96b
mov esi, dword [0x4c3f64]
cmp dword [ebx + 0x78], edi
jne 0x45b938
mov edx, dword [ebx + 0x50]
imul edx, edx, 0x94
fild dword [edx + esi + 0x84]
fmul qword [0x4b8980]
call fcn.004967e0
mov dword [ebx + 0x78], eax
cmp dword [ebx + 0x7c], edi
jne 0x45b95b
mov eax, dword [ebx + 0x50]
imul eax, eax, 0x94
fild dword [eax + esi + 0x84]
fmul qword [0x4b89d0]
call fcn.004967e0
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.00460ff0
mov al, byte [esp + 0xa54]
or dword [esp + 0x60], 0x10000000
mov dl, byte [ebx + 0x45]
mov byte [esp + 0x1f1], dl
cmp al, 6
jne 0x45b9ae
or dword [esp + 0x60], 0x4000
cmp byte [ebx + 0x44], 0
jne 0x45b9cc
or dword [esp + 0x60], 0x20000
jmp 0x45b9cc
cmp byte [ebx + 0x44], 0
je 0x45b9bc
or dword [esp + 0x60], 0x20000
cmp al, 2
je 0x45b9e9
cmp al, 0x10
je 0x45b9e9
cmp al, 0x11
je 0x45b9e9
cmp al, 0x12
je 0x45b9e9
cmp byte [ebp + 4], 0xa
mov byte [esp + 0x2e], 1
je 0x45b9dd
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0x10], ecx
mov edx, dword [ebx + 0x54]
mov dword [esp + 0xbc], edx
jmp 0x45b9f9
mov byte [esp + 0x2e], 0
cmp al, 0x12
jne 0x45b9f9
mov dword [ebp + 0x10], 0xff000000
movzx eax, al
mov dword [esp + 0x38], eax
add eax, 0xfffffffc
mov ecx, 0x10000
cmp eax, 0x12
ja case.0x45ba11.6
jmp dword [eax*4 + 0x45e15c]
or dword [esp + 0x60], 0x210000
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x210042
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x210080
or dword [esp + 0x68], 0x200
jmp case.0x45ba11.6
or dword [esp + 0x70], 0x30
or dword [esp + 0x60], 0x10008
or dword [esp + 0x68], 0x200
mov dword [esp + 0x74], 1
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x10027
or dword [esp + 0x68], 0x200
jmp case.0x45ba11.6
or dword [esp + 0x60], ecx
or dword [esp + 0x68], 0x200
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x36
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x1000c
jmp case.0x45ba11.6
or dword [esp + 0x60], ecx
jmp case.0x45ba11.6
or dword [esp + 0x60], 1
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x10200
mov byte [esp + 0x1f1], 0
jmp case.0x45ba11.6
or dword [esp + 0x60], 0x4000000
jmp case.0x45ba11.6
test dword [ebx + 0x3c], 0x40000
je 0x45bad1
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.0045eca0
test eax, eax
jne 0x45bb00
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 0x45bb16
mov eax, dword [ebp + 0x10]
cmp eax, 0xff000000
mov eax, dword [esp + 0xc0]
setne dl
mov byte [esp + 0x1ef], dl
cmp eax, 0xff000000
jne 0x45bb40
mov dword [esp + 0xc0], 0xffffffff
jmp 0x45bb61
cmp eax, 0xffffffff
jne 0x45bb61
mov ebx, dword [ebx + 0x5c]
cmp ebx, 0xff000000
je 0x45bb61
cmp cl, 0x12
je 0x45bb61
cmp cl, 0x16
je 0x45bb61
mov dword [esp + 0xc0], ebx
cmp dword [esp + 0x88], 0x80000000
mov esi, dword [esp + 0x64]
jne 0x45bbae
cmp dword [esp + 0x8c], 0x80000000
jne 0x45bbae
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x45bbae
mov edi, dword [esp + 0xa5c]
mov ebx, 0x4b733c
mov eax, edi
call fcn.00408f40
test eax, eax
jne 0x45bbae
xor ecx, ecx
jmp 0x45bbbf
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.0x45bbf6.10
movzx eax, byte [eax + 0x45e1d0]
jmp dword [eax*4 + 0x45e1a8]
and ebx, 0xfffffff7
or ebx, 7
jmp 0x45bd11
test bl, 1
je 0x45bc1e
and ebx, 0xfffffff1
or ebx, 1
mov dword [esp + 0x10], ebx
or ebx, ecx
jmp 0x45bd11
and ebx, 0xfffffff0
or ebx, ecx
jmp 0x45bd11
mov edx, ebx
and edx, 6
cmp dl, 6
jne 0x45bc45
and ebx, 0xfffffff6
or ebx, 6
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45bbf6.10
and ebx, 0xfffffff3
or ebx, 3
mov dword [esp + 0x10], ebx
or dword [esp + 0x10], ecx
jmp case.0x45bbf6.10
and ebx, 0xfffffff9
or ebx, 9
mov eax, ebx
test eax, 0x20000
je 0x45bc74
test esi, 0x10000
jne 0x45bc74
or eax, 0x10000
or eax, ecx
mov dword [esp + 0x10], eax
jmp case.0x45bbf6.10
or ebx, 3
jmp 0x45bd11
test bl, 1
je 0x45bc94
and ebx, 0xfffffff1
or ebx, 1
jmp 0x45bd11
and ebx, 0xfffffff2
or ebx, 2
jmp 0x45bd11
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jnp 0x45bcc3
push 0xa
push edi
call fcn.00488f71
mov esi, dword [esp + 0x6c]
add esp, 8
test eax, eax
je 0x45bcd0
mov eax, esi
not eax
and eax, 4
or ebx, eax
mov dword [esp + 0x10], ebx
test bl, 4
je case.0x45bbf6.10
not esi
and esi, 0x201040
or ebx, esi
jmp 0x45bd11
mov ecx, dword [esp + 0xa50]
or ebx, 0x4000000
cmp dword [ecx + 0x60], 0
je 0x45bcfa
test byte [ebp + 5], 0x20
je 0x45bd03
cmp dword [ebp + 0x10], 0xff000000
je 0x45bd0b
or ebx, 0x2000
jmp 0x45bd11
and ebx, 0xffffdfff
mov dword [esp + 0x10], ebx
cmp byte [esp + 0xa54], 4
jne 0x45be76
cmp dword [ebp + 0xc], 0
jne 0x45be76
test byte [ebp + 5], 1
jne 0x45be76
mov esi, dword [esp + 0xa50]
mov eax, dword [esi]
cmp word [eax], 0x31
jne 0x45bd59
cmp word [eax + 2], 0
jne 0x45bd59
xor edx, edx
mov word [esp + 0x248], dx
jmp 0x45bd71
lea edx, [esp + 0x248]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x45bd62
push edi
push str.Button_s
mov eax, 0x400
lea ecx, [esp + 0x250]
call fcn.0046f140
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea eax, [esp + 0x264]
push 0x4b7358
push eax
xor eax, eax
call fcn.0046f8a0
add esp, 0x24
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea ecx, [esp + 0x25c]
push 0x4a4fdc
push ecx
xor eax, eax
call fcn.0046f8a0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea edx, [esp + 0x25c]
push 0x4a2888
push edx
xor eax, eax
call fcn.0046f8a0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea eax, [esp + 0x25c]
push 0x4a2bb8
push eax
xor eax, eax
call fcn.0046f8a0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea ecx, [esp + 0x25c]
push 0x4a57d4
push ecx
xor eax, eax
call fcn.0046f8a0
add esp, 0x1c
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push 0x4a59a4
lea edx, [esp + 0x25c]
push 0x4b735c
push edx
xor eax, eax
call fcn.0046f8a0
add esp, 0x1c
lea edi, [esp + 0x248]
mov eax, 0x4c4000
call fcn.00419930
mov dword [ebp + 0xc], eax
jmp 0x45be7d
mov esi, dword [esp + 0xa50]
mov bl, byte [ebp + 6]
mov ecx, esi
call fcn.004651f0
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x45bea2
mov edx, dword [esi + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov dword [esp + 0x1c], ecx
jmp 0x45bead
lea edx, [esp + 0x1f8]
mov dword [esp + 0x1c], edx
mov ecx, SysReAllocString
cmp dword [esp + 0x80], ecx
jne 0x45bf73
cmp dword [esp + 0x84], ecx
jne 0x45bf73
test eax, eax
je 0x45bf0a
mov al, byte [ebp + 7]
mov ecx, esi
call fcn.00465370
test eax, eax
jne 0x45bf0a
mov ebx, dword [esp + 0xa50]
mov esi, dword [esp + 0x4c]
push ebx
lea edi, [esp + 0x54]
call fcn.004653a0
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 0x45bf26
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 0x45bf73
mov edx, dword [esp + 0xa50]
cmp dword [edx + 0x10], 0
je 0x45bf89
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 4], 1
jne 0x45bf89
mov dl, byte [ecx + 6]
cmp dl, byte [ebp + 6]
jne 0x45bf89
mov cl, byte [ecx + 7]
cmp cl, byte [ebp + 7]
jne 0x45bf89
mov cl, byte [esp + 0xa54]
add eax, 8
mov dword [esp + 0x84], eax
xor dl, dl
jmp 0x45bf96
mov cl, byte [esp + 0xa54]
cmp cl, 0xe
je 0x45bf94
cmp cl, 0xa
je 0x45bf94
cmp cl, 0xb
je 0x45bf94
mov cl, byte [esp + 0xa54]
xor dl, dl
jmp 0x45bf96
mov dl, 1
fld1
test dl, dl
sete bl
cmp dword [esp + 0x8c], 0x80000000
mov byte [esp + 0x18], bl
jne 0x45c122
fcom dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x45c122
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45bfd4.4
jmp dword [eax*4 + 0x45e1e4]
mov eax, dword [esp + 0x10]
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
test al, 1
je 0x45bffa
test al, 2
je 0x45c143
cmp byte [0x4c4e43], 0
je 0x45c143
test eax, 0x400
jne 0x45c143
xor bl, bl
mov byte [esp + 0x18], bl
jmp 0x45c143
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
jmp 0x45c143
fstp st(0)
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c143
fstp st(0)
fld dword [0x4b89bc]
fstp dword [esp + 0x90]
jmp 0x45c143
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
jne case.0x45bfd4.4
test byte [esp + 0x10], 4
mov esi, dword [esp + 0xa50]
je 0x45c108
fstp st(0)
fld dword [0x4b89c4]
fstp dword [esp + 0x90]
jmp 0x45c14a
test byte [esp + 0x10], 0x40
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x45c102
mov ecx, dword [esi + 0x50]
mov eax, dword [0x4c3f64]
imul ecx, ecx, 0x94
mov eax, dword [ecx + eax + 0x84]
add eax, eax
mov dword [esp + 0x8c], eax
jmp 0x45c14a
mov eax, dword [esp + 0x10]
fstp st(0)
test al, 2
je 0x45c0dc
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c143
push eax
mov eax, dword [esp + 0xb0]
call fcn.00464a60
mov dword [esp + 0x8c], eax
jmp 0x45c143
test byte [esp + 0x10], 4
fstp st(0)
mov esi, dword [esp + 0xa50]
je 0x45c0a0
fld dword [0x4b89c0]
fstp dword [esp + 0x90]
jmp 0x45c14a
fstp st(0)
fld dword [0x4b89b8]
fstp dword [esp + 0x90]
jmp 0x45c143
fstp st(0)
cmp cl, 7
je 0x45c12e
cmp cl, 8
jne 0x45c143
cmp byte [0x4c4e43], 0
je 0x45c143
or dword [esp + 0x10], 0x400
jmp 0x45c143
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 0x45c2b6
mov al, byte [esp + 0xa54]
cmp al, 3
je 0x45c17f
cmp al, 6
jbe 0x45c18e
cmp al, 8
ja 0x45c18e
fadd qword [0x4b8928]
fstp dword [esp + 0x90]
jmp 0x45c190
fstp st(0)
test bl, bl
je 0x45c2a5
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
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 [0x4b8938]
fadd st(1), st(0)
fxch st(1)
call fcn.004967e0
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.004967e0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffffd
cmp eax, 0x10
ja case.0x45c235.5
movzx ecx, byte [eax + 0x45e23c]
jmp dword [ecx*4 + 0x45e228]
add dword [esp + 0x8c], 8
test dword [esp + 0x10], 0x100000
je case.0x45c235.5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp case.0x45c235.5
mov edx, dword [esi + 0x50]
mov eax, dword [0x4c3f64]
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.0x45c235.5
mov ecx, dword [esi + 0x7c]
imul ecx, ebx
add dword [esp + 0x8c], ecx
jmp case.0x45c235.5
inc ebx
imul ebx, dword [esi + 0x7c]
add dword [esp + 0x8c], ebx
jmp case.0x45c235.5
test dl, dl
jne case.0x45c235.5
mov dword [esp + 0x8c], 0x1e
jmp case.0x45c235.5
fstp st(0)
mov eax, SysReAllocString
mov byte [esp + 0x2f], 0
cmp dword [esp + 0x8c], eax
je 0x45c2d8
cmp dword [esp + 0x88], eax
jne case.0x45c5a1.4
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x28], 0
mov ebx, 0x400
cmp eax, 0xb
ja case.0x45c2fa.2
movzx edx, byte [eax + 0x45e25c]
jmp dword [edx*4 + 0x45e250]
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je case.0x45c2fa.2
test edi, edi
jne 0x45c347
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
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 0x45c37a
push 2
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x28], eax
mov ebx, 0x2c40
test edi, edi
jne 0x45c3b4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [esi + 0x50]
imul edx, edx, 0x94
mov edi, eax
mov eax, dword [0x4c3f64]
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 0x45c3d1
or ebx, 0x40
test byte [esp + 0x10], 0x80
je 0x45c403
or ebx, 0x800
jmp 0x45c403
cmp al, 5
je 0x45c3d9
cmp al, 6
jne 0x45c403
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 0x45c414
or ebx, 0x10
xor ecx, ecx
mov dword [esp + 0x1f8], ecx
mov dword [esp + 0x1fc], ecx
cmp eax, 0x80000000
jne 0x45c434
mov dword [esp + 0x200], ecx
jmp 0x45c43f
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 0x45c46c
mov eax, 0x4b7360
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 0x45c4aa
cmp eax, ecx
jle 0x45c508
cmp byte [esp + 0xa54], 0xc
je 0x45c508
mov cl, byte [esp + 0xa54]
mov dword [esp + 0x8c], eax
cmp cl, 0xc
jne 0x45c4e2
add eax, 8
test dword [esp + 0x10], 0x100000
mov dword [esp + 0x8c], eax
je 0x45c508
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add dword [esp + 0x8c], eax
jmp 0x45c508
cmp cl, 4
jne 0x45c508
mov edx, dword [esi + 0x50]
mov ecx, dword [0x4c3f64]
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 0x45c51a
cmp ebx, eax
jle case.0x45c2fa.2
add ebx, dword [esp + 0x28]
cmp byte [esp + 0xa54], 4
mov byte [esp + 0x2f], 1
mov dword [esp + 0x88], ebx
jne case.0x45c2fa.2
push 0x2d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [esi + 0x50]
mov ecx, dword [0x4c3f64]
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.0x45c5a1.4
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
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.0x45c5a1.4
movzx edx, byte [edx + 0x45e288]
jmp dword [edx*4 + 0x45e268]
mov dword [esp + 0x88], eax
jmp case.0x45c5a1.4
add eax, eax
mov dword [esp + 0x88], eax
jmp case.0x45c5a1.4
test byte [esp + 0x10], 0x40
je 0x45c5cc
mov dword [esp + 0x88], eax
jmp case.0x45c5a1.4
add ecx, ecx
mov dword [esp + 0x88], ecx
jmp case.0x45c5a1.4
mov ecx, dword [esp + 0x10]
test cl, 2
je case.0x45c5a1.7
mov eax, dword [esp + 0xac]
push ecx
call fcn.00464a60
mov dword [esp + 0x88], eax
jmp case.0x45c5a1.4
test byte [esp + 0x10], 4
je case.0x45c5a1.7
lea edx, [ecx + ecx]
jmp 0x45c613
mov ecx, dword [esi + 0x78]
lea edx, [eax + ecx*2]
jmp 0x45c613
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 0x45c726
test byte [esp + 0x10], 4
jne 0x45c726
fld1
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 0x41
jne 0x45c726
test edi, edi
jne 0x45c67d
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
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 0x45c6b9
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
jle 0x45c71d
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 [0x4b8928]
fstp dword [esp + 0x90]
fld dword [0x4b89c8]
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x45c726
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 0x45c726
and eax, 0x201040
or dword [esp + 0x10], eax
jmp 0x45c726
fld1
fstp dword [esp + 0x90]
cmp byte [esp + 0x1f1], 0
mov eax, dword [esi + 4]
mov ebx, dword [esi + 0x10]
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 0x45c764
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
mov byte [esp + 0x17], 1
test eax, eax
je 0x45c769
mov byte [esp + 0x17], 0
cmp byte [ebp + 6], 0xff
mov byte [esp + 0x2d], 0
jae 0x45c7ba
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x45c7b2
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x45c7b2
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 0x45c7b2
mov dl, byte [esp + 0x17]
mov byte [esp + 0x2d], dl
jmp 0x45c7ba
and dword [esp + 0x10], 0xefffffff
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_MapWindowPoints]
dec eax
cmp eax, 0x15
ja case.0x45c7ce.20
jmp dword [eax*4 + 0x45e29c]
mov eax, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
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.0x45c7ce.20
mov ecx, dword [esp + 0x88]
cmp ecx, 0x80000000
jne 0x45c83f
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45c856
xor eax, eax
mov dword [esp + 0x8c], eax
mov edx, dword [0x4c1ea0]
push 0
push edx
mov edx, dword [esi + 4]
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.0x45c7ce.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.00470750
add esp, 0x18
mov dword [ebp + 0x10], eax
test eax, eax
je case.0x45c7ce.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 0x45c929
and byte [ebp + 5], 0x7f
mov byte [esp + 0x23], 1
jmp case.0x45c7ce.20
or byte [ebp + 5], 0x80
mov byte [esp + 0x23], 1
jmp case.0x45c7ce.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
jmp case.0x45c7ce.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
mov ebx, dword [esp + 0x10]
test bl, 1
je case.0x45c7ce.20
mov eax, dword [esi + 0x1c]
cmp eax, dword [esi + 0x10]
jae 0x45ca2b
mov edx, dword [esi + 0x18]
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 + 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
and eax, 0xfffe
push eax
mov eax, dword [esi + 0x1c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push 0xf4
push eax
call edi
jmp 0x45ca31
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push 0
mov dword [esi + 0x1c], 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.0x45c7ce.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4b7364
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
mov ecx, dword [esp + 0xcc]
test ecx, ecx
je case.0x45c7ce.20
push 0
push ecx
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c7ce.20
cmp dword [esp + 0xc4], 0
je 0x45caec
cmp byte [ebp + 4], 8
jne 0x45caec
and dword [esp + 0x10], 0xffffffbf
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.Combobox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
mov ecx, dword [0x4c3f64]
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 0x45cbe0
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 0x45cb99
mov ebx, 4
test cl, 2
je 0x45cb9e
mov ebx, 2
lea eax, [ebx + eax*2 + 8]
cmp dword [esp + 0x8c], eax
jge 0x45cbb4
mov dword [esp + 0x8c], eax
jmp 0x45cbe0
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45cbde
fimul dword [esp + 0x1c]
call fcn.004967e0
lea ecx, [eax + ebx + 8]
mov dword [esp + 0x8c], ecx
jmp 0x45cbe0
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.0x45c7ce.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.Listbox
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
mov ecx, dword [esp + 0x19c]
test ecx, ecx
je 0x45cc89
lea edx, [esp + 0xd4]
push edx
push ecx
push 0x192
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
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 0x45cce5
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add edi, eax
mov ecx, dword [esp + 0x8c]
cmp ecx, edi
jge 0x45cd01
mov ecx, edi
push 1
mov dword [esp + 0x90], ecx
push ecx
jmp 0x45cbea
fldz
fld dword [esp + 0x90]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x45cd4c
fimul dword [esp + 0x1c]
call fcn.004967e0
lea ecx, [eax + 8]
mov dword [esp + 0x8c], ecx
test ebx, ebx
je 0x45cd4e
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 0x45cbea
fstp st(0)
push 1
push ecx
jmp 0x45cbea
mov eax, dword [esp + 0x74]
cmp eax, 4
je 0x45cd6c
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 0x45cd7f
mov eax, 0xc8
mov edx, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
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 0x4a59a4
push str.SysListView32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
mov dword [ebp], ebx
test ebx, ebx
je case.0x45c7ce.20
push 0x3f8
call fcn.00488234
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x45cdf4
push ebx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45c7ce.20
push 0x3f8
mov dword [esi + 0x48], ebp
mov ecx, dword [ebp + 0x10]
push 0
push ecx
call fcn.00490d90
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 0x45ce2c
or byte [eax + 5], 0x80
cmp dword [esp + 0x74], 4
jne 0x45ce46
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 0x45ce60
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.00464bb0
cmp dword [esp + 0x8c], 0x80000000
jne case.0x45c7ce.20
mov edx, dword [esi + 0x50]
movzx ecx, byte [esp + 0x17]
imul edx, edx, 0x94
mov eax, dword [0x4c3f64]
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 0x45d00e
sub eax, 3
je 0x45cfe0
mov ebx, dword [esp + 0x30]
test ebx, ebx
jne 0x45cef9
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
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 0x45cfa4
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 0x45cf34
fadd dword [0x4b8960]
fld dword [esp + 0x90]
push 0xc
fsub qword [0x4b8928]
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.004967e0
mov ecx, dword [esp + 0x20c]
lea eax, [eax + ecx + 0x10]
jmp 0x45d04c
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20c]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jg 0x45cfbf
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fld dword [esp + 0x90]
fld st(0)
fmulp st(2)
fsub qword [0x4b8928]
faddp st(1)
call fcn.004967e0
add eax, 0xb
jmp 0x45d04c
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.004967e0
add eax, 7
jmp 0x45d04c
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.0x45c7ce.20
mov eax, dword [esp + 0x8c]
cmp eax, 0x80000000
jne 0x45d090
mov eax, 0xc8
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.SysTreeView32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
cmp dword [esp + 0xcc], 0
mov dword [esi + 0x4c], ebp
je 0x45d100
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.00464c60
mov eax, dword [esp + 0x78]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x45d127
mov ecx, dword [ebp]
push eax
push 0
push 0x1109
push ecx
call esi
cmp dword [esp + 0x8c], 0x80000000
jne 0x45dabb
mov edi, dword [esp + 0xa50]
mov eax, dword [edi + 0x50]
movzx edx, byte [esp + 0x17]
imul eax, eax, 0x94
mov ecx, dword [0x4c3f64]
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 0x45d1a2
mov edx, dword [edi + 0x50]
mov eax, dword [0x4c3f64]
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.004967e0
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.0x45c7ce.20
mov ecx, dword [esp + 0x10]
test cl, 4
jne 0x45d217
cmp dword [esp + 0xc4], 0
jge 0x45d206
and ecx, 0xffefff7f
jmp 0x45d213
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 0x45d23b
test cl, 4
je 0x45d23b
mov edi, eax
call fcn.0046fdf0
mov edi, eax
mov eax, dword [esp + 0xa5c]
jmp 0x45d23d
mov edi, eax
test edi, edi
je 0x45d243
mov eax, edi
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x45d2ff
test byte [esp + 0x10], 0x20
je 0x45d2b8
mov cx, word [esp + 0x1ec]
test cx, cx
je 0x45d2b8
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
movzx ecx, cx
push ecx
push 0xcc
push eax
call ebx
jmp 0x45d2be
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0xc4]
test eax, eax
jns 0x45d2d2
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 0x45d2ff
mov edx, dword [ebp]
lea ecx, [esp + 0xd4]
push ecx
push eax
push 0xcb
push edx
call ebx
test edi, edi
je case.0x45c7ce.20
cmp edi, dword [esp + 0xa5c]
je case.0x45c7ce.20
push edi
call fcn.004897ff
add esp, 4
jmp case.0x45c7ce.20
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
mov byte [esp + 0x18], 0
je 0x45d37f
mov edi, eax
push str.LongDate
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x45d358
mov ecx, dword [esp + 0x10]
and ecx, 0xfffffff6
or ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x45d37f
push str.Time
push edi
call fcn.004881a9
add esp, 8
test eax, eax
jne 0x45d37a
mov edx, dword [esp + 0x10]
and edx, 0xfffffffb
or edx, 9
mov dword [esp + 0x10], edx
jmp 0x45d37f
mov byte [esp + 0x18], 1
mov eax, 2
cmp dword [esp + 0x94], eax
jne 0x45d391
or dword [esp + 0x10], eax
mov eax, dword [0x4c1ea0]
mov ecx, dword [esi + 4]
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 0x4a59a4
push str.SysDateTimePick32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je case.0x45c7ce.20
cmp byte [esp + 0x18], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x45d402
mov edx, dword [esp + 0xa5c]
push edx
push 0
push 0x1032
push eax
call edi
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x45d421
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 0x45d448
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.0x45c7ce.20
mov ecx, dword [ebp]
push eax
push 1
push 0x1006
push ecx
call edi
jmp case.0x45c7ce.20
cmp dword [esp + 0x1e0], 0
jne 0x45d49f
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x45d49f
lea eax, [esp + 0x1a0]
mov ecx, edx
call fcn.0046eb70
mov dword [esp + 0x1e0], eax
cmp eax, 3
jne 0x45d49f
or dword [esp + 0x10], 2
mov ecx, dword [esp + 0x8c]
cmp ecx, 0x80000000
jne 0x45d4b3
mov ecx, 0x64
mov eax, dword [esp + 0x88]
test eax, eax
jns 0x45d4c3
mov eax, 0x64
mov edx, dword [0x4c1ea0]
push 0
push edx
mov edx, dword [esi + 4]
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 0x4a59a4
push str.SysMonthCal32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
mov edi, dword [esp + 0x10]
and edi, 2
je 0x45d524
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 0x45d549
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 0x45d5bf
test edi, edi
je 0x45d5aa
cmp eax, 1
jne 0x45d595
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 0x45d5bd
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 0x45d5d7
mov edx, dword [ebp]
push eax
push 1
push 0x100a
push edx
call ebx
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
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 0x45d61c
cmp dword [esp + 0x8c], edi
jne case.0x45c7ce.20
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x1009
push eax
call ebx
test eax, eax
je 0x45dabb
cmp dword [esp + 0x88], 0
jge 0x45d68e
test byte [esp + 0x10], 0x10
je 0x45d64d
mov eax, dword [esp + 0x44]
jmp 0x45d666
mov ecx, dword [ebp]
push 0
push 0
push 0x1015
push ecx
call ebx
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jge 0x45d666
mov eax, ecx
mov ecx, dword [esp + 0x88]
cmp ecx, edi
jne 0x45d67a
mov dword [esp + 0x88], eax
jmp 0x45d68e
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 0x45d788
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 0x45d786
fld1
fucompp
fnstsw ax
test ah, 0x44
jnp 0x45d788
mov edi, dword [esp + 0x30]
test edi, edi
jne 0x45d709
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 0x50]
mov edx, dword [0x4c3f64]
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 0x45d738
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.004967e0
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 [0x4b8928]
fmulp st(2)
fsubrp st(1)
call fcn.004967e0
mov ecx, eax
mov dword [esp + 0x8c], ecx
jmp 0x45d788
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.0x45c7ce.20
mov edx, dword [0x4c1ea0]
mov eax, dword [esi + 4]
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 0x4a59a4
push str.msctls_hotkey32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45d82c
push 0
call fcn.00464720
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 0x45dabb
push 6
push eax
mov eax, dword [ebp]
push 0x403
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c7ce.20
test byte [esp + 0x10], 0x10
je 0x45da13
cmp dword [esi + 8], 0
jne 0x45d879
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x45da13
test byte [eax + 5], 0x80
je 0x45da13
and dword [esp + 0x10], 0xffffffef
mov byte [esp + 0x18], 1
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.msctls_updown32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
cmp byte [esp + 0x18], 0
mov ebx, dword [esp + 0x1c]
je 0x45d8f2
mov ecx, dword [ebx]
push 0
push ecx
push 0x469
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x10], 0
je 0x45da63
test byte [esp + 0x10], 0x10
jne 0x45d90e
cmp byte [esp + 0x18], 0
je 0x45da63
mov eax, dword [ebp]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
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 + 4]
push 2
lea eax, [esp + 0x54]
push eax
push ecx
push 0
call edi
cmp byte [esi + 0xbf], 0
je 0x45d9f0
test byte [esp + 0x10], 4
je 0x45d9c2
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 0x45da1d
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
sub edx, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
jmp 0x45da2c
mov byte [esp + 0x18], 0
jmp 0x45d883
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
cmp byte [esp + 0x1ee], 0
jne 0x45da80
cmp byte [ebx + 4], 9
jne 0x45da6d
mov byte [esp + 0x1ee], 1
test cl, 0x40
je 0x45da56
mov dword [esp + 0x9c], 0x7fff
jmp 0x45da80
mov dword [esp + 0x98], 0x7fff
jmp 0x45da80
cmp byte [esp + 0x1ee], 0
jne 0x45da80
mov byte [esp + 0x1ee], 1
mov dword [esp + 0x9c], 0x64
lea ecx, [esp + 0x60]
mov eax, ebp
call fcn.00464a10
mov esi, dword [esp + 0xa5c]
call fcn.0040c940
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 0x45dae5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45dada
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp], 0
jne 0x45ddf1
push 0x4a59a4
push str.Cant_create_control.
mov ecx, 0x4c4000
call fcn.0042f010
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa3c
ret 0x10
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.msctls_trackbar32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
lea eax, [esp + 0x60]
mov esi, ebp
call fcn.00464ad0
mov eax, dword [esp + 0xa5c]
cmp word [eax], 0
je 0x45dabb
mov esi, eax
call fcn.0040c940
test byte [ebp + 5], 0x80
je 0x45db94
push eax
mov edi, ebp
call fcn.00464a90
mov ecx, dword [ebp]
push eax
push 1
push 0x405
push ecx
jmp 0x45dab5
mov edx, dword [0x4c1ea0]
mov eax, dword [esi + 4]
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 0x4a59a4
push str.msctls_progress32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea eax, [esp + 0x68]
mov ecx, ebp
call fcn.00464cb0
mov edx, dword [esp + 0xa5c]
cmp word [edx], 0
je 0x45dc36
push 0
mov esi, edx
call fcn.0040c940
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.0x45c7ce.20
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 0x4a59a4
push str.SysTabControl32
push edx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
mov al, byte [esi + 0xb8]
mov byte [esi + 0xb9], al
inc al
push 0x4644b0
mov byte [esi + 0xba], 0
mov byte [esi + 0xb8], al
mov eax, dword [ebp]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x4c1ec4], eax
jmp case.0x45c7ce.20
cmp byte [0x4c56cd], 0
jne 0x45dd0e
push 0x4b6e40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45dd0e
push str.AtlAxWinInit
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45dcfe
call eax
test eax, eax
setne byte [0x4c56cd]
cmp byte [0x4c56cd], 0
jne 0x45dd0e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4c1ea0]
mov edx, dword [esi + 4]
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 str.AtlAxWin
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp], eax
test eax, eax
je 0x45dabb
push eax
call fcn.00455780
add esp, 4
test eax, eax
jne 0x45dd87
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebp], 0
jmp case.0x45c7ce.20
mov ecx, dword [ebp + 8]
push eax
test ecx, ecx
je 0x45dd9b
mov eax, ecx
call fcn.004127b0
jmp case.0x45c7ce.20
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
jmp case.0x45c7ce.20
mov ecx, dword [esi + 4]
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.0x45c7ce.20
mov ecx, dword [esp + 0xc0]
mov dword [esi + 8], eax
cmp ecx, 0xffffffff
je case.0x45c7ce.20
push ecx
push 0
push 0x2001
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x45c7ce.20
mov eax, dword [esp + 0x7c]
inc dword [esi + 0x10]
mov dl, byte [esp + 0x2f]
mov byte [esi + 0xbf], dl
test eax, eax
je 0x45de10
mov ecx, dword [ebp]
push ecx
push eax
call fcn.00471470
cmp byte [ebp + 4], 6
jne 0x45de34
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x45de2e
push eax
mov eax, dword [esi + 0x10]
dec eax
push ebp
mov ecx, esi
call fcn.00464960
mov byte [esi + 0x44], 1
jmp 0x45de38
mov byte [esi + 0x44], 0
test dword [esp + 0x64], 0x10000000
je 0x45de46
or byte [ebp + 5], 8
test dword [esp + 0x60], 0x8000000
je 0x45de54
or byte [ebp + 5], 0x10
cmp byte [esp + 0x2c], 0
jne 0x45de7f
cmp dword [ebp + 0x10], 0xff000000
je 0x45de73
mov al, byte [ebp + 4]
cmp al, 5
je 0x45de7f
cmp al, 6
je 0x45de7f
cmp al, 3
je 0x45de7f
cmp byte [ebp + 4], 3
jne 0x45de8b
test byte [ebp + 5], 0x40
je 0x45de8b
mov edx, dword [ebp]
push edx
call fcn.004711e0
add esp, 4
cmp byte [esp + 0x1b], 0
jne 0x45dec2
cmp byte [esp + 0x2e], 0
je 0x45dec2
mov ecx, dword [esi + 0x50]
movzx eax, byte [esp + 0x17]
imul ecx, ecx, 0x94
mov edx, dword [0x4c3f64]
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 0x45dedc
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 0x45def9
mov ecx, dword [esp + 0x94]
push ecx
push esi
mov edi, ebp
call fcn.00461050
cmp byte [ebp + 4], 0x13
jne 0x45dfab
fldz
fcomp dword [esp + 0x90]
fnstsw ax
test ah, 5
jp 0x45dfab
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 0x45e12b
test al, al
js 0x45e12b
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 0x45df77
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 0x45e01a
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 0x45e01a
test dword [esp + 0x10], 0x100000
je 0x45e01a
mov eax, dword [esp + 0xc8]
test eax, eax
jns 0x45e008
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 0x45e07b
cmp byte [esp + 0x2d], 0
je 0x45e062
mov edx, dword [ebp]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 4]
push 2
lea eax, [esp + 0x40]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
test byte [ebx + 5], 0x80
je 0x45e07b
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 + 8]
test eax, eax
je 0x45e091
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call edi
cmp byte [esp + 0xa54], 0x16
je 0x45e14a
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 0x45e0e5
mov dword [esi + 0x90], eax
cmp ecx, dword [esi + 0x94]
jle 0x45e0f3
mov dword [esi + 0x94], ecx
cmp byte [esp + 0x1f0], 0
jne 0x45e132
mov ebx, dword [esi + 0x10]
cmp ebx, 1
je 0x45e132
cmp ebx, 2
jne 0x45e113
mov ebx, dword [esi + 0x18]
cmp byte [ebx + 4], 0x16
je 0x45e132
cmp eax, dword [esi + 0xa0]
jle 0x45e121
mov dword [esi + 0xa0], eax
cmp ecx, dword [esi + 0xa4]
jle 0x45e14a
jmp 0x45e144
xor bl, bl
jmp 0x45df4c
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